Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Dbkey.h32 const struct bkey_format *,
206 void bch2_bkey_swab_key(const struct bkey_format *, struct bkey_packed *);
254 static inline unsigned bkey_format_key_bits(const struct bkey_format *format) in bkey_format_key_bits()
319 static inline unsigned bkeyp_key_u64s(const struct bkey_format *format, in bkeyp_key_u64s()
325 static inline bool bkeyp_u64s_valid(const struct bkey_format *f, in bkeyp_u64s_valid()
331 static inline unsigned bkeyp_key_bytes(const struct bkey_format *format, in bkeyp_key_bytes()
337 static inline unsigned bkeyp_val_u64s(const struct bkey_format *format, in bkeyp_val_u64s()
343 static inline size_t bkeyp_val_bytes(const struct bkey_format *format, in bkeyp_val_bytes()
349 static inline void set_bkeyp_val_u64s(const struct bkey_format *format, in set_bkeyp_val_u64s()
358 extern const struct bkey_format bch2_bkey_format_current;
[all …]
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 …]
Dbkey_methods.h122 int, struct bkey_format *, struct bkey_packed *);
127 struct bkey_format *f, in bch2_bkey_compat()
Dbkey_sort.c125 struct bkey_format *out_f, in bch2_sort_repack()
128 struct bkey_format *in_f = &src->format; in bch2_sort_repack()
Dbkey_sort.h49 struct bkey_format *, bool);
Dbkey_cmp.h93 const struct bkey_format *f = &b->format; in __bch2_bkey_cmp_packed_format_checked_inlined()
Dbkey_methods.c384 struct bkey_format *f, in __bch2_bkey_compat()
419 struct bkey_format tmp = *f, *in = f, *out = &tmp; in __bch2_bkey_compat()
Dbtree_io.h159 int write, struct bkey_format *f) in compat_bformat()
Dbtree_update_interior.h128 struct bkey_format);
Dbcachefs_format.h125 struct bkey_format { struct
323 ((struct bkey_format) { \
1420 struct bkey_format format;
Dbset.h242 struct bkey_format f) in btree_node_set_format()
Dbtree_update_interior.c174 static struct bkey_format bch2_btree_calc_format(struct btree *b) in bch2_btree_calc_format()
187 struct bkey_format *old_f, in btree_node_u64s_with_format()
188 struct bkey_format *new_f) in btree_node_u64s_with_format()
216 struct bkey_format *new_f) in bch2_btree_node_format_fits()
452 struct bkey_format format = bch2_btree_calc_format(b); in bch2_btree_node_alloc_replacement()
1946 struct bkey_format new_f; in __bch2_foreground_maybe_merge()
Dbtree_types.h84 struct bkey_format format;
Dmove.c965 static bool bformat_needs_redo(struct bkey_format *f) in bformat_needs_redo()
Dbset.c984 struct bkey_format *f = &b->format; in bch2_bset_insert()