Home
last modified time | relevance | path

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

/linux/drivers/md/persistent-data/
A Ddm-space-map-common.c243 old_blocks = dm_sector_div_up(ll->nr_blocks, ll->entries_per_block); in sm_ll_extend()
244 blocks = dm_sector_div_up(nr_blocks, ll->entries_per_block); in sm_ll_extend()
246 nr_indexes = dm_sector_div_up(nr_blocks, ll->entries_per_block); in sm_ll_extend()
337 dm_block_t index_end = dm_sector_div_up(end, ll->entries_per_block); in sm_ll_find_free_block()
/linux/include/linux/
A Ddevice-mapper.h639 #define dm_sector_div_up(n, sz) ( \ macro
/linux/drivers/md/
A Ddm-io.c344 num_bvecs = bio_max_segs(dm_sector_div_up(remaining, in do_region()
A Ddm-log-userspace-base.c285 lc->region_count = dm_sector_div_up(ti->len, lc->region_size); in userspace_ctr()
A Ddm-log.c399 region_count = dm_sector_div_up(ti->len, region_size); in create_log_context()
A Ddm-clone-target.c293 *rs = dm_sector_div_up(bio->bi_iter.bi_sector, clone->region_size); in bio_region_range()
1820 nr_regions = dm_sector_div_up(ti->len, clone->region_size); in clone_ctr()
A Ddm-clone-metadata.c573 cmd->nr_regions = dm_sector_div_up(cmd->target_size, cmd->region_size); in dm_clone_metadata_open()
A Ddm-cache-target.c1011 *b = to_dblock(dm_sector_div_up(sb, cache->discard_block_size)); in calc_discard_block_range()
2477 cache->discard_nr_blocks = to_dblock(dm_sector_div_up(cache->origin_sectors, in cache_create()
2824 b = dm_sector_div_up(b, li->cache->discard_block_size); in set_discard_range()
A Ddm-raid1.c897 ms->nr_regions = dm_sector_div_up(ti->len, region_size); in alloc_context()
A Ddm-era-target.c1428 return dm_sector_div_up(era->ti->len, era->sectors_per_block); in calc_nr_blocks()

Completed in 34 milliseconds