Searched refs:origin_size (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/drivers/md/ |
A D | dm-cache-policy.c | 114 sector_t origin_size, in dm_cache_policy_create() argument 126 p = type->create(cache_size, origin_size, cache_block_size); in dm_cache_policy_create()
|
A D | dm-cache-policy-smq.c | 1704 static bool too_many_hotspot_blocks(sector_t origin_size, in too_many_hotspot_blocks() argument 1708 return (hotspot_block_size * nr_hotspot_blocks) > origin_size; in too_many_hotspot_blocks() 1711 static void calc_hotspot_params(sector_t origin_size, in calc_hotspot_params() argument 1726 sector_t origin_size, in __smq_create() argument 1743 calc_hotspot_params(origin_size, cache_block_size, from_cblock(cache_size), in __smq_create() 1836 sector_t origin_size, in smq_create() argument 1839 return __smq_create(cache_size, origin_size, cache_block_size, false, true); in smq_create() 1843 sector_t origin_size, in mq_create() argument 1846 return __smq_create(cache_size, origin_size, cache_block_size, true, true); in mq_create() 1850 sector_t origin_size, in cleaner_create() argument [all …]
|
A D | dm-cache-policy.h | 178 sector_t origin_size,
|
A D | dm-cache-policy-internal.h | 147 sector_t origin_size, sector_t block_size);
|
A D | dm-cache-target.c | 2341 sector_t origin_size) in too_many_discard_blocks() argument 2343 (void) sector_div(origin_size, discard_block_size); in too_many_discard_blocks() 2345 return origin_size > MAX_DISCARD_BLOCKS; in too_many_discard_blocks() 2349 sector_t origin_size) in calculate_discard_block_size() argument 2353 if (origin_size) in calculate_discard_block_size() 2354 while (too_many_discard_blocks(discard_block_size, origin_size)) in calculate_discard_block_size()
|
A D | dm-thin.c | 341 sector_t origin_size; member 1416 if (virt_block_end <= tc->origin_size) in schedule_external_copy() 1421 else if (virt_block_begin < tc->origin_size) in schedule_external_copy() 1424 tc->origin_size - virt_block_begin); in schedule_external_copy() 1960 if (bio_end_sector(bio) <= tc->origin_size) in process_cell() 1963 else if (bio->bi_iter.bi_sector < tc->origin_size) { in process_cell() 1965 bio->bi_iter.bi_size = (tc->origin_size - bio->bi_iter.bi_sector) << SECTOR_SHIFT; in process_cell() 4377 tc->origin_size = get_dev_size(tc->origin_dev->bdev); in thin_preresume()
|
Completed in 27 milliseconds