Lines Matching refs:dax_dev
762 td->dm_dev.dax_dev = dax_get_by_host(bdev->bd_disk->disk_name); in open_table_device()
776 put_dax(td->dm_dev.dax_dev); in close_table_device()
778 td->dm_dev.dax_dev = NULL; in close_table_device()
1081 static long dm_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_direct_access() argument
1084 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_direct_access()
1108 static bool dm_dax_supported(struct dax_device *dax_dev, struct block_device *bdev, in dm_dax_supported() argument
1111 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_supported()
1127 static size_t dm_dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_copy_from_iter() argument
1130 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_copy_from_iter()
1151 static size_t dm_dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_copy_to_iter() argument
1154 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_copy_to_iter()
1893 if (md->dax_dev) { in cleanup_mapped_device()
1894 kill_dax(md->dax_dev); in cleanup_mapped_device()
1895 put_dax(md->dax_dev); in cleanup_mapped_device()
1896 md->dax_dev = NULL; in cleanup_mapped_device()
1992 md->dax_dev = alloc_dax(md, md->disk->disk_name, in alloc_dev()
1994 if (!md->dax_dev) in alloc_dev()