• Home
  • Raw
  • Download

Lines Matching refs:m

33 	void * (*start) (struct seq_file *m, loff_t *pos);
34 void (*stop) (struct seq_file *m, void *v);
35 void * (*next) (struct seq_file *m, void *v, loff_t *pos);
36 int (*show) (struct seq_file *m, void *v);
51 static inline bool seq_has_overflowed(struct seq_file *m) in seq_has_overflowed() argument
53 return m->count == m->size; in seq_has_overflowed()
64 static inline size_t seq_get_buf(struct seq_file *m, char **bufp) in seq_get_buf() argument
66 BUG_ON(m->count > m->size); in seq_get_buf()
67 if (m->count < m->size) in seq_get_buf()
68 *bufp = m->buf + m->count; in seq_get_buf()
72 return m->size - m->count; in seq_get_buf()
84 static inline void seq_commit(struct seq_file *m, int num) in seq_commit() argument
87 m->count = m->size; in seq_commit()
89 BUG_ON(m->count + num > m->size); in seq_commit()
90 m->count += num; in seq_commit()
102 static inline void seq_setwidth(struct seq_file *m, size_t size) in seq_setwidth() argument
104 m->pad_until = m->count + size; in seq_setwidth()
106 void seq_pad(struct seq_file *m, char c);
116 void seq_vprintf(struct seq_file *m, const char *fmt, va_list args);
118 void seq_printf(struct seq_file *m, const char *fmt, ...);
119 void seq_putc(struct seq_file *m, char c);
120 void seq_puts(struct seq_file *m, const char *s);
121 void seq_put_decimal_ull_width(struct seq_file *m, const char *delimiter,
123 void seq_put_decimal_ull(struct seq_file *m, const char *delimiter,
125 void seq_put_decimal_ll(struct seq_file *m, const char *delimiter, long long num);
126 void seq_put_hex_ll(struct seq_file *m, const char *delimiter,
129 void seq_escape(struct seq_file *m, const char *s, const char *esc);
130 void seq_escape_mem_ascii(struct seq_file *m, const char *src, size_t isz);
132 void seq_hex_dump(struct seq_file *m, const char *prefix_str, int prefix_type,
139 int seq_path_root(struct seq_file *m, const struct path *path,
179 static inline void seq_show_option(struct seq_file *m, const char *name, in seq_show_option() argument
182 seq_putc(m, ','); in seq_show_option()
183 seq_escape(m, name, ",= \t\n\\"); in seq_show_option()
185 seq_putc(m, '='); in seq_show_option()
186 seq_escape(m, value, ", \t\n\\"); in seq_show_option()
201 #define seq_show_option_n(m, name, value, length) { \ argument
205 seq_show_option(m, name, val_buf); \