Searched refs:cache_blocks (Results 1 – 1 of 1) sorted by relevance
84 __le32 cache_blocks; member127 dm_cblock_t cache_blocks; member377 disk_super->cache_blocks = cpu_to_le32(0); in __write_initial_superblock()589 cmd->cache_blocks = to_cblock(le32_to_cpu(disk_super->cache_blocks)); in read_superblock_fields()699 disk_super->cache_blocks = cpu_to_le32(from_cblock(cmd->cache_blocks)); in __commit_transaction()762 cmd->cache_blocks = 0; in metadata_open()934 from_cblock(cmd->cache_blocks), &cmd->dirty_cursor); in blocks_are_clean_separate_dirty()1047 if (from_cblock(new_cache_size) < from_cblock(cmd->cache_blocks)) { in dm_cache_resize()1048 r = blocks_are_unmapped_or_clean(cmd, new_cache_size, cmd->cache_blocks, &clean); in dm_cache_resize()1062 r = dm_array_resize(&cmd->info, cmd->root, from_cblock(cmd->cache_blocks), in dm_cache_resize()[all …]