Searched refs:set_blocks (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/md/bcache/ |
D | journal.c | 99 blocks = set_blocks(j, block_bytes(ca)); in journal_read_bucket() 754 unsigned int i, sectors = set_blocks(w->data, block_bytes(ca)) * in journal_write_unlocked() 774 c->journal.blocks_free -= set_blocks(w->data, block_bytes(ca)); in journal_write_unlocked()
|
D | debug.c | 28 i = (void *) i + set_blocks(i, block_bytes(b->c->cache)) * \
|
D | bset.h | 266 #define set_blocks(i, block_bytes) \ macro
|
D | btree.c | 178 if (b->written + set_blocks(i, block_bytes(b->c->cache)) > in bch_btree_node_read_done() 204 b->written += set_blocks(i, block_bytes(b->c->cache)); in bch_btree_node_read_done() 428 atomic_long_add(set_blocks(i, block_bytes(b->c->cache)) * b->c->cache->sb.block_size, in __bch_btree_node_write() 431 b->written += set_blocks(i, block_bytes(b->c->cache)); in __bch_btree_node_write() 2212 split = set_blocks(btree_bset_first(n1), in btree_split()
|