Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Ddm-cache-metadata.h73 int dm_cache_resize(struct dm_cache_metadata *cmd, dm_cblock_t new_cache_size);
H A Ddm-cache-metadata.c1054 int dm_cache_resize(struct dm_cache_metadata *cmd, dm_cblock_t new_cache_size) in dm_cache_resize() argument
1063 if (from_cblock(new_cache_size) < from_cblock(cmd->cache_blocks)) { in dm_cache_resize()
1064 r = blocks_are_unmapped_or_clean(cmd, new_cache_size, cmd->cache_blocks, &clean); in dm_cache_resize()
1079 from_cblock(new_cache_size), in dm_cache_resize()
1086 from_cblock(cmd->cache_blocks), from_cblock(new_cache_size), in dm_cache_resize()
1092 cmd->cache_blocks = new_cache_size; in dm_cache_resize()