Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/md/
Ddm-cache-metadata.c82 __le32 cache_blocks; member
118 dm_cblock_t cache_blocks; member
338 disk_super->cache_blocks = cpu_to_le32(0); in __write_initial_superblock()
536 cmd->cache_blocks = to_cblock(le32_to_cpu(disk_super->cache_blocks)); in read_superblock_fields()
633 disk_super->cache_blocks = cpu_to_le32(from_cblock(cmd->cache_blocks)); in __commit_transaction()
693 cmd->cache_blocks = 0; in metadata_open()
860 if (from_cblock(new_cache_size) < from_cblock(cmd->cache_blocks)) { in dm_cache_resize()
861 r = blocks_are_unmapped_or_clean(cmd, new_cache_size, cmd->cache_blocks, &clean); in dm_cache_resize()
875 r = dm_array_resize(&cmd->info, cmd->root, from_cblock(cmd->cache_blocks), in dm_cache_resize()
879 cmd->cache_blocks = new_cache_size; in dm_cache_resize()
[all …]