Lines Matching refs:dax_dev
47 void put_dax(struct dax_device *dax_dev);
48 void kill_dax(struct dax_device *dax_dev);
49 void dax_write_cache(struct dax_device *dax_dev, bool wc);
50 bool dax_write_cache_enabled(struct dax_device *dax_dev);
51 bool __dax_synchronous(struct dax_device *dax_dev);
52 static inline bool dax_synchronous(struct dax_device *dax_dev) in dax_synchronous() argument
54 return __dax_synchronous(dax_dev); in dax_synchronous()
56 void __set_dax_synchronous(struct dax_device *dax_dev);
57 static inline void set_dax_synchronous(struct dax_device *dax_dev) in set_dax_synchronous() argument
59 __set_dax_synchronous(dax_dev); in set_dax_synchronous()
61 bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev,
67 struct dax_device *dax_dev) in daxdev_mapping_supported() argument
73 return dax_synchronous(dax_dev); in daxdev_mapping_supported()
89 static inline void put_dax(struct dax_device *dax_dev) in put_dax() argument
92 static inline void kill_dax(struct dax_device *dax_dev) in kill_dax() argument
95 static inline void dax_write_cache(struct dax_device *dax_dev, bool wc) in dax_write_cache() argument
98 static inline bool dax_write_cache_enabled(struct dax_device *dax_dev) in dax_write_cache_enabled() argument
102 static inline bool dax_synchronous(struct dax_device *dax_dev) in dax_synchronous() argument
106 static inline void set_dax_synchronous(struct dax_device *dax_dev) in set_dax_synchronous() argument
109 static inline bool dax_supported(struct dax_device *dax_dev, in dax_supported() argument
116 struct dax_device *dax_dev) in daxdev_mapping_supported() argument
131 bool __generic_fsdax_supported(struct dax_device *dax_dev,
134 static inline bool generic_fsdax_supported(struct dax_device *dax_dev, in generic_fsdax_supported() argument
138 return __generic_fsdax_supported(dax_dev, bdev, blocksize, start, in generic_fsdax_supported()
142 static inline void fs_put_dax(struct dax_device *dax_dev) in fs_put_dax() argument
144 put_dax(dax_dev); in fs_put_dax()
149 struct dax_device *dax_dev, struct writeback_control *wbc);
162 static inline bool generic_fsdax_supported(struct dax_device *dax_dev, in generic_fsdax_supported() argument
169 static inline void fs_put_dax(struct dax_device *dax_dev) in fs_put_dax() argument
189 struct dax_device *dax_dev, struct writeback_control *wbc) in dax_writeback_mapping_range() argument
219 bool dax_alive(struct dax_device *dax_dev);
220 void *dax_get_private(struct dax_device *dax_dev);
221 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages,
223 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
225 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
227 int dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff,
229 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size);