Lines Matching refs:dax_dev
768 td->dm_dev.dax_dev = fs_dax_get_by_bdev(bdev, &part_off, NULL, NULL); in open_table_device()
788 put_dax(td->dm_dev.dax_dev); in close_table_device()
1216 static long dm_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_direct_access() argument
1220 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_direct_access()
1244 static int dm_dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_zero_page_range() argument
1247 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_zero_page_range()
1271 static size_t dm_dax_recovery_write(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_recovery_write() argument
1274 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_recovery_write()
1956 if (md->dax_dev) { in cleanup_mapped_device()
1958 kill_dax(md->dax_dev); in cleanup_mapped_device()
1959 put_dax(md->dax_dev); in cleanup_mapped_device()
1960 md->dax_dev = NULL; in cleanup_mapped_device()
2079 md->dax_dev = alloc_dax(md, &dm_dax_ops); in alloc_dev()
2080 if (IS_ERR(md->dax_dev)) { in alloc_dev()
2081 md->dax_dev = NULL; in alloc_dev()
2084 set_dax_nocache(md->dax_dev); in alloc_dev()
2085 set_dax_nomc(md->dax_dev); in alloc_dev()
2086 if (dax_add_host(md->dax_dev, md->disk)) in alloc_dev()