| /linux/drivers/nvdimm/ |
| H A D | dax_devs.c | 91 struct device *dax_dev; in nd_dax_probe() local 109 dax_dev = nd_dax_devinit(nd_dax, ndns); in nd_dax_probe() 110 if (!dax_dev) in nd_dax_probe() 117 dev_dbg(dev, "dax: %s\n", rc == 0 ? dev_name(dax_dev) : "<none>"); in nd_dax_probe() 119 nd_detach_ndns(dax_dev, &nd_pfn->ndns); in nd_dax_probe() 120 put_device(dax_dev); in nd_dax_probe() 122 nd_device_register(dax_dev); in nd_dax_probe()
|
| /linux/drivers/md/ |
| H A D | dm-linear.c | 168 return lc->dev->dax_dev; in linear_dax_pgoff() 175 struct dax_device *dax_dev = linear_dax_pgoff(ti, &pgoff); in linear_dax_direct_access() local 177 return dax_direct_access(dax_dev, pgoff, nr_pages, mode, kaddr, pfn); in linear_dax_direct_access() 183 struct dax_device *dax_dev = linear_dax_pgoff(ti, &pgoff); in linear_dax_zero_page_range() local 185 return dax_zero_page_range(dax_dev, pgoff, nr_pages); in linear_dax_zero_page_range() 191 struct dax_device *dax_dev = linear_dax_pgoff(ti, &pgoff); in linear_dax_recovery_write() local 193 return dax_recovery_write(dax_dev, pgoff, addr, bytes, i); in linear_dax_recovery_write()
|
| H A D | dm-stripe.c | 314 return sc->stripe[stripe].dev->dax_dev; in stripe_dax_pgoff() 321 struct dax_device *dax_dev = stripe_dax_pgoff(ti, &pgoff); in stripe_dax_direct_access() local 323 return dax_direct_access(dax_dev, pgoff, nr_pages, mode, kaddr, pfn); in stripe_dax_direct_access() 329 struct dax_device *dax_dev = stripe_dax_pgoff(ti, &pgoff); in stripe_dax_zero_page_range() local 331 return dax_zero_page_range(dax_dev, pgoff, nr_pages); in stripe_dax_zero_page_range() 337 struct dax_device *dax_dev = stripe_dax_pgoff(ti, &pgoff); in stripe_dax_recovery_write() local 339 return dax_recovery_write(dax_dev, pgoff, addr, bytes, i); in stripe_dax_recovery_write()
|
| H A D | dm-log-writes.c | 892 return lc->dev->dax_dev; in log_writes_dax_pgoff() 899 struct dax_device *dax_dev = log_writes_dax_pgoff(ti, &pgoff); in log_writes_dax_direct_access() local 901 return dax_direct_access(dax_dev, pgoff, nr_pages, mode, kaddr, pfn); in log_writes_dax_direct_access() 907 struct dax_device *dax_dev = log_writes_dax_pgoff(ti, &pgoff); in log_writes_dax_zero_page_range() local 909 return dax_zero_page_range(dax_dev, pgoff, nr_pages << PAGE_SHIFT); in log_writes_dax_zero_page_range() 915 struct dax_device *dax_dev = log_writes_dax_pgoff(ti, &pgoff); in log_writes_dax_recovery_write() local 917 return dax_recovery_write(dax_dev, pgoff, addr, bytes, i); in log_writes_dax_recovery_write()
|
| H A D | dm-table.c | 853 if (dev->dax_dev) in device_not_dax_capable() 864 return !dev->dax_dev || !dax_synchronous(dev->dax_dev); in device_not_dax_synchronous_capable() 1884 struct dax_device *dax_dev = dev->dax_dev; in device_dax_write_cache_enabled() local 1886 if (!dax_dev) in device_dax_write_cache_enabled() 1889 if (dax_write_cache_enabled(dax_dev)) in device_dax_write_cache_enabled() 2105 set_dax_synchronous(t->md->dax_dev); in dm_table_set_restrictions() 2108 dax_write_cache(t->md->dax_dev, true); in dm_table_set_restrictions()
|
| /linux/drivers/s390/block/ |
| H A D | dcssblk.c | 32 static long dcssblk_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, 46 static int dcssblk_dax_zero_page_range(struct dax_device *dax_dev, in dcssblk_dax_zero_page_range() argument 52 rc = dax_direct_access(dax_dev, pgoff, nr_pages, DAX_ACCESS, in dcssblk_dax_zero_page_range() 58 dax_flush(dax_dev, kaddr, nr_pages << PAGE_SHIFT); in dcssblk_dax_zero_page_range() 80 struct dax_device *dax_dev; member 415 kill_dax(dev_info->dax_dev); in dcssblk_shared_store() 416 put_dax(dev_info->dax_dev); in dcssblk_shared_store() 539 struct dax_device *dax_dev; in dcssblk_setup_dax() local 541 dax_dev = alloc_dax(dev_info, &dcssblk_dax_ops); in dcssblk_setup_dax() 542 if (IS_ERR(dax_dev)) in dcssblk_setup_dax() [all …]
|
| /linux/fs/xfs/ |
| H A D | xfs_notify_failure.c | 373 struct dax_device *dax_dev, in xfs_dax_notify_failure() argument 378 struct xfs_mount *mp = dax_holder(dax_dev); in xfs_dax_notify_failure() 386 mp->m_logdev_targp->bt_daxdev == dax_dev) { in xfs_dax_notify_failure() 391 (mp->m_rtdev_targp && mp->m_rtdev_targp->bt_daxdev == dax_dev) ? in xfs_dax_notify_failure()
|
| /linux/fs/erofs/ |
| H A D | super.c | 165 dif->dax_dev = fs_dax_get_by_bdev(file_bdev(file), in erofs_init_device() 171 if (!dif->dax_dev && test_opt(&sbi->opt, DAX_ALWAYS)) { in erofs_init_device() 212 if (test_opt(&sbi->opt, DAX_ALWAYS) && !sbi->dif0.dax_dev) { in erofs_scan_devices() 697 sbi->dif0.dax_dev = fs_dax_get_by_bdev(sb->s_bdev, in erofs_fc_fill_super() 848 fs_put_dax(dif->dax_dev, NULL); in erofs_release_device_info() 937 fs_put_dax(sbi->dif0.dax_dev, NULL); in erofs_kill_sb()
|
| H A D | internal.h | 46 struct dax_device *dax_dev; member
|
| /linux/fs/fuse/ |
| H A D | dax.c | 579 iomap->dax_dev = fc->dax->dev; in fuse_iomap_begin() 1248 struct dax_device *dax_dev) in fuse_dax_conn_alloc() argument 1255 if (!dax_dev) in fuse_dax_conn_alloc() 1263 fcd->dev = dax_dev; in fuse_dax_conn_alloc()
|
| H A D | inode.c | 1908 err = fuse_dax_conn_alloc(fc, ctx->dax_mode, ctx->dax_dev); in fuse_fill_super_common()
|
| /linux/Documentation/filesystems/iomap/ |
| H A D | design.rst | 167 struct dax_device *dax_dev; 197 The device is returned in ``bdev`` or ``dax_dev``. 202 The device is returned in ``bdev`` or ``dax_dev``. 282 * ``dax_dev`` describes the DAX device for this mapping.
|
| /linux/fs/ext4/ |
| H A D | inode.c | 3494 iomap->dax_dev = EXT4_SB(inode->i_sb)->s_daxdev; in ext4_set_iomap()
|