Lines Matching refs:dax_device
11 struct dax_device;
18 long (*direct_access)(struct dax_device *, pgoff_t, long,
21 size_t (*copy_from_iter)(struct dax_device *, pgoff_t, void *, size_t,
24 size_t (*copy_to_iter)(struct dax_device *, pgoff_t, void *, size_t,
31 struct dax_device *dax_get_by_host(const char *host);
32 struct dax_device *alloc_dax(void *private, const char *host,
34 void put_dax(struct dax_device *dax_dev);
35 void kill_dax(struct dax_device *dax_dev);
36 void dax_write_cache(struct dax_device *dax_dev, bool wc);
37 bool dax_write_cache_enabled(struct dax_device *dax_dev);
39 static inline struct dax_device *dax_get_by_host(const char *host) in dax_get_by_host()
43 static inline struct dax_device *alloc_dax(void *private, const char *host, in alloc_dax()
52 static inline void put_dax(struct dax_device *dax_dev) in put_dax()
55 static inline void kill_dax(struct dax_device *dax_dev) in kill_dax()
58 static inline void dax_write_cache(struct dax_device *dax_dev, bool wc) in dax_write_cache()
61 static inline bool dax_write_cache_enabled(struct dax_device *dax_dev) in dax_write_cache_enabled()
76 static inline struct dax_device *fs_dax_get_by_host(const char *host) in fs_dax_get_by_host()
81 static inline void fs_put_dax(struct dax_device *dax_dev) in fs_put_dax()
86 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev);
100 static inline struct dax_device *fs_dax_get_by_host(const char *host) in fs_dax_get_by_host()
105 static inline void fs_put_dax(struct dax_device *dax_dev) in fs_put_dax()
109 static inline struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev) in fs_dax_get_by_bdev()
139 bool dax_alive(struct dax_device *dax_dev);
140 void *dax_get_private(struct dax_device *dax_dev);
141 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages,
143 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
145 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
147 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size);
161 struct dax_device *dax_dev, sector_t sector,
165 struct dax_device *dax_dev, sector_t sector, in __dax_zero_page_range()