Home
last modified time | relevance | path

Searched refs:set_blocks (Results 1 – 4 of 4) sorted by relevance

/drivers/md/bcache/
Djournal.c101 blocks = set_blocks(j, block_bytes(ca)); in journal_read_bucket()
758 unsigned int i, sectors = set_blocks(w->data, block_bytes(ca)) * in journal_write_unlocked()
778 c->journal.blocks_free -= set_blocks(w->data, block_bytes(ca)); in journal_write_unlocked()
Ddebug.c28 i = (void *) i + set_blocks(i, block_bytes(b->c->cache)) * \
Dbtree.c178 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()
2232 split = set_blocks(btree_bset_first(n1), in btree_split()
Dbset.h266 #define set_blocks(i, block_bytes) \ macro