Home
last modified time | relevance | path

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

/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()
595 cmd->cache_blocks = to_cblock(le32_to_cpu(disk_super->cache_blocks)); in read_superblock_fields()
705 disk_super->cache_blocks = cpu_to_le32(from_cblock(cmd->cache_blocks)); in __commit_transaction()
768 cmd->cache_blocks = 0; in metadata_open()
939 if (from_cblock(cmd->cache_blocks) == 0) in blocks_are_clean_separate_dirty()
944 from_cblock(cmd->cache_blocks), &cmd->dirty_cursor); in blocks_are_clean_separate_dirty()
1057 if (from_cblock(new_cache_size) < from_cblock(cmd->cache_blocks)) { in dm_cache_resize()
1058 r = blocks_are_unmapped_or_clean(cmd, new_cache_size, cmd->cache_blocks, &clean); in dm_cache_resize()
[all …]