| /linux/include/linux/ |
| H A D | dax.h | 11 struct dax_device; 28 long (*direct_access)(struct dax_device *, pgoff_t, long, 31 int (*zero_page_range)(struct dax_device *, pgoff_t, size_t); 36 size_t (*recovery_write)(struct dax_device *dax_dev, pgoff_t pgoff, 48 int (*notify_failure)(struct dax_device *dax_dev, u64 offset, 53 struct dax_device *alloc_dax(void *private, const struct dax_operations *ops); 54 void *dax_holder(struct dax_device *dax_dev); 55 void put_dax(struct dax_device *dax_dev); 56 void kill_dax(struct dax_device *dax_dev); 57 void dax_write_cache(struct dax_device *dax_dev, bool wc); [all …]
|
| H A D | iomap.h | 117 struct dax_device *dax_dev; /* dax_dev for dax operations */
|
| H A D | device-mapper.h | 176 struct dax_device *dax_dev;
|
| /linux/drivers/dax/ |
| H A D | super.c | 28 struct dax_device { struct 62 int dax_add_host(struct dax_device *dax_dev, struct gendisk *disk) in dax_add_host() 81 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev, u64 *start_off, in fs_dax_get_by_bdev() 84 struct dax_device *dax_dev; in fs_dax_get_by_bdev() 114 void fs_put_dax(struct dax_device *dax_dev, void *holder) in fs_put_dax() 149 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages, in dax_direct_access() 171 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, in dax_copy_from_iter() 187 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, in dax_copy_to_iter() 203 int dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff, in dax_zero_page_range() 223 size_t dax_recovery_write(struct dax_device *dax_dev, pgoff_t pgoff, in dax_recovery_write() [all …]
|
| H A D | dax-private.h | 13 struct dax_device; 14 struct dax_device *inode_dax(struct inode *inode); 15 struct inode *dax_inode(struct dax_device *dax_dev); 85 struct dax_device *dax_dev; 103 void run_dax(struct dax_device *dax_dev);
|
| H A D | bus.h | 10 struct dax_device;
|
| H A D | device.c | 358 struct dax_device *dax_dev = inode_dax(inode); in dax_open() 405 struct dax_device *dax_dev = dev_dax->dax_dev; in dev_dax_probe()
|
| H A D | bus.c | 425 struct dax_device *dax_dev = dev_dax->dax_dev; in kill_dev_dax() 1407 struct dax_device *dax_dev = dev_dax->dax_dev; in dev_dax_release() 1424 struct dax_device *dax_dev; in __devm_create_dev_dax()
|
| /linux/drivers/md/ |
| H A D | dm-linear.c | 162 static struct dax_device *linear_dax_pgoff(struct dm_target *ti, pgoff_t *pgoff) in linear_dax_pgoff() 175 struct dax_device *dax_dev = linear_dax_pgoff(ti, &pgoff); in linear_dax_direct_access() 183 struct dax_device *dax_dev = linear_dax_pgoff(ti, &pgoff); in linear_dax_zero_page_range() 191 struct dax_device *dax_dev = linear_dax_pgoff(ti, &pgoff); in linear_dax_recovery_write()
|
| H A D | dm-stripe.c | 302 static struct dax_device *stripe_dax_pgoff(struct dm_target *ti, pgoff_t *pgoff) in stripe_dax_pgoff() 321 struct dax_device *dax_dev = stripe_dax_pgoff(ti, &pgoff); in stripe_dax_direct_access() 329 struct dax_device *dax_dev = stripe_dax_pgoff(ti, &pgoff); in stripe_dax_zero_page_range() 337 struct dax_device *dax_dev = stripe_dax_pgoff(ti, &pgoff); in stripe_dax_recovery_write()
|
| H A D | dm-log-writes.c | 886 static struct dax_device *log_writes_dax_pgoff(struct dm_target *ti, in log_writes_dax_pgoff() 899 struct dax_device *dax_dev = log_writes_dax_pgoff(ti, &pgoff); 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() 915 struct dax_device *dax_dev = log_writes_dax_pgoff(ti, &pgoff); in log_writes_dax_recovery_write()
|
| H A D | dm-core.h | 79 struct dax_device *dax_dev;
|
| H A D | dm.c | 1210 static long dm_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_direct_access() 1238 static int dm_dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_zero_page_range() 1265 static size_t dm_dax_recovery_write(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_recovery_write() 2286 struct dax_device *dax_dev; in alloc_dev()
|
| /linux/drivers/nvdimm/ |
| H A D | pmem.h | 25 struct dax_device *dax_dev;
|
| H A D | pmem.c | 293 static int pmem_dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff, in pmem_dax_zero_page_range() 303 static long pmem_dax_direct_access(struct dax_device *dax_dev, in pmem_dax_direct_access() 325 static size_t pmem_recovery_write(struct dax_device *dax_dev, pgoff_t pgoff, in pmem_recovery_write() 464 struct dax_device *dax_dev; in pmem_attach_disk()
|
| /linux/drivers/md/dm-pcache/ |
| H A D | cache_dev.c | 19 static int build_vmap(struct dax_device *dax_dev, long total_pages, void **vaddr) in build_vmap() 67 struct dax_device *dax_dev; in cache_dev_dax_init()
|
| /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() 80 struct dax_device *dax_dev; 539 struct dax_device *dax_dev; in dcssblk_setup_dax() 950 dcssblk_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dcssblk_dax_direct_access()
|
| /linux/fs/fuse/ |
| H A D | virtio_fs.c | 72 struct dax_device *dax_dev; 1006 static long virtio_fs_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in virtio_fs_direct_access() 1021 static int virtio_fs_zero_page_range(struct dax_device *dax_dev, in virtio_fs_zero_page_range() 1044 struct dax_device *dax_dev = data; in virtio_fs_cleanup_dax() 1054 struct dax_device *dax_dev __free(cleanup_dax) = NULL; in virtio_fs_setup_dax()
|
| H A D | fuse_i.h | 624 struct dax_device *dax_dev; 1518 struct dax_device *dax_dev);
|
| H A D | dax.c | 73 struct dax_device *dev; 1248 struct dax_device *dax_dev) in fuse_dax_conn_alloc()
|
| /linux/fs/xfs/ |
| H A D | xfs_buf.h | 99 struct dax_device *bt_daxdev;
|
| H A D | xfs_notify_failure.c | 373 struct dax_device *dax_dev, in xfs_dax_notify_failure()
|
| /linux/fs/ |
| H A D | dax.c | 1100 static int dax_writeback_one(struct xa_state *xas, struct dax_device *dax_dev, in dax_writeback_one() 1200 struct dax_device *dax_dev, struct writeback_control *wbc) in dax_writeback_mapping_range() 1585 struct dax_device *dax_dev = iomap->dax_dev; in dax_iomap_iter()
|
| /linux/fs/erofs/ |
| H A D | internal.h | 46 struct dax_device *dax_dev;
|
| /linux/fs/ext2/ |
| H A D | ext2.h | 117 struct dax_device *s_daxdev;
|