Home
last modified time | relevance | path

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

/drivers/md/
Ddm-cache-metadata.h72 int dm_cache_resize(struct dm_cache_metadata *cmd, dm_cblock_t new_cache_size);
Ddm-cache-metadata.c1048 int dm_cache_resize(struct dm_cache_metadata *cmd, dm_cblock_t new_cache_size) in dm_cache_resize() argument
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()
1073 from_cblock(new_cache_size), in dm_cache_resize()
1080 from_cblock(cmd->cache_blocks), from_cblock(new_cache_size), in dm_cache_resize()
1086 cmd->cache_blocks = new_cache_size; in dm_cache_resize()