Lines Matching refs:dax_device
29 struct dax_device { struct
63 int dax_add_host(struct dax_device *dax_dev, struct gendisk *disk) in dax_add_host()
82 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev, u64 *start_off, in fs_dax_get_by_bdev()
85 struct dax_device *dax_dev; in fs_dax_get_by_bdev()
130 void fs_put_dax(struct dax_device *dax_dev, void *holder) in fs_put_dax()
177 int fs_dax_get(struct dax_device *dax_dev, void *holder, in fs_dax_get()
249 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages, in dax_direct_access()
274 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, in dax_copy_from_iter()
290 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, in dax_copy_to_iter()
306 int dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff, in dax_zero_page_range()
330 size_t dax_recovery_write(struct dax_device *dax_dev, pgoff_t pgoff, in dax_recovery_write()
339 int dax_holder_notify_failure(struct dax_device *dax_dev, u64 off, in dax_holder_notify_failure()
372 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size) in dax_flush()
380 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size) in dax_flush()
386 void dax_write_cache(struct dax_device *dax_dev, bool wc) in dax_write_cache()
395 bool dax_write_cache_enabled(struct dax_device *dax_dev) in dax_write_cache_enabled()
401 bool dax_synchronous(struct dax_device *dax_dev) in dax_synchronous()
407 void set_dax_synchronous(struct dax_device *dax_dev) in set_dax_synchronous()
413 void set_dax_nocache(struct dax_device *dax_dev) in set_dax_nocache()
419 void set_dax_nomc(struct dax_device *dax_dev) in set_dax_nomc()
440 int dax_set_ops(struct dax_device *dax_dev, const struct dax_operations *ops) in dax_set_ops()
454 bool dax_alive(struct dax_device *dax_dev) in dax_alive()
472 void kill_dax(struct dax_device *dax_dev) in kill_dax()
490 void run_dax(struct dax_device *dax_dev) in run_dax()
498 struct dax_device *dax_dev; in dax_alloc_inode()
510 static struct dax_device *to_dax_dev(struct inode *inode) in to_dax_dev()
512 return container_of(inode, struct dax_device, inode); in to_dax_dev()
517 struct dax_device *dax_dev = to_dax_dev(inode); in dax_free_inode()
525 struct dax_device *dax_dev = to_dax_dev(inode); in dax_destroy_inode()
568 struct dax_device *dax_dev_get(dev_t devt) in dax_dev_get()
570 struct dax_device *dax_dev; in dax_dev_get()
593 struct dax_device *alloc_dax(void *private, const struct dax_operations *ops) in alloc_dax()
595 struct dax_device *dax_dev; in alloc_dax()
629 void put_dax(struct dax_device *dax_dev) in put_dax()
644 void *dax_holder(struct dax_device *dax_dev) in dax_holder()
657 struct dax_device *inode_dax(struct inode *inode) in inode_dax()
661 return container_of(cdev, struct dax_device, cdev); in inode_dax()
665 struct inode *dax_inode(struct dax_device *dax_dev) in dax_inode()
671 void *dax_get_private(struct dax_device *dax_dev) in dax_get_private()
681 struct dax_device *dax_dev = _dax_dev; in init_once()
692 dax_cache = kmem_cache_create("dax_cache", sizeof(struct dax_device), 0, in dax_fs_init()