Lines Matching refs:origin_dev
316 struct dm_dev *origin_dev; member
713 bio_set_dev(bio, cache->origin_dev->bdev); in remap_to_origin()
822 struct bio *origin_bio = bio_alloc_clone(cache->origin_dev->bdev, bio, in remap_to_origin_and_cache()
1087 o_region.bdev = cache->origin_dev->bdev; in copy()
1908 if (cache->origin_dev) in destroy()
1909 dm_put_device(cache->ti, cache->origin_dev); in destroy()
1977 struct dm_dev *origin_dev; member
1997 if (ca->origin_dev) in destroy_cache_args()
1998 dm_put_device(ca->ti, ca->origin_dev); in destroy_cache_args()
2065 &ca->origin_dev); in parse_origin_dev()
2071 ca->origin_sectors = get_dev_size(ca->origin_dev); in parse_origin_dev()
2377 cache->origin_dev = ca->origin_dev; in cache_create()
2380 ca->metadata_dev = ca->origin_dev = ca->cache_dev = NULL; in cache_create()
3110 format_dev_t(buf, cache->origin_dev->bdev->bd_dev); in cache_status()
3132 format_dev_t(buf, cache->origin_dev->bdev->bd_dev); in cache_status()
3327 r = fn(ti, cache->origin_dev, 0, ti->len, data); in cache_iterate_devices()
3338 struct block_device *origin_bdev = cache->origin_dev->bdev; in disable_passdown_if_not_supported()
3360 struct block_device *origin_bdev = cache->origin_dev->bdev; in set_discard_limits()