Searched refs:dm_sector_div_up (Results 1 – 8 of 8) sorted by relevance
/linux/include/linux/ |
H A D | device-mapper.h | 713 #define dm_sector_div_up(n, sz) ( \ macro
|
/linux/drivers/md/ |
H A D | dm-io.c | 349 num_bvecs = bio_max_segs(dm_sector_div_up(remaining, in do_region()
|
H A D | dm-log-userspace-base.c | 286 lc->region_count = dm_sector_div_up(ti->len, lc->region_size); in userspace_ctr()
|
H A D | dm-log.c | 403 region_count = dm_sector_div_up(ti->len, region_size); in create_log_context()
|
H A D | dm-clone-metadata.c | 565 cmd->nr_regions = dm_sector_div_up(cmd->target_size, cmd->region_size); in dm_clone_metadata_open()
|
H A D | dm-cache-target.c | 1014 *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 D | dm-raid1.c | 909 ms->nr_regions = dm_sector_div_up(ti->len, region_size); in alloc_context()
|
H A D | dm-era-target.c | 1450 return dm_sector_div_up(era->ti->len, era->sectors_per_block); in calc_nr_blocks()
|