Home
last modified time | relevance | path

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

12

/Linux-v5.4/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,
42 struct dax_device *dax_get_by_host(const char *host);
43 struct dax_device *alloc_dax(void *private, const char *host,
45 void put_dax(struct dax_device *dax_dev);
46 void kill_dax(struct dax_device *dax_dev);
47 void dax_write_cache(struct dax_device *dax_dev, bool wc);
[all …]
Diomap.h67 struct dax_device *dax_dev; /* dax_dev for dax operations */
Ddevice-mapper.h149 struct dax_device *dax_dev;
/Linux-v5.4/drivers/dax/
Dsuper.c60 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev) in fs_dax_get_by_bdev()
69 bool __generic_fsdax_supported(struct dax_device *dax_dev, in __generic_fsdax_supported()
162 struct dax_device *dax_dev; in __bdev_dax_supported()
211 struct dax_device { struct
224 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev)); in write_cache_show() argument
241 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev)); in write_cache_store()
260 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev)); in dax_visible()
296 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages, in dax_direct_access()
318 bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev, in dax_supported()
327 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, in dax_copy_from_iter()
[all …]
Ddax-private.h12 struct dax_device;
13 struct dax_device *inode_dax(struct inode *inode);
14 struct inode *dax_inode(struct dax_device *dax_dev);
50 struct dax_device *dax_dev;
Dbus.h9 struct dax_device;
55 void run_dax(struct dax_device *dax_dev);
Dbus.c357 struct dax_device *dax_dev = dev_dax->dax_dev; in kill_dev_dax()
369 struct dax_device *dax_dev = dev_dax->dax_dev; in dev_dax_release()
391 struct dax_device *dax_dev; in __devm_create_dev_dax()
Ddevice.c370 struct dax_device *dax_dev = inode_dax(inode); in dax_open()
417 struct dax_device *dax_dev = dev_dax->dax_dev; in dev_dax_probe()
/Linux-v5.4/drivers/md/
Ddm-linear.c172 struct dax_device *dax_dev = lc->dev->dax_dev; in linear_dax_direct_access()
187 struct dax_device *dax_dev = lc->dev->dax_dev; in linear_dax_copy_from_iter()
201 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.c1081 static long dm_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_direct_access()
1108 static bool dm_dax_supported(struct dax_device *dax_dev, struct block_device *bdev, in dm_dax_supported()
1127 static size_t dm_dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_copy_from_iter()
1151 static size_t dm_dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, in dm_dax_copy_to_iter()
/Linux-v5.4/fs/xfs/
Dxfs_aops.h32 extern struct dax_device *xfs_find_daxdev_for_inode(struct inode *);
Dxfs_buf.h82 struct dax_device *bt_daxdev;
345 struct block_device *, struct dax_device *);
Dxfs_super.c665 struct dax_device *dax_ddev = mp->m_ddev_targp->bt_daxdev; in xfs_close_devices()
669 struct dax_device *dax_logdev = mp->m_logdev_targp->bt_daxdev; in xfs_close_devices()
677 struct dax_device *dax_rtdev = mp->m_rtdev_targp->bt_daxdev; in xfs_close_devices()
702 struct dax_device *dax_ddev = fs_dax_get_by_bdev(ddev); in xfs_open_devices()
703 struct dax_device *dax_logdev = NULL, *dax_rtdev = NULL; in xfs_open_devices()
Dxfs_aops.c45 struct dax_device *
Dxfs_file.c1231 struct dax_device *dax_dev; in xfs_file_mmap()
Dxfs_buf.c1751 struct dax_device *dax_dev) in xfs_alloc_buftarg()
/Linux-v5.4/drivers/nvdimm/
Dpmem.h24 struct dax_device *dax_dev;
Dpmem.c272 static long pmem_dax_direct_access(struct dax_device *dax_dev, in pmem_dax_direct_access()
286 static size_t pmem_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, in pmem_copy_from_iter()
292 static size_t pmem_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, in pmem_copy_to_iter()
361 struct dax_device *dax_dev; in pmem_attach_disk()
/Linux-v5.4/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()
81 struct dax_device *dax_dev;
936 dcssblk_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, in dcssblk_dax_direct_access()
/Linux-v5.4/fs/
Ddax.c683 static int copy_user_dax(struct block_device *bdev, struct dax_device *dax_dev, in copy_user_dax()
849 static int dax_writeback_one(struct xa_state *xas, struct dax_device *dax_dev, in dax_writeback_one()
945 struct dax_device *dax_dev; in dax_writeback_mapping_range()
1061 struct dax_device *dax_dev, sector_t sector, in __dax_zero_page_range()
1097 struct dax_device *dax_dev = iomap->dax_dev; in dax_iomap_actor()
/Linux-v5.4/fs/ext4/
Dfile.c373 struct dax_device *dax_dev = sbi->s_daxdev; in ext4_file_mmap()
/Linux-v5.4/fs/ext2/
Dext2.h118 struct dax_device *s_daxdev;
Dsuper.c825 struct dax_device *dax_dev = fs_dax_get_by_bdev(sb->s_bdev); in ext2_fill_super()

12