Home
last modified time | relevance | path

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

/drivers/md/bcache/
Dbset.c290 struct bset_tree *t = b->set; in bch_btree_keys_free()
314 struct bset_tree *t = b->set; in bch_btree_keys_alloc()
422 static unsigned to_inorder(unsigned j, struct bset_tree *t) in to_inorder()
442 static unsigned inorder_to_tree(unsigned j, struct bset_tree *t) in inorder_to_tree()
503 static struct bkey *cacheline_to_bkey(struct bset_tree *t, unsigned cacheline, in cacheline_to_bkey()
509 static unsigned bkey_to_cacheline(struct bset_tree *t, struct bkey *k) in bkey_to_cacheline()
514 static unsigned bkey_to_cacheline_offset(struct bset_tree *t, in bkey_to_cacheline_offset()
521 static struct bkey *tree_to_bkey(struct bset_tree *t, unsigned j) in tree_to_bkey()
526 static struct bkey *tree_to_prev_bkey(struct bset_tree *t, unsigned j) in tree_to_prev_bkey()
535 static struct bkey *table_to_bkey(struct bset_tree *t, unsigned cacheline) in table_to_bkey()
[all …]
Dbset.h156 struct bset_tree { struct
223 struct bset_tree set[MAX_BSETS];
226 static inline struct bset_tree *bset_tree_last(struct btree_keys *b) in bset_tree_last()
231 static inline bool bset_written(struct btree_keys *b, struct bset_tree *t) in bset_written()
261 struct bset_tree *t = bset_tree_last(b); in bch_btree_keys_u64s_remaining()
325 struct bkey *__bch_bset_search(struct btree_keys *, struct bset_tree *,
332 struct bset_tree *t, in bch_bset_search()
Dbtree.c1260 struct bset_tree *t; in btree_gc_mark_node()