Lines Matching defs:dax_dev
34 static long dcssblk_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff,
48 static int dcssblk_dax_zero_page_range(struct dax_device *dax_dev,
54 rc = dax_direct_access(dax_dev, pgoff, nr_pages, DAX_ACCESS,
60 dax_flush(dax_dev, kaddr, nr_pages << PAGE_SHIFT);
82 struct dax_device *dax_dev;
417 kill_dax(dev_info->dax_dev);
418 put_dax(dev_info->dax_dev);
680 dev_info->dax_dev = alloc_dax(dev_info, &dcssblk_dax_ops);
681 if (IS_ERR(dev_info->dax_dev)) {
682 rc = PTR_ERR(dev_info->dax_dev);
683 dev_info->dax_dev = NULL;
686 set_dax_synchronous(dev_info->dax_dev);
687 rc = dax_add_host(dev_info->dax_dev, dev_info->gd);
714 kill_dax(dev_info->dax_dev);
715 put_dax(dev_info->dax_dev);
799 kill_dax(dev_info->dax_dev);
800 put_dax(dev_info->dax_dev);
929 dcssblk_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff,
933 struct dcssblk_dev_info *dev_info = dax_get_private(dax_dev);