Searched refs:cache_block_size (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/md/ |
D | dm-cache-policy.c | 115 sector_t cache_block_size) in dm_cache_policy_create() argument 126 p = type->create(cache_size, origin_size, cache_block_size); in dm_cache_policy_create()
|
D | dm-cache-policy-smq.c | 803 sector_t cache_block_size; member 1718 sector_t cache_block_size, in calc_hotspot_params() argument 1723 *hotspot_block_size = cache_block_size * 16u; in calc_hotspot_params() 1726 while ((*hotspot_block_size > cache_block_size) && in calc_hotspot_params() 1732 __smq_create(dm_cblock_t cache_size, sector_t origin_size, sector_t cache_block_size, in __smq_create() argument 1745 mq->cache_block_size = cache_block_size; in __smq_create() 1747 calc_hotspot_params(origin_size, cache_block_size, from_cblock(cache_size), in __smq_create() 1750 mq->cache_blocks_per_hotspot_block = div64_u64(mq->hotspot_block_size, mq->cache_block_size); in __smq_create() 1842 sector_t cache_block_size) in smq_create() argument 1844 return __smq_create(cache_size, origin_size, cache_block_size, in smq_create() [all …]
|
D | dm-cache-target.c | 2348 static sector_t calculate_discard_block_size(sector_t cache_block_size, in calculate_discard_block_size() argument 2351 sector_t discard_block_size = cache_block_size; in calculate_discard_block_size()
|