Searched refs:get_dev_size (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/drivers/md/ |
D | dm-snap-transient.c | 43 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()
|
D | dm-exception-store.h | 169 static inline sector_t get_dev_size(struct block_device *bdev) in get_dev_size() function
|
D | dm-snap-persistent.c | 583 *total_sectors = get_dev_size(dm_snap_cow(store->snap)->bdev); in persistent_usage() 680 sector_t size = get_dev_size(dm_snap_cow(store->snap)->bdev); in persistent_prepare_exception()
|
D | dm-clone-target.c | 1478 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size() function 1657 metadata_dev_size = get_dev_size(clone->metadata_dev); in parse_metadata_dev() 1677 dest_dev_size = get_dev_size(clone->dest_dev); in parse_dest_dev() 1699 source_dev_size = get_dev_size(clone->source_dev); in parse_source_dev()
|
D | dm-cache-target.c | 2038 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size() function 2135 metadata_dev_size = get_dev_size(ca->metadata_dev); in parse_metadata_dev() 2157 ca->cache_sectors = get_dev_size(ca->cache_dev); in parse_cache_dev() 2177 ca->origin_sectors = get_dev_size(ca->origin_dev); in parse_origin_dev() 2989 sector_t size = get_dev_size(cache->cache_dev); in get_cache_dev_size() 3428 r = fn(ti, cache->cache_dev, 0, get_dev_size(cache->cache_dev), data); in cache_iterate_devices()
|
D | dm-snap.c | 885 cow_dev_size = get_dev_size(s->cow->bdev); in init_hash_tables() 1082 dest.count = min(io_size, get_dev_size(dest.bdev) - dest.sector); in snapshot_merge_next_chunks() 1794 dev_size = get_dev_size(bdev); in start_copy() 2379 r = fn(ti, snap->cow, 0, get_dev_size(snap->cow->bdev), data); in snapshot_iterate_devices()
|
D | dm-era-target.c | 1662 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size() function 1671 return fn(ti, era->origin_dev, 0, get_dev_size(era->origin_dev), data); in era_iterate_devices()
|
D | dm-thin.c | 3195 static sector_t get_dev_size(struct block_device *bdev) in get_dev_size() function 3202 sector_t metadata_dev_size = get_dev_size(bdev); in warn_if_metadata_device_too_big() 3212 sector_t metadata_dev_size = get_dev_size(bdev); in get_metadata_dev_size() 4360 tc->origin_size = get_dev_size(tc->origin_dev->bdev); in thin_preresume()
|