Lines Matching refs:from_dblock
676 BUG_ON(from_dblock(b) >= from_dblock(cache->discard_nr_blocks));
680 set_bit(from_dblock(b), cache->discard_bitset);
687 clear_bit(from_dblock(b), cache->discard_bitset);
696 r = test_bit(from_dblock(b), cache->discard_bitset);
707 r = test_bit(from_dblock(oblock_to_dblock(cache, b)),
1796 b = to_dblock(from_dblock(b) + 1);
2503 cache->discard_bitset = alloc_bitset(from_dblock(cache->discard_nr_blocks));
2508 clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks));
2712 for (i = 0; i < from_dblock(cache->discard_nr_blocks); i++) {
2855 if (e > from_dblock(li->cache->discard_nr_blocks))
2856 e = from_dblock(li->cache->discard_nr_blocks);
2870 if (from_dblock(dblock) == li->discard_end)
2881 li->discard_begin = from_dblock(dblock);
2986 clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks));