Lines Matching defs:buf
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()
59 char *buf = krealloc(out->buf, new_size, !out->atomic ? GFP_KERNEL : GFP_NOWAIT); in bch2_printbuf_make_room() local
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()
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()