Lines Matching refs:discard_nr_blocks
80 __le64 discard_nr_blocks; member
124 dm_dblock_t discard_nr_blocks; member
374 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()
1180 if (b >= (from_dblock(cmd->discard_nr_blocks) - 1)) in __load_discards()
1191 for (b = 0; b < from_dblock(cmd->discard_nr_blocks); b++) { in __load_discards()