Lines Matching refs:dax_dev
42 size_t (*recovery_write)(struct dax_device *dax_dev, pgoff_t pgoff,
54 int (*notify_failure)(struct dax_device *dax_dev, u64 offset,
60 void *dax_holder(struct dax_device *dax_dev);
61 void put_dax(struct dax_device *dax_dev);
62 void kill_dax(struct dax_device *dax_dev);
63 void dax_write_cache(struct dax_device *dax_dev, bool wc);
64 bool dax_write_cache_enabled(struct dax_device *dax_dev);
65 bool dax_synchronous(struct dax_device *dax_dev);
66 void set_dax_nocache(struct dax_device *dax_dev);
67 void set_dax_nomc(struct dax_device *dax_dev);
68 void set_dax_synchronous(struct dax_device *dax_dev);
69 size_t dax_recovery_write(struct dax_device *dax_dev, pgoff_t pgoff,
75 struct dax_device *dax_dev) in daxdev_mapping_supported() argument
81 return dax_synchronous(dax_dev); in daxdev_mapping_supported()
84 static inline void *dax_holder(struct dax_device *dax_dev) in dax_holder() argument
93 static inline void put_dax(struct dax_device *dax_dev) in put_dax() argument
96 static inline void kill_dax(struct dax_device *dax_dev) in kill_dax() argument
99 static inline void dax_write_cache(struct dax_device *dax_dev, bool wc) in dax_write_cache() argument
102 static inline bool dax_write_cache_enabled(struct dax_device *dax_dev) in dax_write_cache_enabled() argument
106 static inline bool dax_synchronous(struct dax_device *dax_dev) in dax_synchronous() argument
110 static inline void set_dax_nocache(struct dax_device *dax_dev) in set_dax_nocache() argument
113 static inline void set_dax_nomc(struct dax_device *dax_dev) in set_dax_nomc() argument
116 static inline void set_dax_synchronous(struct dax_device *dax_dev) in set_dax_synchronous() argument
120 struct dax_device *dax_dev) in daxdev_mapping_supported() argument
124 static inline size_t dax_recovery_write(struct dax_device *dax_dev, in dax_recovery_write() argument
133 int dax_add_host(struct dax_device *dax_dev, struct gendisk *disk);
137 void fs_put_dax(struct dax_device *dax_dev, void *holder);
139 static inline int dax_add_host(struct dax_device *dax_dev, struct gendisk *disk) in dax_add_host() argument
152 static inline void fs_put_dax(struct dax_device *dax_dev, void *holder) in fs_put_dax() argument
159 struct dax_device *dax_dev, struct writeback_control *wbc);
181 struct dax_device *dax_dev, struct writeback_control *wbc) in dax_writeback_mapping_range() argument
229 bool dax_alive(struct dax_device *dax_dev);
230 void *dax_get_private(struct dax_device *dax_dev);
231 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages,
233 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
235 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
237 int dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff,
239 int dax_holder_notify_failure(struct dax_device *dax_dev, u64 off, u64 len,
241 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size);