Lines Matching refs:dax_dev
35 static long dcssblk_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff,
48 static size_t dcssblk_dax_copy_from_iter(struct dax_device *dax_dev, in dcssblk_dax_copy_from_iter() argument
54 static size_t dcssblk_dax_copy_to_iter(struct dax_device *dax_dev, in dcssblk_dax_copy_to_iter() argument
60 static int dcssblk_dax_zero_page_range(struct dax_device *dax_dev, in dcssblk_dax_zero_page_range() argument
66 rc = dax_direct_access(dax_dev, pgoff, nr_pages, &kaddr, NULL); in dcssblk_dax_zero_page_range()
70 dax_flush(dax_dev, kaddr, nr_pages << PAGE_SHIFT); in dcssblk_dax_zero_page_range()
96 struct dax_device *dax_dev; member
429 kill_dax(dev_info->dax_dev); in dcssblk_shared_store()
430 put_dax(dev_info->dax_dev); in dcssblk_shared_store()
695 dev_info->dax_dev = alloc_dax(dev_info, dev_info->gd->disk_name, in dcssblk_add_store()
697 if (IS_ERR(dev_info->dax_dev)) { in dcssblk_add_store()
698 rc = PTR_ERR(dev_info->dax_dev); in dcssblk_add_store()
699 dev_info->dax_dev = NULL; in dcssblk_add_store()
801 kill_dax(dev_info->dax_dev); in dcssblk_remove_store()
802 put_dax(dev_info->dax_dev); in dcssblk_remove_store()
950 dcssblk_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dcssblk_dax_direct_access() argument
953 struct dcssblk_dev_info *dev_info = dax_get_private(dax_dev); in dcssblk_dax_direct_access()