Lines Matching refs:data_dev
234 struct block_device *data_dev; member
325 struct dm_dev *data_dev; member
2818 struct block_device *data_bdev = pt->data_dev->bdev; in disable_passdown_if_not_supported()
2825 if (!bdev_max_discard_sectors(pt->data_dev->bdev)) in disable_passdown_if_not_supported()
2910 struct block_device *data_dev, in pool_create() argument
3018 pool->data_dev = data_dev; in pool_create()
3060 struct block_device *data_dev, in __pool_find() argument
3071 if (pool->data_dev != data_dev) { in __pool_find()
3080 if (pool->md_dev != metadata_dev || pool->data_dev != data_dev) { in __pool_find()
3087 pool = pool_create(pool_md, metadata_dev, data_dev, block_size, read_only, error); in __pool_find()
3107 dm_put_device(ti, pt->data_dev); in pool_dtr()
3188 return blkdev_issue_flush(pool->data_dev); in metadata_pre_commit_callback()
3261 struct dm_dev *data_dev; in pool_ctr() local
3306 r = dm_get_device(ti, argv[1], FMODE_READ | FMODE_WRITE, &data_dev); in pool_ctr()
3333 pool = __pool_find(dm_table_get_md(ti->table), metadata_dev->bdev, data_dev->bdev, in pool_ctr()
3355 pt->data_dev = data_dev; in pool_ctr()
3399 dm_put_device(ti, data_dev); in pool_ctr()
3418 bio_set_dev(bio, pt->data_dev->bdev); in pool_map()
3998 format_dev_t(buf2, pt->data_dev->bdev->bd_dev), in pool_status()
4019 return fn(ti, pt->data_dev, 0, ti->len, data); in pool_iterate_devices()