Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/persistent-data/
H A Ddm-space-map-common.c244 old_blocks = dm_sector_div_up(ll->nr_blocks, ll->entries_per_block); in sm_ll_extend()
245 blocks = dm_sector_div_up(nr_blocks, ll->entries_per_block); in sm_ll_extend()
247 nr_indexes = dm_sector_div_up(nr_blocks, ll->entries_per_block); in sm_ll_extend()
343 dm_block_t index_end = dm_sector_div_up(end, ll->entries_per_block); in sm_ll_find_free_block()
/openbmc/linux/include/linux/
H A Ddevice-mapper.h692 #define dm_sector_div_up(n, sz) ( \ macro
/openbmc/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-target.c293 *rs = dm_sector_div_up(bio->bi_iter.bi_sector, clone->region_size); in bio_region_range()
1819 nr_regions = dm_sector_div_up(ti->len, clone->region_size); in clone_ctr()
H A Ddm-clone-metadata.c568 cmd->nr_regions = dm_sector_div_up(cmd->target_size, cmd->region_size); in dm_clone_metadata_open()
H A Ddm-cache-target.c1016 *b = to_dblock(dm_sector_div_up(sb, cache->discard_block_size)); in calc_discard_block_range()
2508 cache->discard_nr_blocks = to_dblock(dm_sector_div_up(cache->origin_sectors, in cache_create()
2855 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.c1451 return dm_sector_div_up(era->ti->len, era->sectors_per_block); in calc_nr_blocks()