Lines Matching refs:dax_device

11 struct dax_device;
28 long (*direct_access)(struct dax_device *, pgoff_t, long,
31 int (*zero_page_range)(struct dax_device *, pgoff_t, size_t);
36 size_t (*recovery_write)(struct dax_device *dax_dev, pgoff_t pgoff,
48 int (*notify_failure)(struct dax_device *dax_dev, u64 offset,
53 struct dax_device *alloc_dax(void *private, const struct dax_operations *ops);
54 void *dax_holder(struct dax_device *dax_dev);
55 void put_dax(struct dax_device *dax_dev);
56 void kill_dax(struct dax_device *dax_dev);
57 void dax_write_cache(struct dax_device *dax_dev, bool wc);
58 bool dax_write_cache_enabled(struct dax_device *dax_dev);
59 bool dax_synchronous(struct dax_device *dax_dev);
60 void set_dax_nocache(struct dax_device *dax_dev);
61 void set_dax_nomc(struct dax_device *dax_dev);
62 void set_dax_synchronous(struct dax_device *dax_dev);
63 size_t dax_recovery_write(struct dax_device *dax_dev, pgoff_t pgoff,
69 struct dax_device *dax_dev) in daxdev_mapping_supported()
78 static inline void *dax_holder(struct dax_device *dax_dev) in dax_holder()
82 static inline struct dax_device *alloc_dax(void *private, in alloc_dax()
87 static inline void put_dax(struct dax_device *dax_dev) in put_dax()
90 static inline void kill_dax(struct dax_device *dax_dev) in kill_dax()
93 static inline void dax_write_cache(struct dax_device *dax_dev, bool wc) in dax_write_cache()
96 static inline bool dax_write_cache_enabled(struct dax_device *dax_dev) in dax_write_cache_enabled()
100 static inline bool dax_synchronous(struct dax_device *dax_dev) in dax_synchronous()
104 static inline void set_dax_nocache(struct dax_device *dax_dev) in set_dax_nocache()
107 static inline void set_dax_nomc(struct dax_device *dax_dev) in set_dax_nomc()
110 static inline void set_dax_synchronous(struct dax_device *dax_dev) in set_dax_synchronous()
114 struct dax_device *dax_dev) in daxdev_mapping_supported()
118 static inline size_t dax_recovery_write(struct dax_device *dax_dev, in dax_recovery_write()
127 int dax_add_host(struct dax_device *dax_dev, struct gendisk *disk);
129 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev, u64 *start_off,
131 void fs_put_dax(struct dax_device *dax_dev, void *holder);
133 static inline int dax_add_host(struct dax_device *dax_dev, struct gendisk *disk) in dax_add_host()
140 static inline struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev, in fs_dax_get_by_bdev()
146 static inline void fs_put_dax(struct dax_device *dax_dev, void *holder) in fs_put_dax()
153 struct dax_device *dax_dev, struct writeback_control *wbc);
175 struct dax_device *dax_dev, struct writeback_control *wbc) in dax_writeback_mapping_range()
241 bool dax_alive(struct dax_device *dax_dev);
242 void *dax_get_private(struct dax_device *dax_dev);
243 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages,
245 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
247 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
249 int dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff,
251 int dax_holder_notify_failure(struct dax_device *dax_dev, u64 off, u64 len,
253 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size);