Home
last modified time | relevance | path

Searched refs:btree_blocks (Results 1 – 6 of 6) sorted by relevance

/linux/fs/bcachefs/
H A Dbtree_cache.h105 static inline unsigned btree_blocks(const struct bch_fs *c) in btree_blocks() function
H A Dsuper.c872 (btree_blocks(c) + 1) * 2 * in bch2_fs_alloc()
H A Dtrace.h985 __entry->blocks = btree_blocks(trans->c);
H A Dbtree_io.c1001 sort_iter_init(iter, b, (btree_blocks(c) + 1) * 2); in bch2_btree_node_read_done()
/linux/drivers/md/bcache/
H A Dbtree.c120 if (b->written < btree_blocks(b)) in bch_btree_init_next()
171 b->written < btree_blocks(b) && i->seq == b->keys.set[0].data->seq; in bch_btree_node_read_done()
179 btree_blocks(b)) in bch_btree_node_read_done()
222 if (b->written < btree_blocks(b)) in bch_btree_node_read_done()
412 BUG_ON(b->written >= btree_blocks(b)); in __bch_btree_node_write()
1438 btree_blocks(new_nodes[i])) in btree_gc_coalesce()
1447 btree_blocks(new_nodes[i])); in btree_gc_coalesce()
2275 block_bytes(n1->c->cache)) > (btree_blocks(b) * 4) / 5; in btree_split()
H A Dbcache.h762 #define btree_blocks(b) \ macro