Lines Matching refs:dax_device
28 struct dax_device { struct
62 int dax_add_host(struct dax_device *dax_dev, struct gendisk *disk) in dax_add_host()
81 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev, u64 *start_off, in fs_dax_get_by_bdev()
84 struct dax_device *dax_dev; in fs_dax_get_by_bdev()
114 void fs_put_dax(struct dax_device *dax_dev, void *holder) in fs_put_dax()
149 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages, in dax_direct_access()
171 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, in dax_copy_from_iter()
187 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, in dax_copy_to_iter()
203 int dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff, in dax_zero_page_range()
223 size_t dax_recovery_write(struct dax_device *dax_dev, pgoff_t pgoff, in dax_recovery_write()
232 int dax_holder_notify_failure(struct dax_device *dax_dev, u64 off, in dax_holder_notify_failure()
257 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size) in dax_flush()
265 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size) in dax_flush()
271 void dax_write_cache(struct dax_device *dax_dev, bool wc) in dax_write_cache()
280 bool dax_write_cache_enabled(struct dax_device *dax_dev) in dax_write_cache_enabled()
286 bool dax_synchronous(struct dax_device *dax_dev) in dax_synchronous()
292 void set_dax_synchronous(struct dax_device *dax_dev) in set_dax_synchronous()
298 void set_dax_nocache(struct dax_device *dax_dev) in set_dax_nocache()
304 void set_dax_nomc(struct dax_device *dax_dev) in set_dax_nomc()
310 bool dax_alive(struct dax_device *dax_dev) in dax_alive()
328 void kill_dax(struct dax_device *dax_dev) in kill_dax()
346 void run_dax(struct dax_device *dax_dev) in run_dax()
354 struct dax_device *dax_dev; in dax_alloc_inode()
366 static struct dax_device *to_dax_dev(struct inode *inode) in to_dax_dev()
368 return container_of(inode, struct dax_device, inode); in to_dax_dev()
373 struct dax_device *dax_dev = to_dax_dev(inode); in dax_free_inode()
381 struct dax_device *dax_dev = to_dax_dev(inode); in dax_destroy_inode()
424 static struct dax_device *dax_dev_get(dev_t devt) in dax_dev_get()
426 struct dax_device *dax_dev; in dax_dev_get()
448 struct dax_device *alloc_dax(void *private, const struct dax_operations *ops) in alloc_dax()
450 struct dax_device *dax_dev; in alloc_dax()
484 void put_dax(struct dax_device *dax_dev) in put_dax()
499 void *dax_holder(struct dax_device *dax_dev) in dax_holder()
512 struct dax_device *inode_dax(struct inode *inode) in inode_dax()
516 return container_of(cdev, struct dax_device, cdev); in inode_dax()
520 struct inode *dax_inode(struct dax_device *dax_dev) in dax_inode()
526 void *dax_get_private(struct dax_device *dax_dev) in dax_get_private()
536 struct dax_device *dax_dev = _dax_dev; in init_once()
547 dax_cache = kmem_cache_create("dax_cache", sizeof(struct dax_device), 0, in dax_fs_init()