Searched refs:set_blocks (Results 1 – 4 of 4) sorted by relevance
/drivers/md/bcache/ |
D | journal.c | 99 blocks = set_blocks(j, block_bytes(ca->set)); in journal_read_bucket() 606 unsigned i, sectors = set_blocks(w->data, block_bytes(c)) * in journal_write_unlocked() 625 c->journal.blocks_free -= set_blocks(w->data, block_bytes(c)); in journal_write_unlocked()
|
D | debug.c | 27 i = (void *) i + set_blocks(i, block_bytes(b->c)) * \
|
D | bset.h | 256 #define set_blocks(i, block_bytes) \ macro
|
D | btree.c | 223 if (b->written + set_blocks(i, block_bytes(b->c)) > in bch_btree_node_read_done() 249 b->written += set_blocks(i, block_bytes(b->c)); in bch_btree_node_read_done() 471 atomic_long_add(set_blocks(i, block_bytes(b->c)) * b->c->sb.block_size, in __bch_btree_node_write() 474 b->written += set_blocks(i, block_bytes(b->c)); in __bch_btree_node_write() 2000 split = set_blocks(btree_bset_first(n1), in btree_split()
|