Searched refs:origin_size (Results 1 – 7 of 7) sorted by relevance
/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 | 1707 static bool too_many_hotspot_blocks(sector_t origin_size, in too_many_hotspot_blocks() argument 1711 return (hotspot_block_size * nr_hotspot_blocks) > origin_size; in too_many_hotspot_blocks() 1714 static void calc_hotspot_params(sector_t origin_size, in calc_hotspot_params() argument 1724 too_many_hotspot_blocks(origin_size, *hotspot_block_size, *nr_hotspot_blocks)) in calc_hotspot_params() 1729 __smq_create(dm_cblock_t cache_size, sector_t origin_size, sector_t cache_block_size, in __smq_create() argument 1744 calc_hotspot_params(origin_size, cache_block_size, from_cblock(cache_size), in __smq_create() 1838 sector_t origin_size, in smq_create() argument 1841 return __smq_create(cache_size, origin_size, cache_block_size, in smq_create() 1846 sector_t origin_size, in mq_create() argument 1849 return __smq_create(cache_size, origin_size, cache_block_size, 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-cache-target.c | 2314 sector_t origin_size) in too_many_discard_blocks() argument 2316 (void) sector_div(origin_size, discard_block_size); in too_many_discard_blocks() 2318 return origin_size > MAX_DISCARD_BLOCKS; in too_many_discard_blocks() 2322 sector_t origin_size) in calculate_discard_block_size() argument 2326 if (origin_size) in calculate_discard_block_size() 2327 while (too_many_discard_blocks(discard_block_size, origin_size)) in calculate_discard_block_size()
|
D | dm-thin.c | 340 sector_t origin_size; member 1413 if (virt_block_end <= tc->origin_size) in schedule_external_copy() 1418 else if (virt_block_begin < tc->origin_size) in schedule_external_copy() 1421 tc->origin_size - virt_block_begin); in schedule_external_copy() 1957 if (bio_end_sector(bio) <= tc->origin_size) in process_cell() 1960 else if (bio->bi_iter.bi_sector < tc->origin_size) { in process_cell() 1962 bio->bi_iter.bi_size = (tc->origin_size - bio->bi_iter.bi_sector) << SECTOR_SHIFT; in process_cell() 4364 tc->origin_size = get_dev_size(tc->origin_dev->bdev); in thin_preresume()
|
/drivers/staging/media/atomisp/pci/ |
D | atomisp_fops.c | 1009 u32 origin_size, new_size; in atomisp_mmap() local 1058 origin_size = raw_virt_addr->data_bytes; in atomisp_mmap() 1069 raw_virt_addr->data_bytes = origin_size; in atomisp_mmap() 1073 raw_virt_addr->data_bytes = origin_size; in atomisp_mmap()
|