Home
last modified time | relevance | path

Searched refs:cache_blocks (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/md/
Ddm-cache-metadata.c84 __le32 cache_blocks; member
127 dm_cblock_t cache_blocks; member
377 disk_super->cache_blocks = cpu_to_le32(0); in __write_initial_superblock()
593 cmd->cache_blocks = to_cblock(le32_to_cpu(disk_super->cache_blocks)); in read_superblock_fields()
703 disk_super->cache_blocks = cpu_to_le32(from_cblock(cmd->cache_blocks)); in __commit_transaction()
766 cmd->cache_blocks = 0; in metadata_open()
937 if (from_cblock(cmd->cache_blocks) == 0) in blocks_are_clean_separate_dirty()
942 from_cblock(cmd->cache_blocks), &cmd->dirty_cursor); in blocks_are_clean_separate_dirty()
1055 if (from_cblock(new_cache_size) < from_cblock(cmd->cache_blocks)) { in dm_cache_resize()
1056 r = blocks_are_unmapped_or_clean(cmd, new_cache_size, cmd->cache_blocks, &clean); in dm_cache_resize()
[all …]