Lines Matching refs:origin_dev
340 struct dm_dev *origin_dev; member
734 bio_set_dev(bio, tc->origin_dev->bdev); in remap_to_origin()
1417 schedule_copy(tc, virt_block, tc->origin_dev, in schedule_external_copy()
1422 schedule_copy(tc, virt_block, tc->origin_dev, in schedule_external_copy()
1912 if (tc->origin_dev) in provision_block()
1956 if (bio_data_dir(bio) == READ && tc->origin_dev) { in process_cell()
2034 if (tc->origin_dev) { in __process_bio_read_only()
4145 if (tc->origin_dev) in thin_dtr()
4146 dm_put_device(ti, tc->origin_dev); in thin_dtr()
4168 struct dm_dev *pool_dev, *origin_dev; in thin_ctr() local
4199 r = dm_get_device(ti, argv[2], FMODE_READ, &origin_dev); in thin_ctr()
4204 tc->origin_dev = origin_dev; in thin_ctr()
4297 if (tc->origin_dev) in thin_ctr()
4298 dm_put_device(ti, tc->origin_dev); in thin_ctr()
4376 if (tc->origin_dev) in thin_preresume()
4377 tc->origin_size = get_dev_size(tc->origin_dev->bdev); in thin_preresume()
4428 if (tc->origin_dev) in thin_status()
4429 DMEMIT(" %s", format_dev_t(buf, tc->origin_dev->bdev->bd_dev)); in thin_status()