Home
last modified time | relevance | path

Searched refs:dm_sector_div_up (Results 1 – 8 of 8) sorted by relevance

/linux/include/linux/
H A Ddevice-mapper.h713 #define dm_sector_div_up(n, sz) ( \ macro
/linux/drivers/md/
H A Ddm-io.c349 num_bvecs = bio_max_segs(dm_sector_div_up(remaining, in do_region()
H A Ddm-log-userspace-base.c286 lc->region_count = dm_sector_div_up(ti->len, lc->region_size); in userspace_ctr()
H A Ddm-log.c403 region_count = dm_sector_div_up(ti->len, region_size); in create_log_context()
H A Ddm-clone-metadata.c565 cmd->nr_regions = dm_sector_div_up(cmd->target_size, cmd->region_size); in dm_clone_metadata_open()
H A Ddm-cache-target.c1014 *b = to_dblock(dm_sector_div_up(sb, cache->discard_block_size)); in calc_discard_block_range()
2504 cache->discard_nr_blocks = to_dblock(dm_sector_div_up(cache->origin_sectors, in cache_create()
2851 b = dm_sector_div_up(b, li->cache->discard_block_size); in set_discard_range()
H A Ddm-raid1.c909 ms->nr_regions = dm_sector_div_up(ti->len, region_size); in alloc_context()
H A Ddm-era-target.c1450 return dm_sector_div_up(era->ti->len, era->sectors_per_block); in calc_nr_blocks()