Lines Matching refs:dax_device
16 struct dax_device;
23 long (*direct_access)(struct dax_device *, pgoff_t, long,
29 bool (*dax_supported)(struct dax_device *, struct block_device *, int,
32 size_t (*copy_from_iter)(struct dax_device *, pgoff_t, void *, size_t,
35 size_t (*copy_to_iter)(struct dax_device *, pgoff_t, void *, size_t,
38 int (*zero_page_range)(struct dax_device *, pgoff_t, size_t);
44 struct dax_device *dax_get_by_host(const char *host);
45 struct dax_device *alloc_dax(void *private, const char *host,
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()
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()
61 bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev,
67 struct dax_device *dax_dev) in daxdev_mapping_supported()
76 static inline struct dax_device *dax_get_by_host(const char *host) in dax_get_by_host()
80 static inline struct dax_device *alloc_dax(void *private, const char *host, in alloc_dax()
89 static inline void put_dax(struct dax_device *dax_dev) in put_dax()
92 static inline void kill_dax(struct dax_device *dax_dev) in kill_dax()
95 static inline void dax_write_cache(struct dax_device *dax_dev, bool wc) in dax_write_cache()
98 static inline bool dax_write_cache_enabled(struct dax_device *dax_dev) in dax_write_cache_enabled()
102 static inline bool dax_synchronous(struct dax_device *dax_dev) in dax_synchronous()
106 static inline void set_dax_synchronous(struct dax_device *dax_dev) in set_dax_synchronous()
109 static inline bool dax_supported(struct dax_device *dax_dev, in dax_supported()
116 struct dax_device *dax_dev) in daxdev_mapping_supported()
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()
142 static inline void fs_put_dax(struct dax_device *dax_dev) in fs_put_dax()
147 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev);
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()
169 static inline void fs_put_dax(struct dax_device *dax_dev) in fs_put_dax()
173 static inline struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev) in fs_dax_get_by_bdev()
189 struct dax_device *dax_dev, struct writeback_control *wbc) in dax_writeback_mapping_range()
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);