Lines Matching refs:printbuf

13 static inline unsigned __printbuf_linelen(struct printbuf *buf, unsigned pos)  in __printbuf_linelen()
18 static inline unsigned printbuf_linelen(struct printbuf *buf) in printbuf_linelen()
26 static inline unsigned cur_tabstop(struct printbuf *buf) in cur_tabstop()
33 int bch2_printbuf_make_room(struct printbuf *out, unsigned extra) in bch2_printbuf_make_room()
72 static void printbuf_advance_pos(struct printbuf *out, unsigned len) in printbuf_advance_pos()
77 static void printbuf_insert_spaces(struct printbuf *out, unsigned pos, unsigned nr) in printbuf_insert_spaces()
95 static void __printbuf_do_indent(struct printbuf *out, unsigned pos) in __printbuf_do_indent()
152 static inline void printbuf_do_indent(struct printbuf *out, unsigned pos) in printbuf_do_indent()
158 void bch2_prt_vprintf(struct printbuf *out, const char *fmt, va_list args) in bch2_prt_vprintf()
176 void bch2_prt_printf(struct printbuf *out, const char *fmt, ...) in bch2_prt_printf()
199 const char *bch2_printbuf_str(const struct printbuf *buf) in bch2_printbuf_str()
216 void bch2_printbuf_exit(struct printbuf *buf) in bch2_printbuf_exit()
224 void bch2_printbuf_tabstops_reset(struct printbuf *buf) in bch2_printbuf_tabstops_reset()
229 void bch2_printbuf_tabstop_pop(struct printbuf *buf) in bch2_printbuf_tabstop_pop()
245 int bch2_printbuf_tabstop_push(struct printbuf *buf, unsigned spaces) in bch2_printbuf_tabstop_push()
268 void bch2_printbuf_indent_add(struct printbuf *buf, unsigned spaces) in bch2_printbuf_indent_add()
288 void bch2_printbuf_indent_sub(struct printbuf *buf, unsigned spaces) in bch2_printbuf_indent_sub()
303 void bch2_prt_newline(struct printbuf *buf) in bch2_prt_newline()
319 void bch2_printbuf_strip_trailing_newline(struct printbuf *out) in bch2_printbuf_strip_trailing_newline()
333 static void __prt_tab(struct printbuf *out) in __prt_tab()
349 void bch2_prt_tab(struct printbuf *out) in bch2_prt_tab()
357 static void __prt_tab_rjust(struct printbuf *buf) in __prt_tab_rjust()
376 void bch2_prt_tab_rjust(struct printbuf *buf) in bch2_prt_tab_rjust()
396 void bch2_prt_bytes_indented(struct printbuf *out, const char *str, unsigned count) in bch2_prt_bytes_indented()
410 void bch2_prt_human_readable_u64(struct printbuf *out, u64 v) in bch2_prt_human_readable_u64()
426 void bch2_prt_human_readable_s64(struct printbuf *out, s64 v) in bch2_prt_human_readable_s64()
441 void bch2_prt_units_u64(struct printbuf *out, u64 v) in bch2_prt_units_u64()
457 void bch2_prt_units_s64(struct printbuf *out, s64 v) in bch2_prt_units_s64()
464 void bch2_prt_string_option(struct printbuf *out, in bch2_prt_string_option()
472 void bch2_prt_bitflags(struct printbuf *out, in bch2_prt_bitflags()
490 void bch2_prt_bitflags_vector(struct printbuf *out, in bch2_prt_bitflags_vector()