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()587 cmd->discard_nr_blocks = to_dblock(le64_to_cpu(disk_super->discard_nr_blocks)); in read_superblock_fields()698 disk_super->discard_nr_blocks = cpu_to_le64(from_dblock(cmd->discard_nr_blocks)); in __commit_transaction()1098 from_dblock(cmd->discard_nr_blocks), in dm_cache_discard_bitset_resize()1103 cmd->discard_nr_blocks = new_nr_entries; in dm_cache_discard_bitset_resize()1156 if (from_dblock(cmd->discard_nr_blocks) == 0) in __load_discards()1166 from_dblock(cmd->discard_nr_blocks), &c); in __load_discards()[all …]
436 dm_dblock_t discard_nr_blocks; member761 BUG_ON(from_dblock(b) >= from_dblock(cache->discard_nr_blocks)); in set_discard()2591 cache->discard_nr_blocks = to_dblock(dm_sector_div_up(cache->origin_sectors, in cache_create()2593 cache->discard_bitset = alloc_bitset(from_dblock(cache->discard_nr_blocks)); in cache_create()2598 clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks)); in cache_create()2795 cache->discard_nr_blocks); in write_discard_bitset()2802 for (i = 0; i < from_dblock(cache->discard_nr_blocks); i++) { in write_discard_bitset()2950 if (e > from_dblock(li->cache->discard_nr_blocks)) in set_discard_range()2951 e = from_dblock(li->cache->discard_nr_blocks); in set_discard_range()3081 clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks)); in cache_preresume()