Lines Matching refs:bkey_format
10 const struct bkey_format bch2_bkey_format_current = BKEY_FORMAT_CURRENT;
13 const struct bkey_format *f, in bch2_bkey_packed_to_binary_text()
54 const struct bkey_format *format) in bch2_bkey_pack_verify()
101 const struct bkey_format *format) {} in bch2_bkey_pack_verify()
105 const struct bkey_format *format;
112 static struct pack_state pack_state_init(const struct bkey_format *format, in pack_state_init()
136 const struct bkey_format *format;
143 static struct unpack_state unpack_state_init(const struct bkey_format *format, in unpack_state_init()
225 static bool bch2_bkey_transform_key(const struct bkey_format *out_f, in bch2_bkey_transform_key()
227 const struct bkey_format *in_f, in bch2_bkey_transform_key()
252 bool bch2_bkey_transform(const struct bkey_format *out_f, in bch2_bkey_transform()
254 const struct bkey_format *in_f, in bch2_bkey_transform()
266 struct bkey __bch2_bkey_unpack_key(const struct bkey_format *format, in __bch2_bkey_unpack_key()
291 struct bpos __bkey_unpack_pos(const struct bkey_format *format, in __bkey_unpack_pos()
318 const struct bkey_format *format) in bch2_bkey_pack_key()
367 const struct bkey_format *format) in bch2_bkey_pack()
406 const struct bkey_format *f = &b->format; in bkey_packed_successor()
441 static bool bkey_format_has_too_big_fields(const struct bkey_format *f) in bkey_format_has_too_big_fields()
472 const struct bkey_format *f = &b->format; in bch2_bkey_pack_pos_lossy()
574 static void set_format_field(struct bkey_format *f, enum bch_bkey_fields i, in set_format_field()
588 struct bkey_format bch2_bkey_format_done(struct bkey_format_state *s) in bch2_bkey_format_done()
591 struct bkey_format ret = { in bch2_bkey_format_done()
642 struct bkey_format *f, in bch2_bkey_format_invalid()
684 void bch2_bkey_format_to_text(struct printbuf *out, const struct bkey_format *f) in bch2_bkey_format_to_text()
790 static u8 *compile_bkey_field(const struct bkey_format *format, u8 *out, in compile_bkey_field()
974 int bch2_compile_bkey_format(const struct bkey_format *format, void *_out) in bch2_compile_bkey_format()
1063 void bch2_bkey_swab_key(const struct bkey_format *_f, struct bkey_packed *k) in bch2_bkey_swab_key()
1065 const struct bkey_format *f = bkey_packed(k) ? _f : &bch2_bkey_format_current; in bch2_bkey_swab_key()
1082 struct bkey_format test_format = { in bch2_bkey_pack_test()