Home
last modified time | relevance | path

Searched refs:from_dblock (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/md/
H A Ddm-cache-block-types.h50 static inline dm_block_t from_dblock(dm_dblock_t b) in from_dblock() function
H A Ddm-cache-target.c679 BUG_ON(from_dblock(b) >= from_dblock(cache->discard_nr_blocks)); in set_discard()
683 set_bit(from_dblock(b), cache->discard_bitset); in set_discard()
690 clear_bit(from_dblock(b), cache->discard_bitset); in clear_discard()
699 r = test_bit(from_dblock(b), cache->discard_bitset); in is_discarded()
710 r = test_bit(from_dblock(oblock_to_dblock(cache, b)), in is_discarded_oblock()
1840 b = to_dblock(from_dblock(b) + 1); in process_discard_bio()
2535 cache->discard_bitset = alloc_bitset(from_dblock(cache->discard_nr_blocks)); in cache_create()
2540 clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks)); in cache_create()
2755 for (i = 0; i < from_dblock(cach in write_discard_bitset()
[all...]