Lines Matching refs:m
37 void * (*start) (struct seq_file *m, loff_t *pos);
38 void (*stop) (struct seq_file *m, void *v);
39 void * (*next) (struct seq_file *m, void *v, loff_t *pos);
40 int (*show) (struct seq_file *m, void *v);
55 static inline bool seq_has_overflowed(struct seq_file *m) in seq_has_overflowed() argument
57 return m->count == m->size; in seq_has_overflowed()
68 static inline size_t seq_get_buf(struct seq_file *m, char **bufp) in seq_get_buf() argument
70 BUG_ON(m->count > m->size); in seq_get_buf()
71 if (m->count < m->size) in seq_get_buf()
72 *bufp = m->buf + m->count; in seq_get_buf()
76 return m->size - m->count; in seq_get_buf()
88 static inline void seq_commit(struct seq_file *m, int num) in seq_commit() argument
91 m->count = m->size; in seq_commit()
93 BUG_ON(m->count + num > m->size); in seq_commit()
94 m->count += num; in seq_commit()
106 static inline void seq_setwidth(struct seq_file *m, size_t size) in seq_setwidth() argument
108 m->pad_until = m->count + size; in seq_setwidth()
110 void seq_pad(struct seq_file *m, char c);
120 void seq_vprintf(struct seq_file *m, const char *fmt, va_list args);
122 void seq_printf(struct seq_file *m, const char *fmt, ...);
123 void seq_putc(struct seq_file *m, char c);
124 void seq_puts(struct seq_file *m, const char *s);
125 void seq_put_decimal_ull(struct seq_file *m, char delimiter,
127 void seq_put_decimal_ll(struct seq_file *m, char delimiter, long long num);
128 void seq_escape(struct seq_file *m, const char *s, const char *esc);
130 void seq_hex_dump(struct seq_file *m, const char *prefix_str, int prefix_type,
137 int seq_path_root(struct seq_file *m, const struct path *path,
163 static inline void seq_show_option(struct seq_file *m, const char *name, in seq_show_option() argument
166 seq_putc(m, ','); in seq_show_option()
167 seq_escape(m, name, ",= \t\n\\"); in seq_show_option()
169 seq_putc(m, '='); in seq_show_option()
170 seq_escape(m, value, ", \t\n\\"); in seq_show_option()
185 #define seq_show_option_n(m, name, value, length) { \ argument
189 seq_show_option(m, name, val_buf); \