Home
last modified time | relevance | path

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

/drivers/md/bcache/
Djournal.c99 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()
Ddebug.c27 i = (void *) i + set_blocks(i, block_bytes(b->c)) * \
Dbset.h256 #define set_blocks(i, block_bytes) \ macro
Dbtree.c223 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()