Lines Matching defs: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,
54 static size_t dcssblk_dax_copy_to_iter(struct dax_device *dax_dev,
60 static int dcssblk_dax_zero_page_range(struct dax_device *dax_dev,
66 rc = dax_direct_access(dax_dev, pgoff, nr_pages, &kaddr, NULL);
70 dax_flush(dax_dev, kaddr, nr_pages << PAGE_SHIFT);
96 struct dax_device *dax_dev;
429 kill_dax(dev_info->dax_dev);
430 put_dax(dev_info->dax_dev);
695 dev_info->dax_dev = alloc_dax(dev_info, dev_info->gd->disk_name,
697 if (IS_ERR(dev_info->dax_dev)) {
698 rc = PTR_ERR(dev_info->dax_dev);
699 dev_info->dax_dev = NULL;
801 kill_dax(dev_info->dax_dev);
802 put_dax(dev_info->dax_dev);
950 dcssblk_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff,
953 struct dcssblk_dev_info *dev_info = dax_get_private(dax_dev);