XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Functions | Variables
seq_buf.h File Reference
#include <linux/bug.h>
#include <linux/minmax.h>
#include <linux/path.h>
#include <linux/seq_file.h>
#include <linux/types.h>
Include dependency graph for seq_buf.h:

Go to the source code of this file.

Classes

struct  seq_buf
 

Macros

#define DECLARE_SEQ_BUF(NAME, SIZE)
 

Functions

 __printf (2, 3) int seq_buf_printf(struct seq_buf *s
 
const char __printf (2, 0) int seq_buf_vprintf(struct seq_buf *s
 
int seq_buf_print_seq (struct seq_file *m, struct seq_buf *s)
 
int seq_buf_to_user (struct seq_buf *s, char __user *ubuf, size_t start, int cnt)
 
int seq_buf_puts (struct seq_buf *s, const char *str)
 
int seq_buf_putc (struct seq_buf *s, unsigned char c)
 
int seq_buf_putmem (struct seq_buf *s, const void *mem, unsigned int len)
 
int seq_buf_putmem_hex (struct seq_buf *s, const void *mem, unsigned int len)
 
int seq_buf_path (struct seq_buf *s, const struct path *path, const char *esc)
 
int seq_buf_hex_dump (struct seq_buf *s, const char *prefix_str, int prefix_type, int rowsize, int groupsize, const void *buf, size_t len, bool ascii)
 
void seq_buf_do_printk (struct seq_buf *s, const char *lvl)
 

Variables

const char * fmt
 
const char const char va_list args
 

Macro Definition Documentation

◆ DECLARE_SEQ_BUF

#define DECLARE_SEQ_BUF (   NAME,
  SIZE 
)
Value:
struct seq_buf NAME = { \
.buffer = (char[SIZE]) { 0 }, \
.size = SIZE, \
}
Definition seq_buf.h:31
char * buffer
Definition seq_buf.h:32

Function Documentation

◆ __printf() [1/2]

const char __printf ( 2  ,
0   
)
extern

◆ __printf() [2/2]

__printf ( 2  ,
3   
)
extern

◆ seq_buf_do_printk()

void seq_buf_do_printk ( struct seq_buf *  s,
const char *  lvl 
)

◆ seq_buf_hex_dump()

int seq_buf_hex_dump ( struct seq_buf *  s,
const char *  prefix_str,
int  prefix_type,
int  rowsize,
int  groupsize,
const void *  buf,
size_t  len,
bool  ascii 
)
extern

◆ seq_buf_path()

int seq_buf_path ( struct seq_buf *  s,
const struct path *  path,
const char *  esc 
)
extern

◆ seq_buf_print_seq()

int seq_buf_print_seq ( struct seq_file *  m,
struct seq_buf *  s 
)
extern

◆ seq_buf_putc()

int seq_buf_putc ( struct seq_buf *  s,
unsigned char  c 
)
extern

◆ seq_buf_putmem()

int seq_buf_putmem ( struct seq_buf *  s,
const void *  mem,
unsigned int  len 
)
extern

◆ seq_buf_putmem_hex()

int seq_buf_putmem_hex ( struct seq_buf *  s,
const void *  mem,
unsigned int  len 
)
extern

◆ seq_buf_puts()

int seq_buf_puts ( struct seq_buf *  s,
const char *  str 
)
extern

◆ seq_buf_to_user()

int seq_buf_to_user ( struct seq_buf *  s,
char __user *  ubuf,
size_t  start,
int  cnt 
)
extern

Variable Documentation

◆ args

const char const char va_list args

◆ fmt

const char const char* fmt