Searched refs:set_blocks (Results 1 – 4 of 4) sorted by relevance
/drivers/md/bcache/ |
D | journal.c | 101 blocks = set_blocks(j, block_bytes(ca->set)); in journal_read_bucket() 691 unsigned int i, sectors = set_blocks(w->data, block_bytes(c)) * in journal_write_unlocked() 711 c->journal.blocks_free -= set_blocks(w->data, block_bytes(c)); in journal_write_unlocked()
|
D | debug.c | 28 i = (void *) i + set_blocks(i, block_bytes(b->c)) * \
|
D | btree.c | 234 if (b->written + set_blocks(i, block_bytes(b->c)) > in bch_btree_node_read_done() 260 b->written += set_blocks(i, block_bytes(b->c)); in bch_btree_node_read_done() 484 atomic_long_add(set_blocks(i, block_bytes(b->c)) * b->c->sb.block_size, in __bch_btree_node_write() 487 b->written += set_blocks(i, block_bytes(b->c)); in __bch_btree_node_write() 2101 split = set_blocks(btree_bset_first(n1), in btree_split()
|
D | bset.h | 266 #define set_blocks(i, block_bytes) \ macro
|