Lines Matching refs:from_dblock
742 BUG_ON(from_dblock(b) >= from_dblock(cache->discard_nr_blocks));
746 set_bit(from_dblock(b), cache->discard_bitset);
753 clear_bit(from_dblock(b), cache->discard_bitset);
761 r = test_bit(from_dblock(b), cache->discard_bitset);
771 r = test_bit(from_dblock(oblock_to_dblock(cache, b)),
1850 b = to_dblock(from_dblock(b) + 1);
2554 cache->discard_bitset = alloc_bitset(from_dblock(cache->discard_nr_blocks));
2559 clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks));
2763 for (i = 0; i < from_dblock(cache->discard_nr_blocks); i++) {
2911 if (e > from_dblock(li->cache->discard_nr_blocks))
2912 e = from_dblock(li->cache->discard_nr_blocks);
2926 if (from_dblock(dblock) == li->discard_end)
2937 li->discard_begin = from_dblock(dblock);
3042 clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks));