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 *alloc_dax(void *private, const char *host,
46 void put_dax(struct dax_device *dax_dev);
47 void kill_dax(struct dax_device *dax_dev);
48 void dax_write_cache(struct dax_device *dax_dev, bool wc);
49 bool dax_write_cache_enabled(struct dax_device *dax_dev);
50 bool __dax_synchronous(struct dax_device *dax_dev);
51 static inline bool dax_synchronous(struct dax_device *dax_dev) in dax_synchronous()
55 void __set_dax_synchronous(struct dax_device *dax_dev);
56 static inline void set_dax_synchronous(struct dax_device *dax_dev) in set_dax_synchronous()
64 struct dax_device *dax_dev) in daxdev_mapping_supported()
73 static inline struct dax_device *alloc_dax(void *private, const char *host, in alloc_dax()
82 static inline void put_dax(struct dax_device *dax_dev) in put_dax()
85 static inline void kill_dax(struct dax_device *dax_dev) in kill_dax()
88 static inline void dax_write_cache(struct dax_device *dax_dev, bool wc) in dax_write_cache()
91 static inline bool dax_write_cache_enabled(struct dax_device *dax_dev) in dax_write_cache_enabled()
95 static inline bool dax_synchronous(struct dax_device *dax_dev) in dax_synchronous()
99 static inline void set_dax_synchronous(struct dax_device *dax_dev) in set_dax_synchronous()
103 struct dax_device *dax_dev) in daxdev_mapping_supported()
112 bool generic_fsdax_supported(struct dax_device *dax_dev,
116 bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev,
119 static inline void fs_put_dax(struct dax_device *dax_dev) in fs_put_dax()
124 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev);
126 struct dax_device *dax_dev, struct writeback_control *wbc);
135 static inline bool dax_supported(struct dax_device *dax_dev, in dax_supported()
142 static inline void fs_put_dax(struct dax_device *dax_dev) in fs_put_dax()
146 static inline struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev) in fs_dax_get_by_bdev()
162 struct dax_device *dax_dev, struct writeback_control *wbc) in dax_writeback_mapping_range()
192 bool dax_alive(struct dax_device *dax_dev);
193 void *dax_get_private(struct dax_device *dax_dev);
194 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages,
196 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
198 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
200 int dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff,
202 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size);