Home
last modified time | relevance | path

Searched refs:btree_keys (Results 1 – 4 of 4) sorted by relevance

/drivers/md/bcache/
Dbset.h150 struct btree_keys;
194 bool (*insert_fixup)(struct btree_keys *b,
198 bool (*key_invalid)(struct btree_keys *bk,
200 bool (*key_bad)(struct btree_keys *bk,
202 bool (*key_merge)(struct btree_keys *bk,
207 void (*key_dump)(struct btree_keys *keys,
217 struct btree_keys { struct
234 static inline struct bset_tree *bset_tree_last(struct btree_keys *b) in bset_tree_last() argument
239 static inline bool bset_written(struct btree_keys *b, struct bset_tree *t) in bset_written()
244 static inline bool bkey_written(struct btree_keys *b, struct bkey *k) in bkey_written()
[all …]
Dbset.c21 void bch_dump_bset(struct btree_keys *b, struct bset *i, unsigned int set) in bch_dump_bset()
43 void bch_dump_bucket(struct btree_keys *b) in bch_dump_bucket()
54 int __bch_count_data(struct btree_keys *b) in __bch_count_data()
66 void __bch_check_keys(struct btree_keys *b, const char *fmt, ...) in __bch_check_keys()
268 static inline size_t btree_keys_bytes(struct btree_keys *b) in btree_keys_bytes()
273 static inline size_t btree_keys_cachelines(struct btree_keys *b) in btree_keys_cachelines()
279 static inline size_t bset_tree_bytes(struct btree_keys *b) in bset_tree_bytes()
285 static inline size_t bset_prev_bytes(struct btree_keys *b) in bset_prev_bytes()
292 void bch_btree_keys_free(struct btree_keys *b) in bch_btree_keys_free()
315 int bch_btree_keys_alloc(struct btree_keys *b, in bch_btree_keys_alloc()
[all …]
Dextents.c126 static void bch_bkey_dump(struct btree_keys *keys, const struct bkey *k) in bch_bkey_dump()
166 static bool bch_btree_ptr_invalid(struct btree_keys *bk, const struct bkey *k) in bch_btree_ptr_invalid()
205 static bool bch_btree_ptr_bad(struct btree_keys *bk, const struct bkey *k) in bch_btree_ptr_bad()
227 static bool bch_btree_ptr_insert_fixup(struct btree_keys *bk, in bch_btree_ptr_insert_fixup()
323 static bool bch_extent_insert_fixup(struct btree_keys *b, in bch_extent_insert_fixup()
500 static bool bch_extent_invalid(struct btree_keys *bk, const struct bkey *k) in bch_extent_invalid()
537 static bool bch_extent_bad(struct btree_keys *bk, const struct bkey *k) in bch_extent_bad()
581 static bool bch_extent_merge(struct btree_keys *bk, in bch_extent_merge()
Dbtree.h135 struct btree_keys keys;