Lines Matching refs:dax_dev
36 size_t (*recovery_write)(struct dax_device *dax_dev, pgoff_t pgoff,
48 int (*notify_failure)(struct dax_device *dax_dev, u64 offset,
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() argument
75 return dax_synchronous(dax_dev); in daxdev_mapping_supported()
78 static inline void *dax_holder(struct dax_device *dax_dev) in dax_holder() argument
87 static inline void put_dax(struct dax_device *dax_dev) in put_dax() argument
90 static inline void kill_dax(struct dax_device *dax_dev) in kill_dax() argument
93 static inline void dax_write_cache(struct dax_device *dax_dev, bool wc) in dax_write_cache() argument
96 static inline bool dax_write_cache_enabled(struct dax_device *dax_dev) in dax_write_cache_enabled() argument
100 static inline bool dax_synchronous(struct dax_device *dax_dev) in dax_synchronous() argument
104 static inline void set_dax_nocache(struct dax_device *dax_dev) in set_dax_nocache() argument
107 static inline void set_dax_nomc(struct dax_device *dax_dev) in set_dax_nomc() argument
110 static inline void set_dax_synchronous(struct dax_device *dax_dev) in set_dax_synchronous() argument
114 struct dax_device *dax_dev) in daxdev_mapping_supported() argument
118 static inline size_t dax_recovery_write(struct dax_device *dax_dev, in dax_recovery_write() argument
127 int dax_add_host(struct dax_device *dax_dev, struct gendisk *disk);
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() argument
146 static inline void fs_put_dax(struct dax_device *dax_dev, void *holder) in fs_put_dax() argument
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() argument
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);