Home
last modified time | relevance | path

Searched refs:bkey_format (Results 1 – 12 of 12) sorted by relevance

/linux/fs/bcachefs/
H A Dbkey.h25 const struct bkey_format *,
199 void bch2_bkey_swab_key(const struct bkey_format *, struct bkey_packed *);
247 static inline unsigned bkey_format_key_bits(const struct bkey_format *format) in bkey_format_key_bits()
312 static inline unsigned bkeyp_key_u64s(const struct bkey_format *format, in bkeyp_key_u64s()
318 static inline bool bkeyp_u64s_valid(const struct bkey_format *f, in bkeyp_u64s_valid()
324 static inline unsigned bkeyp_key_bytes(const struct bkey_format *format, in bkeyp_key_bytes()
330 static inline unsigned bkeyp_val_u64s(const struct bkey_format *format, in bkeyp_val_u64s()
336 static inline size_t bkeyp_val_bytes(const struct bkey_format *format, in bkeyp_val_bytes()
342 static inline void set_bkeyp_val_u64s(const struct bkey_format *format, in set_bkeyp_val_u64s()
351 extern const struct bkey_format bch2_bkey_format_current;
[all …]
H A Dbkey.c10 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()
[all …]
H A Dbkey_methods.h123 int, struct bkey_format *, struct bkey_packed *);
128 struct bkey_format *f, in bch2_bkey_compat()
H A Dbkey_cmp.h93 const struct bkey_format *f = &b->format; in __bch2_bkey_cmp_packed_format_checked_inlined()
H A Dbkey_methods.c385 struct bkey_format *f, in __bch2_bkey_compat()
420 struct bkey_format tmp = *f, *in = f, *out = &tmp; in __bch2_bkey_compat()
H A Dbtree_io.h161 int write, struct bkey_format *f) in compat_bformat()
H A Dbtree_update_interior.h128 struct bkey_format);
H A Dbcachefs_format.h125 struct bkey_format { struct
323 ((struct bkey_format) { \
1462 struct bkey_format format;
H A Dbset.h242 struct bkey_format f) in btree_node_set_format()
H A Dbtree_update_interior.c168 static struct bkey_format bch2_btree_calc_format(struct btree *b) in bch2_btree_calc_format()
181 struct bkey_format *old_f, in btree_node_u64s_with_format()
182 struct bkey_format *new_f) in btree_node_u64s_with_format()
210 struct bkey_format *new_f) in bch2_btree_node_format_fits()
435 struct bkey_format format = bch2_btree_calc_format(b); in bch2_btree_node_alloc_replacement()
1943 struct bkey_format new_f; in __bch2_foreground_maybe_merge()
H A Dbtree_types.h84 struct bkey_format format;
H A Dbset.c984 struct bkey_format *f = &b->format; in bch2_bset_insert()