Lines Matching refs: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, in dcssblk_dax_zero_page_range() argument
54 rc = dax_direct_access(dax_dev, pgoff, nr_pages, DAX_ACCESS, in dcssblk_dax_zero_page_range()
60 dax_flush(dax_dev, kaddr, nr_pages << PAGE_SHIFT); in dcssblk_dax_zero_page_range()
82 struct dax_device *dax_dev; member
417 kill_dax(dev_info->dax_dev); in dcssblk_shared_store()
418 put_dax(dev_info->dax_dev); in dcssblk_shared_store()
680 dev_info->dax_dev = alloc_dax(dev_info, &dcssblk_dax_ops); in dcssblk_add_store()
681 if (IS_ERR(dev_info->dax_dev)) { in dcssblk_add_store()
682 rc = PTR_ERR(dev_info->dax_dev); in dcssblk_add_store()
683 dev_info->dax_dev = NULL; in dcssblk_add_store()
686 set_dax_synchronous(dev_info->dax_dev); in dcssblk_add_store()
687 rc = dax_add_host(dev_info->dax_dev, dev_info->gd); in dcssblk_add_store()
714 kill_dax(dev_info->dax_dev); in dcssblk_add_store()
715 put_dax(dev_info->dax_dev); in dcssblk_add_store()
799 kill_dax(dev_info->dax_dev); in dcssblk_remove_store()
800 put_dax(dev_info->dax_dev); in dcssblk_remove_store()
929 dcssblk_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dcssblk_dax_direct_access() argument
933 struct dcssblk_dev_info *dev_info = dax_get_private(dax_dev); in dcssblk_dax_direct_access()