Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Ddax.h11 struct dax_device;
18 long (*direct_access)(struct dax_device *, pgoff_t, long,
21 size_t (*copy_from_iter)(struct dax_device *, pgoff_t, void *, size_t,
24 size_t (*copy_to_iter)(struct dax_device *, pgoff_t, void *, size_t,
31 struct dax_device *dax_get_by_host(const char *host);
32 struct dax_device *alloc_dax(void *private, const char *host,
34 void put_dax(struct dax_device *dax_dev);
35 void kill_dax(struct dax_device *dax_dev);
36 void dax_write_cache(struct dax_device *dax_dev, bool wc);
37 bool dax_write_cache_enabled(struct dax_device *dax_dev);
[all …]
Diomap.h62 struct dax_device *dax_dev; /* dax_dev for dax operations */
Ddevice-mapper.h144 struct dax_device *dax_dev;
/Linux-v4.19/drivers/dax/
Dsuper.c66 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev) in fs_dax_get_by_bdev()
87 struct dax_device *dax_dev; in __bdev_dax_supported()
180 struct dax_device { struct
193 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev)); in write_cache_show() argument
210 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev)); in write_cache_store()
229 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev)); in dax_visible()
265 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages, in dax_direct_access()
287 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, in dax_copy_from_iter()
297 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, in dax_copy_to_iter()
309 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size) in dax_flush()
[all …]
Ddax.h15 struct dax_device;
16 struct dax_device *inode_dax(struct inode *inode);
17 struct inode *dax_inode(struct dax_device *dax_dev);
Ddax-private.h51 struct dax_device *dax_dev;
Ddevice.c545 struct dax_device *dax_dev = inode_dax(inode); in dax_open()
583 struct dax_device *dax_dev = dev_dax->dax_dev; in dev_dax_release()
594 struct dax_device *dax_dev = dev_dax->dax_dev; in kill_dev_dax()
604 struct dax_device *dax_dev = dev_dax->dax_dev; in unregister_dev_dax()
619 struct dax_device *dax_dev; in devm_create_dev_dax()
/Linux-v4.19/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()
Ddm-core.h61 struct dax_device *dax_dev;
Ddm-stripe.c322 struct dax_device *dax_dev; in stripe_dax_direct_access()
343 struct dax_device *dax_dev; in stripe_dax_copy_from_iter()
362 struct dax_device *dax_dev; in stripe_dax_copy_to_iter()
Ddm.c1042 static long dm_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_direct_access()
1069 static size_t dm_dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_copy_from_iter()
1093 static size_t dm_dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_copy_to_iter()
1865 struct dax_device *dax_dev = NULL; in alloc_dev()
Ddm-table.c1678 struct dax_device *dax_dev = dev->dax_dev; in device_dax_write_cache_enabled()
/Linux-v4.19/drivers/nvdimm/
Dpmem.h24 struct dax_device *dax_dev;
Dpmem.c276 static long pmem_dax_direct_access(struct dax_device *dax_dev, in pmem_dax_direct_access()
284 static size_t pmem_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, in pmem_copy_from_iter()
290 static size_t pmem_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, in pmem_copy_to_iter()
357 struct dax_device *dax_dev; in pmem_attach_disk()
/Linux-v4.19/fs/xfs/
Dxfs_aops.h53 extern struct dax_device *xfs_find_daxdev_for_inode(struct inode *);
Dxfs_buf.h98 struct dax_device *bt_daxdev;
380 struct block_device *, struct dax_device *);
Dxfs_super.c689 struct dax_device *dax_ddev = mp->m_ddev_targp->bt_daxdev; in xfs_close_devices()
693 struct dax_device *dax_logdev = mp->m_logdev_targp->bt_daxdev; in xfs_close_devices()
701 struct dax_device *dax_rtdev = mp->m_rtdev_targp->bt_daxdev; in xfs_close_devices()
726 struct dax_device *dax_ddev = fs_dax_get_by_bdev(ddev); in xfs_open_devices()
727 struct dax_device *dax_logdev = NULL, *dax_rtdev = NULL; in xfs_open_devices()
Dxfs_aops.c49 struct dax_device *
Dxfs_buf.c1786 struct dax_device *dax_dev) in xfs_alloc_buftarg()
/Linux-v4.19/drivers/s390/block/
Ddcssblk.c36 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()
80 struct dax_device *dax_dev;
935 dcssblk_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dcssblk_dax_direct_access()
/Linux-v4.19/fs/
Ddax.c769 static int copy_user_dax(struct block_device *bdev, struct dax_device *dax_dev, in copy_user_dax()
940 static int dax_writeback_one(struct dax_device *dax_dev, in dax_writeback_one()
1031 struct dax_device *dax_dev; in dax_writeback_mapping_range()
1157 struct dax_device *dax_dev, sector_t sector, in __dax_zero_page_range()
1193 struct dax_device *dax_dev = iomap->dax_dev; in dax_iomap_actor()
/Linux-v4.19/fs/ext2/
Dext2.h118 struct dax_device *s_daxdev;
Dsuper.c824 struct dax_device *dax_dev = fs_dax_get_by_bdev(sb->s_bdev); in ext2_fill_super()
/Linux-v4.19/fs/ext4/
Dext4.h1513 struct dax_device *s_daxdev;
Dsuper.c3496 struct dax_device *dax_dev = fs_dax_get_by_bdev(sb->s_bdev); in ext4_fill_super()