Home
last modified time | relevance | path

Searched refs:dax_dev (Results 1 – 12 of 12) sorted by relevance

/linux-4.19.296/include/linux/
Ddax.h34 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);
52 static inline void put_dax(struct dax_device *dax_dev) in put_dax() argument
55 static inline void kill_dax(struct dax_device *dax_dev) in kill_dax() argument
58 static inline void dax_write_cache(struct dax_device *dax_dev, bool wc) in dax_write_cache() argument
61 static inline bool dax_write_cache_enabled(struct dax_device *dax_dev) in dax_write_cache_enabled() argument
81 static inline void fs_put_dax(struct dax_device *dax_dev) in fs_put_dax() argument
83 put_dax(dax_dev); in fs_put_dax()
[all …]
Diomap.h62 struct dax_device *dax_dev; /* dax_dev for dax operations */ member
Ddevice-mapper.h145 struct dax_device *dax_dev; member
/linux-4.19.296/fs/
Ddax.c767 static int copy_user_dax(struct block_device *bdev, struct dax_device *dax_dev, in copy_user_dax() argument
781 rc = dax_direct_access(dax_dev, pgoff, PHYS_PFN(size), &kaddr, NULL); in copy_user_dax()
939 static int dax_writeback_one(struct dax_device *dax_dev, in dax_writeback_one() argument
999 dax_flush(dax_dev, page_address(pfn_to_page(pfn)), size); in dax_writeback_one()
1030 struct dax_device *dax_dev; in dax_writeback_mapping_range() local
1041 dax_dev = dax_get_by_host(bdev->bd_disk->disk_name); in dax_writeback_mapping_range()
1042 if (!dax_dev) in dax_writeback_mapping_range()
1067 ret = dax_writeback_one(dax_dev, mapping, indices[i], in dax_writeback_mapping_range()
1077 put_dax(dax_dev); in dax_writeback_mapping_range()
1100 length = dax_direct_access(iomap->dax_dev, pgoff, PHYS_PFN(size), in dax_iomap_pfn()
[all …]
Diomap.c1007 return __dax_zero_page_range(iomap->bdev, iomap->dax_dev, in iomap_dax_zero()
/linux-4.19.296/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() argument
54 static size_t dcssblk_dax_copy_to_iter(struct dax_device *dax_dev, in dcssblk_dax_copy_to_iter() argument
80 struct dax_device *dax_dev; member
413 kill_dax(dev_info->dax_dev); in dcssblk_shared_store()
414 put_dax(dev_info->dax_dev); in dcssblk_shared_store()
680 dev_info->dax_dev = alloc_dax(dev_info, dev_info->gd->disk_name, in dcssblk_add_store()
682 if (!dev_info->dax_dev) { in dcssblk_add_store()
785 kill_dax(dev_info->dax_dev); in dcssblk_remove_store()
786 put_dax(dev_info->dax_dev); in dcssblk_remove_store()
[all …]
/linux-4.19.296/fs/ext2/
Dsuper.c838 struct dax_device *dax_dev = fs_dax_get_by_bdev(sb->s_bdev); in ext2_fill_super() local
868 sbi->s_daxdev = dax_dev; in ext2_fill_super()
1237 fs_put_dax(dax_dev); in ext2_fill_super()
Dinode.c823 iomap->dax_dev = sbi->s_daxdev; in ext2_iomap_begin()
/linux-4.19.296/fs/xfs/
Dxfs_buf.c1823 struct dax_device *dax_dev) in xfs_alloc_buftarg() argument
1832 btp->bt_daxdev = dax_dev; in xfs_alloc_buftarg()
Dxfs_iomap.c62 iomap->dax_dev = xfs_find_daxdev_for_inode(VFS_I(ip)); in xfs_bmbt_to_iomap()
/linux-4.19.296/fs/ext4/
Dsuper.c3591 struct dax_device *dax_dev = fs_dax_get_by_bdev(sb->s_bdev); in ext4_fill_super() local
3618 sbi->s_daxdev = dax_dev; in ext4_fill_super()
4682 fs_put_dax(dax_dev); in ext4_fill_super()
Dinode.c3597 iomap->dax_dev = sbi->s_daxdev; in ext4_iomap_begin()