Lines Matching refs:dax_dev

656 	td->dm_dev.dax_dev = fs_dax_get_by_bdev(bdev);  in open_table_device()
670 put_dax(td->dm_dev.dax_dev); in close_table_device()
672 td->dm_dev.dax_dev = NULL; in close_table_device()
1003 static long dm_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_direct_access() argument
1006 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_direct_access()
1030 static bool dm_dax_supported(struct dax_device *dax_dev, struct block_device *bdev, in dm_dax_supported() argument
1033 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_supported()
1050 static size_t dm_dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_copy_from_iter() argument
1053 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_copy_from_iter()
1074 static size_t dm_dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_copy_to_iter() argument
1077 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_copy_to_iter()
1098 static int dm_dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_zero_page_range() argument
1101 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_zero_page_range()
1693 if (md->dax_dev) { in cleanup_mapped_device()
1694 kill_dax(md->dax_dev); in cleanup_mapped_device()
1695 put_dax(md->dax_dev); in cleanup_mapped_device()
1696 md->dax_dev = NULL; in cleanup_mapped_device()
1795 md->dax_dev = alloc_dax(md, md->disk->disk_name, in alloc_dev()
1797 if (IS_ERR(md->dax_dev)) in alloc_dev()