Home
last modified time | relevance | path

Searched refs:bset_tree (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/bcache/
Dbset.c294 struct bset_tree *t = b->set; in bch_btree_keys_free()
319 struct bset_tree *t = b->set; in bch_btree_keys_alloc()
437 static unsigned int to_inorder(unsigned int j, struct bset_tree *t) in to_inorder()
463 static unsigned int inorder_to_tree(unsigned int j, struct bset_tree *t) in inorder_to_tree()
525 static struct bkey *cacheline_to_bkey(struct bset_tree *t, in cacheline_to_bkey()
532 static unsigned int bkey_to_cacheline(struct bset_tree *t, struct bkey *k) in bkey_to_cacheline()
537 static unsigned int bkey_to_cacheline_offset(struct bset_tree *t, in bkey_to_cacheline_offset()
544 static struct bkey *tree_to_bkey(struct bset_tree *t, unsigned int j) in tree_to_bkey()
549 static struct bkey *tree_to_prev_bkey(struct bset_tree *t, unsigned int j) in tree_to_prev_bkey()
558 static struct bkey *table_to_bkey(struct bset_tree *t, unsigned int cacheline) in table_to_bkey()
[all …]
Dbset.h157 struct bset_tree { struct
231 struct bset_tree set[MAX_BSETS];
234 static inline struct bset_tree *bset_tree_last(struct btree_keys *b) in bset_tree_last()
239 static inline bool bset_written(struct btree_keys *b, struct bset_tree *t) in bset_written()
271 struct bset_tree *t = bset_tree_last(b); in bch_btree_keys_u64s_remaining()
340 struct bkey *__bch_bset_search(struct btree_keys *b, struct bset_tree *t,
347 struct bset_tree *t, in bch_bset_search()
Dbtree.c1278 struct bset_tree *t; in btree_gc_mark_node()