Home
last modified time | relevance | path

Searched refs:origin_dev (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/md/
Ddm-cache-target.c317 struct dm_dev *origin_dev; member
721 bio_set_dev(bio, cache->origin_dev->bdev); in remap_to_origin()
831 struct bio *origin_bio = bio_alloc_clone(cache->origin_dev->bdev, bio, in remap_to_origin_and_cache()
1100 o_region.bdev = cache->origin_dev->bdev; in copy()
1940 if (cache->origin_dev) in destroy()
1941 dm_put_device(cache->ti, cache->origin_dev); in destroy()
2009 struct dm_dev *origin_dev; member
2029 if (ca->origin_dev) in destroy_cache_args()
2030 dm_put_device(ca->ti, ca->origin_dev); in destroy_cache_args()
2097 BLK_OPEN_READ | BLK_OPEN_WRITE, &ca->origin_dev); in parse_origin_dev()
[all …]
Ddm-era-target.c1176 struct dm_dev *origin_dev; member
1231 bio_set_dev(bio, era->origin_dev->bdev); in remap_to_origin()
1440 if (era->origin_dev) in era_destroy()
1441 dm_put_device(era->ti, era->origin_dev); in era_destroy()
1494 &era->origin_dev); in era_ctr()
1675 format_dev_t(buf, era->origin_dev->bdev->bd_dev); in era_status()
1723 return fn(ti, era->origin_dev, 0, get_dev_size(era->origin_dev), data); in era_iterate_devices()
Ddm-thin.c342 struct dm_dev *origin_dev; member
735 bio_set_dev(bio, tc->origin_dev->bdev); in remap_to_origin()
1420 schedule_copy(tc, virt_block, tc->origin_dev, in schedule_external_copy()
1425 schedule_copy(tc, virt_block, tc->origin_dev, in schedule_external_copy()
1937 if (tc->origin_dev) in provision_block()
1981 if (bio_data_dir(bio) == READ && tc->origin_dev) { in process_cell()
2059 if (tc->origin_dev) { in __process_bio_read_only()
4166 if (tc->origin_dev) in thin_dtr()
4167 dm_put_device(ti, tc->origin_dev); in thin_dtr()
4189 struct dm_dev *pool_dev, *origin_dev; in thin_ctr() local
[all …]