Lines Matching refs:out

67 static void key_type_cookie_to_text(struct printbuf *out, struct bch_fs *c,  in key_type_cookie_to_text()  argument
72 prt_printf(out, "%llu", le64_to_cpu(ck.v->cookie)); in key_type_cookie_to_text()
91 static void key_type_inline_data_to_text(struct printbuf *out, struct bch_fs *c, in key_type_inline_data_to_text() argument
97 prt_printf(out, "datalen %u: %*phN", in key_type_inline_data_to_text()
271 void bch2_bpos_to_text(struct printbuf *out, struct bpos pos) in bch2_bpos_to_text() argument
274 prt_printf(out, "POS_MIN"); in bch2_bpos_to_text()
276 prt_printf(out, "POS_MAX"); in bch2_bpos_to_text()
278 prt_printf(out, "SPOS_MAX"); in bch2_bpos_to_text()
281 prt_printf(out, "U64_MAX"); in bch2_bpos_to_text()
283 prt_printf(out, "%llu", pos.inode); in bch2_bpos_to_text()
284 prt_printf(out, ":"); in bch2_bpos_to_text()
286 prt_printf(out, "U64_MAX"); in bch2_bpos_to_text()
288 prt_printf(out, "%llu", pos.offset); in bch2_bpos_to_text()
289 prt_printf(out, ":"); in bch2_bpos_to_text()
291 prt_printf(out, "U32_MAX"); in bch2_bpos_to_text()
293 prt_printf(out, "%u", pos.snapshot); in bch2_bpos_to_text()
297 void bch2_bkey_to_text(struct printbuf *out, const struct bkey *k) in bch2_bkey_to_text() argument
300 prt_printf(out, "u64s %u type ", k->u64s); in bch2_bkey_to_text()
303 prt_printf(out, "%s ", bch2_bkey_types[k->type]); in bch2_bkey_to_text()
305 prt_printf(out, "%u ", k->type); in bch2_bkey_to_text()
307 bch2_bpos_to_text(out, k->p); in bch2_bkey_to_text()
309 prt_printf(out, " len %u ver %llu", k->size, k->bversion.lo); in bch2_bkey_to_text()
311 prt_printf(out, "(null)"); in bch2_bkey_to_text()
315 void bch2_val_to_text(struct printbuf *out, struct bch_fs *c, in bch2_val_to_text() argument
321 ops->val_to_text(out, c, k); in bch2_val_to_text()
324 void bch2_bkey_val_to_text(struct printbuf *out, struct bch_fs *c, in bch2_bkey_val_to_text() argument
327 bch2_bkey_to_text(out, k.k); in bch2_bkey_val_to_text()
330 prt_printf(out, ": "); in bch2_bkey_val_to_text()
331 bch2_val_to_text(out, c, k); in bch2_bkey_val_to_text()
436 struct bkey_format tmp = *f, *in = f, *out = &tmp; in __bch2_bkey_compat() local
444 swap(in, out); in __bch2_bkey_compat()
448 BUG_ON(!bch2_bkey_pack_key(k, &uk, out)); in __bch2_bkey_compat()