Lines Matching defs:dax_dev

42 	size_t (*recovery_write)(struct dax_device *dax_dev, pgoff_t pgoff,
49 * @dax_dev: the dax device which contains the holder
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)
81 return dax_synchronous(dax_dev);
84 static inline void *dax_holder(struct dax_device *dax_dev)
93 static inline void put_dax(struct dax_device *dax_dev)
96 static inline void kill_dax(struct dax_device *dax_dev)
99 static inline void dax_write_cache(struct dax_device *dax_dev, bool wc)
102 static inline bool dax_write_cache_enabled(struct dax_device *dax_dev)
106 static inline bool dax_synchronous(struct dax_device *dax_dev)
110 static inline void set_dax_nocache(struct dax_device *dax_dev)
113 static inline void set_dax_nomc(struct dax_device *dax_dev)
116 static inline void set_dax_synchronous(struct dax_device *dax_dev)
120 struct dax_device *dax_dev)
124 static inline size_t dax_recovery_write(struct dax_device *dax_dev,
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)
152 static inline void fs_put_dax(struct dax_device *dax_dev, void *holder)
159 struct dax_device *dax_dev, struct writeback_control *wbc);
181 struct dax_device *dax_dev, struct writeback_control *wbc)
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);