Lines Matching refs:seq_buf
21 struct seq_buf { struct
28 struct seq_buf NAME = { \ argument
33 static inline void seq_buf_clear(struct seq_buf *s) in seq_buf_clear()
41 seq_buf_init(struct seq_buf *s, char *buf, unsigned int size) in seq_buf_init()
53 seq_buf_has_overflowed(struct seq_buf *s) in seq_buf_has_overflowed()
59 seq_buf_set_overflow(struct seq_buf *s) in seq_buf_set_overflow()
68 seq_buf_buffer_left(struct seq_buf *s) in seq_buf_buffer_left()
77 static inline unsigned int seq_buf_used(struct seq_buf *s) in seq_buf_used()
98 static inline const char *seq_buf_str(struct seq_buf *s) in seq_buf_str()
119 static inline size_t seq_buf_get_buf(struct seq_buf *s, char **bufp) in seq_buf_get_buf()
141 static inline void seq_buf_commit(struct seq_buf *s, int num) in seq_buf_commit()
153 int seq_buf_printf(struct seq_buf *s, const char *fmt, ...);
155 int seq_buf_vprintf(struct seq_buf *s, const char *fmt, va_list args);
156 extern int seq_buf_print_seq(struct seq_file *m, struct seq_buf *s);
157 extern int seq_buf_to_user(struct seq_buf *s, char __user *ubuf,
159 extern int seq_buf_puts(struct seq_buf *s, const char *str);
160 extern int seq_buf_putc(struct seq_buf *s, unsigned char c);
161 extern int seq_buf_putmem(struct seq_buf *s, const void *mem, unsigned int len);
162 extern int seq_buf_putmem_hex(struct seq_buf *s, const void *mem,
164 extern int seq_buf_path(struct seq_buf *s, const struct path *path, const char *esc);
165 extern int seq_buf_hex_dump(struct seq_buf *s, const char *prefix_str,
171 seq_buf_bprintf(struct seq_buf *s, const char *fmt, const u32 *binary);
174 void seq_buf_do_printk(struct seq_buf *s, const char *lvl);