Searched refs:btree_keys (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/drivers/md/bcache/ |
D | bset.h | 149 struct btree_keys; 192 bool (*insert_fixup)(struct btree_keys *, struct bkey *, 194 bool (*key_invalid)(struct btree_keys *, 196 bool (*key_bad)(struct btree_keys *, const struct bkey *); 197 bool (*key_merge)(struct btree_keys *, 200 void (*key_dump)(struct btree_keys *, const struct bkey *); 209 struct btree_keys { struct 226 static inline struct bset_tree *bset_tree_last(struct btree_keys *b) in bset_tree_last() argument 231 static inline bool bset_written(struct btree_keys *b, struct bset_tree *t) in bset_written() 236 static inline bool bkey_written(struct btree_keys *b, struct bkey *k) in bkey_written() [all …]
|
D | bset.c | 19 void bch_dump_bset(struct btree_keys *b, struct bset *i, unsigned set) in bch_dump_bset() 41 void bch_dump_bucket(struct btree_keys *b) in bch_dump_bucket() 52 int __bch_count_data(struct btree_keys *b) in __bch_count_data() 64 void __bch_check_keys(struct btree_keys *b, const char *fmt, ...) in __bch_check_keys() 264 static inline size_t btree_keys_bytes(struct btree_keys *b) in btree_keys_bytes() 269 static inline size_t btree_keys_cachelines(struct btree_keys *b) in btree_keys_cachelines() 275 static inline size_t bset_tree_bytes(struct btree_keys *b) in bset_tree_bytes() 281 static inline size_t bset_prev_bytes(struct btree_keys *b) in bset_prev_bytes() 288 void bch_btree_keys_free(struct btree_keys *b) in bch_btree_keys_free() 312 int bch_btree_keys_alloc(struct btree_keys *b, unsigned page_order, gfp_t gfp) in bch_btree_keys_alloc() [all …]
|
D | extents.c | 125 static void bch_bkey_dump(struct btree_keys *keys, const struct bkey *k) in bch_bkey_dump() 165 static bool bch_btree_ptr_invalid(struct btree_keys *bk, const struct bkey *k) in bch_btree_ptr_invalid() 203 static bool bch_btree_ptr_bad(struct btree_keys *bk, const struct bkey *k) in bch_btree_ptr_bad() 225 static bool bch_btree_ptr_insert_fixup(struct btree_keys *bk, in bch_btree_ptr_insert_fixup() 321 static bool bch_extent_insert_fixup(struct btree_keys *b, in bch_extent_insert_fixup() 497 static bool bch_extent_invalid(struct btree_keys *bk, const struct bkey *k) in bch_extent_invalid() 533 static bool bch_extent_bad(struct btree_keys *bk, const struct bkey *k) in bch_extent_bad() 578 static bool bch_extent_merge(struct btree_keys *bk, struct bkey *l, struct bkey *r) in bch_extent_merge()
|
D | btree.h | 136 struct btree_keys keys;
|