Lines Matching refs:dax_device
11 struct dax_device;
28 long (*direct_access)(struct dax_device *, pgoff_t, long,
34 bool (*dax_supported)(struct dax_device *, struct block_device *, int,
37 int (*zero_page_range)(struct dax_device *, pgoff_t, size_t);
42 size_t (*recovery_write)(struct dax_device *dax_dev, pgoff_t pgoff,
54 int (*notify_failure)(struct dax_device *dax_dev, u64 offset,
59 struct dax_device *alloc_dax(void *private, const struct dax_operations *ops);
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_synchronous(struct dax_device *dax_dev);
67 size_t dax_recovery_write(struct dax_device *dax_dev, pgoff_t pgoff,
73 struct dax_device *dax_dev) in daxdev_mapping_supported()
82 static inline void *dax_holder(struct dax_device *dax_dev) in dax_holder()
86 static inline struct dax_device *alloc_dax(void *private, in alloc_dax()
95 static inline void put_dax(struct dax_device *dax_dev) in put_dax()
98 static inline void kill_dax(struct dax_device *dax_dev) in kill_dax()
101 static inline void dax_write_cache(struct dax_device *dax_dev, bool wc) in dax_write_cache()
104 static inline bool dax_write_cache_enabled(struct dax_device *dax_dev) in dax_write_cache_enabled()
108 static inline bool dax_synchronous(struct dax_device *dax_dev) in dax_synchronous()
112 static inline void set_dax_synchronous(struct dax_device *dax_dev) in set_dax_synchronous()
116 struct dax_device *dax_dev) in daxdev_mapping_supported()
120 static inline size_t dax_recovery_write(struct dax_device *dax_dev, in dax_recovery_write()
127 void set_dax_nocache(struct dax_device *dax_dev);
128 void set_dax_nomc(struct dax_device *dax_dev);
132 int dax_add_host(struct dax_device *dax_dev, struct gendisk *disk);
134 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev, u64 *start_off,
136 void fs_put_dax(struct dax_device *dax_dev, void *holder);
138 static inline int dax_add_host(struct dax_device *dax_dev, struct gendisk *disk) in dax_add_host()
145 static inline struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev, in fs_dax_get_by_bdev()
151 static inline void fs_put_dax(struct dax_device *dax_dev, void *holder) in fs_put_dax()
158 struct dax_device *dax_dev, struct writeback_control *wbc);
180 struct dax_device *dax_dev, struct writeback_control *wbc) in dax_writeback_mapping_range()
226 bool dax_alive(struct dax_device *dax_dev);
227 void *dax_get_private(struct dax_device *dax_dev);
228 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages,
230 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
232 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
234 int dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff,
236 int dax_holder_notify_failure(struct dax_device *dax_dev, u64 off, u64 len,
238 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size);