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()593 cmd->discard_nr_blocks = to_dblock(le64_to_cpu(disk_super->discard_nr_blocks)); in read_superblock_fields()704 disk_super->discard_nr_blocks = cpu_to_le64(from_dblock(cmd->discard_nr_blocks)); in __commit_transaction()1104 from_dblock(cmd->discard_nr_blocks), in dm_cache_discard_bitset_resize()1109 cmd->discard_nr_blocks = new_nr_entries; in dm_cache_discard_bitset_resize()1162 if (from_dblock(cmd->discard_nr_blocks) == 0) in __load_discards()1172 from_dblock(cmd->discard_nr_blocks), &c); in __load_discards()[all …]
427 dm_dblock_t discard_nr_blocks; member742 BUG_ON(from_dblock(b) >= from_dblock(cache->discard_nr_blocks)); in set_discard()2548 cache->discard_nr_blocks = to_dblock(dm_sector_div_up(cache->origin_sectors, in cache_create()2550 cache->discard_bitset = alloc_bitset(from_dblock(cache->discard_nr_blocks)); in cache_create()2555 clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks)); in cache_create()2752 cache->discard_nr_blocks); in write_discard_bitset()2759 for (i = 0; i < from_dblock(cache->discard_nr_blocks); i++) { in write_discard_bitset()2907 if (e > from_dblock(li->cache->discard_nr_blocks)) in set_discard_range()2908 e = from_dblock(li->cache->discard_nr_blocks); in set_discard_range()3038 clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks)); in cache_preresume()