Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/md/
Ddm-snap-transient.c43 sector_t size = get_dev_size(dm_snap_cow(store->snap)->bdev); in transient_prepare_exception()
69 *total_sectors = get_dev_size(dm_snap_cow(store->snap)->bdev); in transient_usage()
Ddm-exception-store.h169 static inline sector_t get_dev_size(struct block_device *bdev) in get_dev_size() function
Ddm-snap-persistent.c576 *total_sectors = get_dev_size(dm_snap_cow(store->snap)->bdev); in persistent_usage()
673 sector_t size = get_dev_size(dm_snap_cow(store->snap)->bdev); in persistent_prepare_exception()
Ddm-clone-target.c1515 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size() function
1693 metadata_dev_size = get_dev_size(clone->metadata_dev); in parse_metadata_dev()
1713 dest_dev_size = get_dev_size(clone->dest_dev); in parse_dest_dev()
1735 source_dev_size = get_dev_size(clone->source_dev); in parse_source_dev()
Ddm-cache-target.c1933 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size() function
2029 metadata_dev_size = get_dev_size(ca->metadata_dev); in parse_metadata_dev()
2051 ca->cache_sectors = get_dev_size(ca->cache_dev); in parse_cache_dev()
2071 ca->origin_sectors = get_dev_size(ca->origin_dev); in parse_origin_dev()
2862 sector_t size = get_dev_size(cache->cache_dev); in get_cache_dev_size()
3325 r = fn(ti, cache->cache_dev, 0, get_dev_size(cache->cache_dev), data); in cache_iterate_devices()
Ddm-snap.c886 cow_dev_size = get_dev_size(s->cow->bdev); in init_hash_tables()
1083 dest.count = min(io_size, get_dev_size(dest.bdev) - dest.sector); in snapshot_merge_next_chunks()
1801 dev_size = get_dev_size(bdev); in start_copy()
2396 r = fn(ti, snap->cow, 0, get_dev_size(snap->cow->bdev), data); in snapshot_iterate_devices()
Ddm-era-target.c1688 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size() function
1697 return fn(ti, era->origin_dev, 0, get_dev_size(era->origin_dev), data); in era_iterate_devices()
Ddm-thin.c3188 static sector_t get_dev_size(struct block_device *bdev) in get_dev_size() function
3195 sector_t metadata_dev_size = get_dev_size(bdev); in warn_if_metadata_device_too_big()
3204 sector_t metadata_dev_size = get_dev_size(bdev); in get_metadata_dev_size()
4351 tc->origin_size = get_dev_size(tc->origin_dev->bdev); in thin_preresume()