Searched refs:origin_dev (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/md/ |
D | dm-cache-target.c | 386 struct dm_dev *origin_dev; member 783 bio_set_dev(bio, cache->origin_dev->bdev); in remap_to_origin() 1165 o_region.bdev = cache->origin_dev->bdev; in copy() 1986 if (cache->origin_dev) in destroy() 1987 dm_put_device(cache->ti, cache->origin_dev); in destroy() 2055 struct dm_dev *origin_dev; member 2075 if (ca->origin_dev) in destroy_cache_args() 2076 dm_put_device(ca->ti, ca->origin_dev); in destroy_cache_args() 2144 &ca->origin_dev); in parse_origin_dev() 2150 ca->origin_sectors = get_dev_size(ca->origin_dev); in parse_origin_dev() [all …]
|
D | dm-era-target.c | 1142 struct dm_dev *origin_dev; member 1195 bio_set_dev(bio, era->origin_dev->bdev); in remap_to_origin() 1385 if (era->origin_dev) in era_destroy() 1386 dm_put_device(era->ti, era->origin_dev); in era_destroy() 1437 r = dm_get_device(ti, argv[1], FMODE_READ | FMODE_WRITE, &era->origin_dev); in era_ctr() 1613 format_dev_t(buf, era->origin_dev->bdev->bd_dev); in era_status() 1656 return fn(ti, era->origin_dev, 0, get_dev_size(era->origin_dev), data); in era_iterate_devices()
|
D | dm-thin.c | 341 struct dm_dev *origin_dev; member 735 bio_set_dev(bio, tc->origin_dev->bdev); in remap_to_origin() 1425 schedule_copy(tc, virt_block, tc->origin_dev, in schedule_external_copy() 1430 schedule_copy(tc, virt_block, tc->origin_dev, in schedule_external_copy() 1920 if (tc->origin_dev) in provision_block() 1964 if (bio_data_dir(bio) == READ && tc->origin_dev) { in process_cell() 2042 if (tc->origin_dev) { in __process_bio_read_only() 4141 if (tc->origin_dev) in thin_dtr() 4142 dm_put_device(ti, tc->origin_dev); in thin_dtr() 4164 struct dm_dev *pool_dev, *origin_dev; in thin_ctr() local [all …]
|
D | dm-snap.c | 1237 dev_t origin_dev, cow_dev; in snapshot_ctr() local 1275 origin_dev = s->origin->bdev->bd_dev; in snapshot_ctr() 1282 if (cow_dev && cow_dev == origin_dev) { in snapshot_ctr()
|