Lines Matching refs:dm_dev

138 	struct dm_dev dm_dev;  member
765 td->dm_dev.mode = mode; in open_table_device()
766 td->dm_dev.bdev = bdev; in open_table_device()
767 td->dm_dev.dax_dev = fs_dax_get_by_bdev(bdev, &part_off, NULL, NULL); in open_table_device()
768 format_dev_t(td->dm_dev.name, dev); in open_table_device()
785 bd_unlink_disk_holder(td->dm_dev.bdev, md->disk); in close_table_device()
786 blkdev_put(td->dm_dev.bdev, td->dm_dev.mode | FMODE_EXCL); in close_table_device()
787 put_dax(td->dm_dev.dax_dev); in close_table_device()
798 if (td->dm_dev.bdev->bd_dev == dev && td->dm_dev.mode == mode) in find_table_device()
805 struct dm_dev **result) in dm_get_table_device()
822 *result = &td->dm_dev; in dm_get_table_device()
826 void dm_put_table_device(struct mapped_device *md, struct dm_dev *d) in dm_put_table_device()
828 struct table_device *td = container_of(d, struct table_device, dm_dev); in dm_put_table_device()
844 td->dm_dev.name, refcount_read(&td->count)); in free_table_devices()
1981 bd_unlink_disk_holder(td->dm_dev.bdev, in cleanup_mapped_device()
2367 r = bd_link_disk_holder(td->dm_dev.bdev, md->disk); in dm_setup_md_queue()
2381 bd_unlink_disk_holder(td->dm_dev.bdev, md->disk); in dm_setup_md_queue()
3160 static int __dm_pr_register(struct dm_target *ti, struct dm_dev *dev, in __dm_pr_register()
3220 static int __dm_pr_reserve(struct dm_target *ti, struct dm_dev *dev, in __dm_pr_reserve()
3263 static int __dm_pr_release(struct dm_target *ti, struct dm_dev *dev, in __dm_pr_release()
3297 static int __dm_pr_preempt(struct dm_target *ti, struct dm_dev *dev, in __dm_pr_preempt()