Home
last modified time | relevance | path

Searched refs:btree_bset_first (Results 1 – 2 of 2) sorted by relevance

/drivers/md/bcache/
Dbtree.c158 return ((void *) btree_bset_first(b)) + b->written * block_bytes(b->c); in write_block()
200 struct bset *i = btree_bset_first(b); in bch_btree_node_read_done()
452 BUG_ON(btree_bset_first(b)->seq != i->seq); in __bch_btree_node_write()
1341 struct bset *n1 = btree_bset_first(new_nodes[i]); in btree_gc_coalesce()
1342 struct bset *n2 = btree_bset_first(new_nodes[i - 1]); in btree_gc_coalesce()
1412 BUG_ON(btree_bset_first(new_nodes[0])->keys); in btree_gc_coalesce()
1982 split = set_blocks(btree_bset_first(n1), in btree_split()
1988 trace_bcache_btree_node_split(b, btree_bset_first(n1)->keys); in btree_split()
2010 while (keys < (btree_bset_first(n1)->keys * 3) / 5) in btree_split()
2011 keys += bkey_u64s(bset_bkey_idx(btree_bset_first(n1), in btree_split()
[all …]
Dbtree.h176 static inline struct bset *btree_bset_first(struct btree *b) in btree_bset_first() function