Searched refs:dm_sector_div_up (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/md/persistent-data/ |
A D | dm-space-map-common.c | 243 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 D | device-mapper.h | 639 #define dm_sector_div_up(n, sz) ( \ macro
|
/linux/drivers/md/ |
A D | dm-io.c | 344 num_bvecs = bio_max_segs(dm_sector_div_up(remaining, in do_region()
|
A D | dm-log-userspace-base.c | 285 lc->region_count = dm_sector_div_up(ti->len, lc->region_size); in userspace_ctr()
|
A D | dm-log.c | 399 region_count = dm_sector_div_up(ti->len, region_size); in create_log_context()
|
A D | dm-clone-target.c | 293 *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 D | dm-clone-metadata.c | 573 cmd->nr_regions = dm_sector_div_up(cmd->target_size, cmd->region_size); in dm_clone_metadata_open()
|
A D | dm-cache-target.c | 1011 *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 D | dm-raid1.c | 897 ms->nr_regions = dm_sector_div_up(ti->len, region_size); in alloc_context()
|
A D | dm-era-target.c | 1428 return dm_sector_div_up(era->ti->len, era->sectors_per_block); in calc_nr_blocks()
|
Completed in 34 milliseconds