Home
last modified time | relevance | path

Searched refs:dax_device (Results 1 - 25 of 55) sorted by relevance

123

/kernel/linux/linux-5.10/include/linux/
H A Ddax.h16 struct dax_device;
23 long (*direct_access)(struct dax_device *, pgoff_t, long,
29 bool (*dax_supported)(struct dax_device *, struct block_device *, int,
32 size_t (*copy_from_iter)(struct dax_device *, pgoff_t, void *, size_t,
35 size_t (*copy_to_iter)(struct dax_device *, pgoff_t, void *, size_t,
38 int (*zero_page_range)(struct dax_device *, pgoff_t, size_t);
44 struct dax_device *dax_get_by_host(const char *host);
45 struct dax_device *alloc_dax(void *private, const char *host,
47 void put_dax(struct dax_device *dax_dev);
48 void kill_dax(struct dax_device *dax_de
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Ddax.h11 struct dax_device;
28 long (*direct_access)(struct dax_device *, pgoff_t, long,
34 bool (*dax_supported)(struct dax_device *, struct block_device *, int,
37 int (*zero_page_range)(struct dax_device *, pgoff_t, size_t);
42 size_t (*recovery_write)(struct dax_device *dax_dev, pgoff_t pgoff,
54 int (*notify_failure)(struct dax_device *dax_dev, u64 offset,
59 struct dax_device *alloc_dax(void *private, const struct dax_operations *ops);
60 void *dax_holder(struct dax_device *dax_dev);
61 void put_dax(struct dax_device *dax_dev);
62 void kill_dax(struct dax_device *dax_de
[all...]
/kernel/linux/linux-6.6/drivers/dax/
H A Dsuper.c19 * struct dax_device - anchor object for dax services
25 * @holder_data: holder of a dax_device: could be filesystem or mapped device
28 struct dax_device { struct
62 int dax_add_host(struct dax_device *dax_dev, struct gendisk *disk) in dax_add_host()
76 * @bdev: block device to find a dax_device for
77 * @start_off: returns the byte offset into the dax_device that @bdev starts
78 * @holder: filesystem or mapped device inside the dax_device
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_de
[all...]
H A Ddax-private.h13 struct dax_device;
14 struct dax_device *inode_dax(struct inode *inode);
15 struct inode *dax_inode(struct dax_device *dax_dev);
65 struct dax_device *dax_dev;
86 void run_dax(struct dax_device *dax_dev);
H A Dbus.h10 struct dax_device;
H A Ddevice.c348 struct dax_device *dax_dev = inode_dax(inode); in dax_open()
395 struct dax_device *dax_dev = dev_dax->dax_dev; in dev_dax_probe()
/kernel/linux/linux-5.10/drivers/dax/
H A Dsuper.c61 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev) in fs_dax_get_by_bdev()
70 bool __generic_fsdax_supported(struct dax_device *dax_dev, in __generic_fsdax_supported()
170 struct dax_device *dax_dev; in __bdev_dax_supported()
212 * struct dax_device - anchor object for dax services
219 struct dax_device { struct
232 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev)); in write_cache_show()
249 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev)); in write_cache_store()
268 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev)); in dax_visible()
295 * @dax_dev: a dax_device instance representing the logical memory range
304 long dax_direct_access(struct dax_device *dax_de
[all...]
H A Ddax-private.h13 struct dax_device;
14 struct dax_device *inode_dax(struct inode *inode);
15 struct inode *dax_inode(struct dax_device *dax_dev);
65 struct dax_device *dax_dev;
H A Dbus.h10 struct dax_device;
61 void run_dax(struct dax_device *dax_dev);
H A Ddevice.c346 struct dax_device *dax_dev = inode_dax(inode); in dax_open()
393 struct dax_device *dax_dev = dev_dax->dax_dev; in dev_dax_probe()
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-linear.c159 static struct dax_device *linear_dax_pgoff(struct dm_target *ti, pgoff_t *pgoff) in linear_dax_pgoff()
172 struct dax_device *dax_dev = linear_dax_pgoff(ti, &pgoff); in linear_dax_direct_access()
180 struct dax_device *dax_dev = linear_dax_pgoff(ti, &pgoff); in linear_dax_zero_page_range()
188 struct dax_device *dax_dev = linear_dax_pgoff(ti, &pgoff); in linear_dax_recovery_write()
H A Ddm-stripe.c301 static struct dax_device *stripe_dax_pgoff(struct dm_target *ti, pgoff_t *pgoff) in stripe_dax_pgoff()
320 struct dax_device *dax_dev = stripe_dax_pgoff(ti, &pgoff); in stripe_dax_direct_access()
328 struct dax_device *dax_dev = stripe_dax_pgoff(ti, &pgoff); in stripe_dax_zero_page_range()
336 struct dax_device *dax_dev = stripe_dax_pgoff(ti, &pgoff); in stripe_dax_recovery_write()
H A Ddm-log-writes.c883 static struct dax_device *log_writes_dax_pgoff(struct dm_target *ti, in log_writes_dax_pgoff()
896 struct dax_device *dax_dev = log_writes_dax_pgoff(ti, &pgoff); in log_writes_dax_direct_access()
904 struct dax_device *dax_dev = log_writes_dax_pgoff(ti, &pgoff); in log_writes_dax_zero_page_range()
912 struct dax_device *dax_dev = log_writes_dax_pgoff(ti, &pgoff); in log_writes_dax_recovery_write()
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-linear.c166 struct dax_device *dax_dev = lc->dev->dax_dev; in linear_dax_direct_access()
181 struct dax_device *dax_dev = lc->dev->dax_dev; in linear_dax_copy_from_iter()
195 struct dax_device *dax_dev = lc->dev->dax_dev; in linear_dax_copy_to_iter()
210 struct dax_device *dax_dev = lc->dev->dax_dev; in linear_dax_zero_page_range()
H A Ddm-stripe.c309 struct dax_device *dax_dev; in stripe_dax_direct_access()
330 struct dax_device *dax_dev; in stripe_dax_copy_from_iter()
349 struct dax_device *dax_dev; in stripe_dax_copy_to_iter()
369 struct dax_device *dax_dev; in stripe_dax_zero_page_range()
H A Ddm-core.h66 struct dax_device *dax_dev;
/kernel/linux/linux-5.10/drivers/nvdimm/
H A Dpmem.c286 static int pmem_dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff, in pmem_dax_zero_page_range()
296 static long pmem_dax_direct_access(struct dax_device *dax_dev, in pmem_dax_direct_access()
310 static size_t pmem_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, in pmem_copy_from_iter()
316 static size_t pmem_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, in pmem_copy_to_iter()
380 struct dax_device *dax_dev; in pmem_attach_disk()
H A Dpmem.h24 struct dax_device *dax_dev;
/kernel/linux/linux-6.6/drivers/nvdimm/
H A Dpmem.h27 struct dax_device *dax_dev;
H A Dpmem.c294 static int pmem_dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff, in pmem_dax_zero_page_range()
304 static long pmem_dax_direct_access(struct dax_device *dax_dev, in pmem_dax_direct_access()
326 static size_t pmem_recovery_write(struct dax_device *dax_dev, pgoff_t pgoff, in pmem_recovery_write()
458 struct dax_device *dax_dev; in pmem_attach_disk()
/kernel/linux/linux-5.10/drivers/s390/block/
H A Ddcssblk.c35 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, in dcssblk_dax_copy_from_iter()
54 static size_t dcssblk_dax_copy_to_iter(struct dax_device *dax_dev, in dcssblk_dax_copy_to_iter()
60 static int dcssblk_dax_zero_page_range(struct dax_device *dax_dev, in dcssblk_dax_zero_page_range()
96 struct dax_device *dax_dev;
950 dcssblk_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dcssblk_dax_direct_access()
/kernel/linux/linux-6.6/fs/erofs/
H A Dinternal.h51 struct dax_device *dax_dev;
143 struct dax_device *dax_dev;
381 struct dax_device *m_daxdev;
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_buf.h91 struct dax_device *bt_daxdev;
348 struct block_device *, struct dax_device *);
/kernel/linux/linux-5.10/fs/fuse/
H A Dvirtio_fs.c63 struct dax_device *dax_dev;
746 static long virtio_fs_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in virtio_fs_direct_access()
761 static size_t virtio_fs_copy_from_iter(struct dax_device *dax_dev, in virtio_fs_copy_from_iter()
768 static size_t virtio_fs_copy_to_iter(struct dax_device *dax_dev, in virtio_fs_copy_to_iter()
775 static int virtio_fs_zero_page_range(struct dax_device *dax_dev, in virtio_fs_zero_page_range()
798 struct dax_device *dax_dev = data; in virtio_fs_cleanup_dax()
/kernel/linux/linux-6.6/drivers/s390/block/
H A Ddcssblk.c34 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()
82 struct dax_device *dax_dev;
929 dcssblk_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dcssblk_dax_direct_access()

Completed in 19 milliseconds

123