Home
last modified time | relevance | path

Searched refs:btree_node_type (Results 1 – 5 of 5) sorted by relevance

/linux/fs/bcachefs/
H A Dbkey_methods.h11 enum btree_node_type;
52 int __bch2_bkey_validate(struct bch_fs *, struct bkey_s_c, enum btree_node_type,
54 int bch2_bkey_validate(struct bch_fs *, struct bkey_s_c, enum btree_node_type,
119 void bch2_bkey_renumber(enum btree_node_type, struct bkey_packed *, int);
H A Dbkey_methods.c158 const char *bch2_btree_node_type_str(enum btree_node_type type) in bch2_btree_node_type_str()
164 enum btree_node_type type, in __bch2_bkey_validate()
231 enum btree_node_type type, in bch2_bkey_validate()
347 u8 btree_node_type; member
365 void bch2_bkey_renumber(enum btree_node_type btree_node_type, in bch2_bkey_renumber() argument
374 if (btree_node_type == i->btree_node_type && in bch2_bkey_renumber()
H A Dbtree_types.h734 enum btree_node_type { enum
743 static inline enum btree_node_type __btree_node_type(unsigned level, enum btree_id id) in __btree_node_type()
749 static inline enum btree_node_type btree_node_type(struct btree *b) in btree_node_type() function
754 const char *bch2_btree_node_type_str(enum btree_node_type);
775 static inline bool btree_node_type_has_trans_triggers(enum btree_node_type type) in btree_node_type_has_trans_triggers()
780 static inline bool btree_node_type_has_atomic_triggers(enum btree_node_type type) in btree_node_type_has_atomic_triggers()
785 static inline bool btree_node_type_has_triggers(enum btree_node_type type) in btree_node_type_has_triggers()
790 static inline bool btree_node_type_is_extents(enum btree_node_type type) in btree_node_type_is_extents()
H A Dbtree_io.c843 return __bch2_bkey_validate(c, k, btree_node_type(b), 0) ?: in bset_key_validate()
862 return !__bch2_bkey_validate(c, u.s_c, btree_node_type(b), BCH_VALIDATE_silent); in bkey_packed_valid()
1079 btree_err_on(btree_node_type_is_extents(btree_node_type(b)) && in bch2_btree_node_read_done()
H A Dtrace.h470 __field(enum btree_node_type, type)
476 __entry->type = btree_node_type(b);