Lines Matching refs:from_dblock
674 BUG_ON(from_dblock(b) >= from_dblock(cache->discard_nr_blocks));
678 set_bit(from_dblock(b), cache->discard_bitset);
685 clear_bit(from_dblock(b), cache->discard_bitset);
694 r = test_bit(from_dblock(b), cache->discard_bitset);
705 r = test_bit(from_dblock(oblock_to_dblock(cache, b)),
1794 b = to_dblock(from_dblock(b) + 1);
2499 cache->discard_bitset = alloc_bitset(from_dblock(cache->discard_nr_blocks));
2504 clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks));
2708 for (i = 0; i < from_dblock(cache->discard_nr_blocks); i++) {
2851 if (e > from_dblock(li->cache->discard_nr_blocks))
2852 e = from_dblock(li->cache->discard_nr_blocks);
2866 if (from_dblock(dblock) == li->discard_end)
2877 li->discard_begin = from_dblock(dblock);
2982 clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks));