Lines Matching refs:dax_dev
729 td->dm_dev.dax_dev = dax_get_by_host(bdev->bd_disk->disk_name); in open_table_device()
743 put_dax(td->dm_dev.dax_dev); in close_table_device()
745 td->dm_dev.dax_dev = NULL; in close_table_device()
1042 static long dm_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_direct_access() argument
1045 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_direct_access()
1069 static size_t dm_dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_copy_from_iter() argument
1072 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_copy_from_iter()
1093 static size_t dm_dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_copy_to_iter() argument
1096 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_copy_to_iter()
1828 if (md->dax_dev) { in cleanup_mapped_device()
1829 kill_dax(md->dax_dev); in cleanup_mapped_device()
1830 put_dax(md->dax_dev); in cleanup_mapped_device()
1831 md->dax_dev = NULL; in cleanup_mapped_device()
1865 struct dax_device *dax_dev = NULL; in alloc_dev() local
1932 dax_dev = alloc_dax(md, md->disk->disk_name, &dm_dax_ops); in alloc_dev()
1933 if (!dax_dev) in alloc_dev()
1936 md->dax_dev = dax_dev; in alloc_dev()