Searched refs:printbuf_remaining (Results 1 – 2 of 2) sorted by relevance
156 static inline unsigned printbuf_remaining(struct printbuf *out) in printbuf_remaining() function183 if (printbuf_remaining(out)) in __prt_char_reserved()203 unsigned can_print = min(n, printbuf_remaining(out)); in __prt_chars_reserved()220 unsigned can_print = min(n, printbuf_remaining(out)); in prt_bytes()
74 out->pos += min(len, printbuf_remaining(out)); in printbuf_advance_pos()168 } while (len > printbuf_remaining(out) && in bch2_prt_vprintf()185 } while (len > printbuf_remaining(out) && in bch2_prt_printf()