Searched refs:discard_nr_blocks (Results 1 – 2 of 2) sorted by relevance
80 __le64 discard_nr_blocks; member124 dm_dblock_t discard_nr_blocks; member374 disk_super->discard_nr_blocks = cpu_to_le64(from_dblock(cmd->discard_nr_blocks)); in __write_initial_superblock()420 cmd->discard_nr_blocks = 0; in __format_metadata()591 cmd->discard_nr_blocks = to_dblock(le64_to_cpu(disk_super->discard_nr_blocks)); in read_superblock_fields()702 disk_super->discard_nr_blocks = cpu_to_le64(from_dblock(cmd->discard_nr_blocks)); in __commit_transaction()1102 from_dblock(cmd->discard_nr_blocks), in dm_cache_discard_bitset_resize()1107 cmd->discard_nr_blocks = new_nr_entries; in dm_cache_discard_bitset_resize()1160 if (from_dblock(cmd->discard_nr_blocks) == 0) in __load_discards()1170 from_dblock(cmd->discard_nr_blocks), &c); in __load_discards()[all …]
357 dm_dblock_t discard_nr_blocks; member672 BUG_ON(from_dblock(b) >= from_dblock(cache->discard_nr_blocks)); in set_discard()2469 cache->discard_nr_blocks = to_dblock(dm_sector_div_up(cache->origin_sectors, in cache_create()2471 cache->discard_bitset = alloc_bitset(from_dblock(cache->discard_nr_blocks)); in cache_create()2476 clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks)); in cache_create()2673 cache->discard_nr_blocks); in write_discard_bitset()2680 for (i = 0; i < from_dblock(cache->discard_nr_blocks); i++) { in write_discard_bitset()2823 if (e > from_dblock(li->cache->discard_nr_blocks)) in set_discard_range()2824 e = from_dblock(li->cache->discard_nr_blocks); in set_discard_range()2954 clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks)); in cache_preresume()