Home
last modified time | relevance | path

Searched refs:dax_device (Results 1 – 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/
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_dev);
[all …]
Diomap.h87 struct dax_device *dax_dev; /* dax_dev for dax operations */
Ddevice-mapper.h151 struct dax_device *dax_dev;
/kernel/linux/linux-5.10/drivers/dax/
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()
219 struct dax_device { struct
232 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev)); in write_cache_show() argument
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()
304 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages, in dax_direct_access()
326 bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev, in dax_supported()
339 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, in dax_copy_from_iter()
[all …]
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);
64 struct dax_device *dax_dev;
Dbus.h10 struct dax_device;
61 void run_dax(struct dax_device *dax_dev);
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()
Dbus.c362 struct dax_device *dax_dev = dev_dax->dax_dev; in kill_dev_dax()
1271 struct dax_device *dax_dev = dev_dax->dax_dev; in dev_dax_release()
1289 struct dax_device *dax_dev; in devm_create_dev_dax()
/kernel/linux/linux-5.10/drivers/md/
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()
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()
Ddm-core.h64 struct dax_device *dax_dev;
Ddm.c1109 static long dm_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_direct_access()
1136 static bool dm_dax_supported(struct dax_device *dax_dev, struct block_device *bdev, in dm_dax_supported()
1156 static size_t dm_dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_copy_from_iter()
1180 static size_t dm_dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_copy_to_iter()
1204 static int dm_dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_zero_page_range()
Ddm-table.c1618 struct dax_device *dax_dev = dev->dax_dev; in device_dax_write_cache_enabled()
/kernel/linux/linux-5.10/drivers/nvdimm/
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()
Dpmem.h24 struct dax_device *dax_dev;
/kernel/linux/linux-5.10/drivers/s390/block/
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-5.10/fs/xfs/
Dxfs_buf.h91 struct dax_device *bt_daxdev;
348 struct block_device *, struct dax_device *);
Dxfs_super.c350 struct dax_device *dax_ddev = mp->m_ddev_targp->bt_daxdev; in xfs_close_devices()
354 struct dax_device *dax_logdev = mp->m_logdev_targp->bt_daxdev; in xfs_close_devices()
362 struct dax_device *dax_rtdev = mp->m_rtdev_targp->bt_daxdev; in xfs_close_devices()
387 struct dax_device *dax_ddev = fs_dax_get_by_bdev(ddev); in xfs_open_devices()
388 struct dax_device *dax_logdev = NULL, *dax_rtdev = NULL; in xfs_open_devices()
/kernel/linux/linux-5.10/fs/fuse/
Dvirtio_fs.c57 struct dax_device *dax_dev;
740 static long virtio_fs_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in virtio_fs_direct_access()
755 static size_t virtio_fs_copy_from_iter(struct dax_device *dax_dev, in virtio_fs_copy_from_iter()
762 static size_t virtio_fs_copy_to_iter(struct dax_device *dax_dev, in virtio_fs_copy_to_iter()
769 static int virtio_fs_zero_page_range(struct dax_device *dax_dev, in virtio_fs_zero_page_range()
792 struct dax_device *dax_dev = data; in virtio_fs_cleanup_dax()
Dfuse_i.h513 struct dax_device *dax_dev;
1228 int fuse_dax_conn_alloc(struct fuse_conn *fc, struct dax_device *dax_dev);
Ddax.c73 struct dax_device *dev;
1288 int fuse_dax_conn_alloc(struct fuse_conn *fc, struct dax_device *dax_dev) in fuse_dax_conn_alloc()
/kernel/linux/linux-5.10/fs/
Ddax.c712 static int copy_cow_page_dax(struct block_device *bdev, struct dax_device *dax_dev, in copy_cow_page_dax()
877 static int dax_writeback_one(struct xa_state *xas, struct dax_device *dax_dev, in dax_writeback_one()
968 struct dax_device *dax_dev, struct writeback_control *wbc) in dax_writeback_mapping_range()
1111 struct dax_device *dax_dev = iomap->dax_dev; in dax_iomap_actor()
/kernel/linux/linux-5.10/fs/ext2/
Dext2.h118 struct dax_device *s_daxdev;
Dsuper.c808 struct dax_device *dax_dev = fs_dax_get_by_bdev(sb->s_bdev); in ext2_fill_super()
/kernel/linux/linux-5.10/fs/ext4/
Dfile.c769 struct dax_device *dax_dev = sbi->s_daxdev; in ext4_file_mmap()

12