Lines Matching refs:dax_dev
34 static long dcssblk_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff,
47 static size_t dcssblk_dax_copy_from_iter(struct dax_device *dax_dev, in dcssblk_dax_copy_from_iter() argument
53 static size_t dcssblk_dax_copy_to_iter(struct dax_device *dax_dev, in dcssblk_dax_copy_to_iter() argument
59 static int dcssblk_dax_zero_page_range(struct dax_device *dax_dev, in dcssblk_dax_zero_page_range() argument
65 rc = dax_direct_access(dax_dev, pgoff, nr_pages, &kaddr, NULL); in dcssblk_dax_zero_page_range()
69 dax_flush(dax_dev, kaddr, nr_pages << PAGE_SHIFT); in dcssblk_dax_zero_page_range()
94 struct dax_device *dax_dev; member
427 kill_dax(dev_info->dax_dev); in dcssblk_shared_store()
428 put_dax(dev_info->dax_dev); in dcssblk_shared_store()
690 dev_info->dax_dev = alloc_dax(dev_info, dev_info->gd->disk_name, in dcssblk_add_store()
692 if (IS_ERR(dev_info->dax_dev)) { in dcssblk_add_store()
693 rc = PTR_ERR(dev_info->dax_dev); in dcssblk_add_store()
694 dev_info->dax_dev = NULL; in dcssblk_add_store()
792 kill_dax(dev_info->dax_dev); in dcssblk_remove_store()
793 put_dax(dev_info->dax_dev); in dcssblk_remove_store()
934 dcssblk_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dcssblk_dax_direct_access() argument
937 struct dcssblk_dev_info *dev_info = dax_get_private(dax_dev); in dcssblk_dax_direct_access()