Searched refs:origin_size (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/drivers/md/ |
D | dm-cache-policy.c | 113 sector_t origin_size, in dm_cache_policy_create() argument 125 p = type->create(cache_size, origin_size, cache_block_size); in dm_cache_policy_create()
|
D | dm-cache-policy-smq.c | 1698 static bool too_many_hotspot_blocks(sector_t origin_size, in too_many_hotspot_blocks() argument 1702 return (hotspot_block_size * nr_hotspot_blocks) > origin_size; in too_many_hotspot_blocks() 1705 static void calc_hotspot_params(sector_t origin_size, in calc_hotspot_params() argument 1715 too_many_hotspot_blocks(origin_size, *hotspot_block_size, *nr_hotspot_blocks)) in calc_hotspot_params() 1720 sector_t origin_size, in __smq_create() argument 1737 calc_hotspot_params(origin_size, cache_block_size, from_cblock(cache_size), in __smq_create() 1830 sector_t origin_size, in smq_create() argument 1833 return __smq_create(cache_size, origin_size, cache_block_size, false, true); in smq_create() 1837 sector_t origin_size, in mq_create() argument 1840 return __smq_create(cache_size, origin_size, cache_block_size, true, true); in mq_create() [all …]
|
D | dm-cache-policy.h | 177 sector_t origin_size,
|
D | dm-cache-policy-internal.h | 143 sector_t origin_size, sector_t block_size);
|
D | dm-thin.c | 342 sector_t origin_size; member 1424 if (virt_block_end <= tc->origin_size) in schedule_external_copy() 1429 else if (virt_block_begin < tc->origin_size) in schedule_external_copy() 1432 tc->origin_size - virt_block_begin); in schedule_external_copy() 1968 if (bio_end_sector(bio) <= tc->origin_size) in process_cell() 1971 else if (bio->bi_iter.bi_sector < tc->origin_size) { in process_cell() 1973 bio->bi_iter.bi_size = (tc->origin_size - bio->bi_iter.bi_sector) << SECTOR_SHIFT; in process_cell() 4372 tc->origin_size = get_dev_size(tc->origin_dev->bdev); in thin_preresume()
|
D | dm-cache-target.c | 2388 sector_t origin_size) in too_many_discard_blocks() argument 2390 (void) sector_div(origin_size, discard_block_size); in too_many_discard_blocks() 2392 return origin_size > MAX_DISCARD_BLOCKS; in too_many_discard_blocks() 2396 sector_t origin_size) in calculate_discard_block_size() argument 2400 if (origin_size) in calculate_discard_block_size() 2401 while (too_many_discard_blocks(discard_block_size, origin_size)) in calculate_discard_block_size()
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/ |
D | atomisp_fops.c | 1168 u32 origin_size, new_size; in atomisp_mmap() local 1211 origin_size = raw_virt_addr->data_bytes; in atomisp_mmap() 1222 raw_virt_addr->data_bytes = origin_size; in atomisp_mmap() 1226 raw_virt_addr->data_bytes = origin_size; in atomisp_mmap()
|