Searched refs:from_dblock (Results 1 – 2 of 2) sorted by relevance
50 static inline dm_block_t from_dblock(dm_dblock_t b) in from_dblock() function
678 BUG_ON(from_dblock(b) >= from_dblock(cache->discard_nr_blocks)); in set_discard()682 set_bit(from_dblock(b), cache->discard_bitset); in set_discard()689 clear_bit(from_dblock(b), cache->discard_bitset); in clear_discard()698 r = test_bit(from_dblock(b), cache->discard_bitset); in is_discarded()709 r = test_bit(from_dblock(oblock_to_dblock(cache, b)), in is_discarded_oblock()1839 b = to_dblock(from_dblock(b) + 1); in process_discard_bio()2529 cache->discard_bitset = alloc_bitset(from_dblock(cache->discard_nr_blocks)); in cache_create()2534 clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks)); in cache_create()2748 for (i = 0; i < from_dblock(cache->discard_nr_blocks); i++) { in write_discard_bitset()2915 if (e > from_dblock(li->cache->discard_nr_blocks)) in set_discard_range()[all …]