Lines Matching refs:dax_dev
770 td->dm_dev.dax_dev = dax_get_by_host(bdev->bd_disk->disk_name); in open_table_device()
784 put_dax(td->dm_dev.dax_dev); in close_table_device()
786 td->dm_dev.dax_dev = NULL; in close_table_device()
1115 static long dm_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_direct_access() argument
1118 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_direct_access()
1142 static bool dm_dax_supported(struct dax_device *dax_dev, struct block_device *bdev, in dm_dax_supported() argument
1145 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_supported()
1162 static size_t dm_dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_copy_from_iter() argument
1165 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_copy_from_iter()
1186 static size_t dm_dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_copy_to_iter() argument
1189 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_copy_to_iter()
1210 static int dm_dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_zero_page_range() argument
1213 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_zero_page_range()
1802 if (md->dax_dev) { in cleanup_mapped_device()
1803 kill_dax(md->dax_dev); in cleanup_mapped_device()
1804 put_dax(md->dax_dev); in cleanup_mapped_device()
1805 md->dax_dev = NULL; in cleanup_mapped_device()
1911 md->dax_dev = alloc_dax(md, md->disk->disk_name, in alloc_dev()
1913 if (IS_ERR(md->dax_dev)) { in alloc_dev()
1914 md->dax_dev = NULL; in alloc_dev()