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,
42 struct dax_device *dax_get_by_host(const char *host);
43 struct dax_device *alloc_dax(void *private, const char *host,
45 void put_dax(struct dax_device *dax_dev);
46 void kill_dax(struct dax_device *dax_dev);
47 void dax_write_cache(struct dax_device *dax_dev, bool wc);
48 bool dax_write_cache_enabled(struct dax_device *dax_dev);
49 bool __dax_synchronous(struct dax_device *dax_dev);
50 static inline bool dax_synchronous(struct dax_device *dax_dev) in dax_synchronous()
54 void __set_dax_synchronous(struct dax_device *dax_dev);
55 static inline void set_dax_synchronous(struct dax_device *dax_dev) in set_dax_synchronous()
63 struct dax_device *dax_dev) in daxdev_mapping_supported()
72 static inline struct dax_device *dax_get_by_host(const char *host) in dax_get_by_host()
76 static inline struct dax_device *alloc_dax(void *private, const char *host, in alloc_dax()
85 static inline void put_dax(struct dax_device *dax_dev) in put_dax()
88 static inline void kill_dax(struct dax_device *dax_dev) in kill_dax()
91 static inline void dax_write_cache(struct dax_device *dax_dev, bool wc) in dax_write_cache()
94 static inline bool dax_write_cache_enabled(struct dax_device *dax_dev) in dax_write_cache_enabled()
98 static inline bool dax_synchronous(struct dax_device *dax_dev) in dax_synchronous()
102 static inline void set_dax_synchronous(struct dax_device *dax_dev) in set_dax_synchronous()
106 struct dax_device *dax_dev) in daxdev_mapping_supported()
121 bool __generic_fsdax_supported(struct dax_device *dax_dev,
124 static inline bool generic_fsdax_supported(struct dax_device *dax_dev, in generic_fsdax_supported()
132 static inline struct dax_device *fs_dax_get_by_host(const char *host) in fs_dax_get_by_host()
137 static inline void fs_put_dax(struct dax_device *dax_dev) in fs_put_dax()
142 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev);
156 static inline bool generic_fsdax_supported(struct dax_device *dax_dev, in generic_fsdax_supported()
163 static inline struct dax_device *fs_dax_get_by_host(const char *host) in fs_dax_get_by_host()
168 static inline void fs_put_dax(struct dax_device *dax_dev) in fs_put_dax()
172 static inline struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev) in fs_dax_get_by_bdev()
202 bool dax_alive(struct dax_device *dax_dev);
203 void *dax_get_private(struct dax_device *dax_dev);
204 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages,
206 bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev,
208 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
210 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
212 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size);
226 struct dax_device *dax_dev, sector_t sector,
230 struct dax_device *dax_dev, sector_t sector, in __dax_zero_page_range()