Searched refs:discard_nr_blocks (Results 1 – 1 of 1) sorted by relevance
358 dm_dblock_t discard_nr_blocks; member675 BUG_ON(from_dblock(b) >= from_dblock(cache->discard_nr_blocks)); in set_discard()2504 cache->discard_nr_blocks = to_dblock(dm_sector_div_up(cache->origin_sectors, in cache_create()2506 cache->discard_bitset = alloc_bitset(from_dblock(cache->discard_nr_blocks)); in cache_create()2511 clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks)); in cache_create()2708 cache->discard_nr_blocks); in write_discard_bitset()2715 for (i = 0; i < from_dblock(cache->discard_nr_blocks); i++) { in write_discard_bitset()2858 if (e > from_dblock(li->cache->discard_nr_blocks)) in set_discard_range()2859 e = from_dblock(li->cache->discard_nr_blocks); in set_discard_range()2984 clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks)); in cache_preresume()