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);
118 int seq_putc(struct seq_file *m, char c);
119 int seq_puts(struct seq_file *m, const char *s);
127 int seq_path_root(struct seq_file *m, const struct path *path,
136 int seq_put_decimal_ull(struct seq_file *m, char delimiter,
138 int seq_put_decimal_ll(struct seq_file *m, char delimiter,
157 static inline void seq_show_option(struct seq_file *m, const char *name, in seq_show_option() argument
160 seq_putc(m, ','); in seq_show_option()
161 seq_escape(m, name, ",= \t\n\\"); in seq_show_option()
163 seq_putc(m, '='); in seq_show_option()
164 seq_escape(m, value, ", \t\n\\"); in seq_show_option()
179 #define seq_show_option_n(m, name, value, length) { \ argument
183 seq_show_option(m, name, val_buf); \