Lines Matching refs:cache_blocks
84 __le32 cache_blocks; member
121 dm_cblock_t cache_blocks; member
351 disk_super->cache_blocks = cpu_to_le32(0); in __write_initial_superblock()
552 cmd->cache_blocks = to_cblock(le32_to_cpu(disk_super->cache_blocks)); in read_superblock_fields()
650 disk_super->cache_blocks = cpu_to_le32(from_cblock(cmd->cache_blocks)); in __commit_transaction()
710 cmd->cache_blocks = 0; in metadata_open()
929 if (from_cblock(new_cache_size) < from_cblock(cmd->cache_blocks)) { in dm_cache_resize()
930 r = blocks_are_unmapped_or_clean(cmd, new_cache_size, cmd->cache_blocks, &clean); in dm_cache_resize()
944 r = dm_array_resize(&cmd->info, cmd->root, from_cblock(cmd->cache_blocks), in dm_cache_resize()
948 cmd->cache_blocks = new_cache_size; in dm_cache_resize()
1065 *result = cmd->cache_blocks; in dm_cache_size()
1405 from_cblock(cmd->cache_blocks), in begin_hints()
1458 r = blocks_are_unmapped_or_clean(cmd, 0, cmd->cache_blocks, result); in dm_cache_metadata_all_clean()