Lines Matching refs:data_dev
237 struct block_device *data_dev; member
328 struct dm_dev *data_dev; member
2844 struct block_device *data_bdev = pt->data_dev->bdev; in disable_discard_passdown_if_not_supported()
2851 if (!bdev_max_discard_sectors(pt->data_dev->bdev)) in disable_discard_passdown_if_not_supported()
2938 struct block_device *data_dev, in pool_create() argument
3046 pool->data_dev = data_dev; in pool_create()
3088 struct block_device *data_dev, in __pool_find() argument
3099 if (pool->data_dev != data_dev) { in __pool_find()
3108 if (pool->md_dev != metadata_dev || pool->data_dev != data_dev) { in __pool_find()
3115 pool = pool_create(pool_md, metadata_dev, data_dev, block_size, read_only, error); in __pool_find()
3137 dm_put_device(ti, pt->data_dev); in pool_dtr()
3218 return blkdev_issue_flush(pool->data_dev); in metadata_pre_commit_callback()
3292 struct dm_dev *data_dev; in pool_ctr() local
3338 r = dm_get_device(ti, argv[1], BLK_OPEN_READ | BLK_OPEN_WRITE, &data_dev); in pool_ctr()
3365 pool = __pool_find(dm_table_get_md(ti->table), metadata_dev->bdev, data_dev->bdev, in pool_ctr()
3387 pt->data_dev = data_dev; in pool_ctr()
3431 dm_put_device(ti, data_dev); in pool_ctr()
3449 bio_set_dev(bio, pt->data_dev->bdev); in pool_map()
4028 format_dev_t(buf2, pt->data_dev->bdev->bd_dev), in pool_status()
4049 return fn(ti, pt->data_dev, 0, ti->len, data); in pool_iterate_devices()