Lines Matching refs:dax_device

61 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev)  in fs_dax_get_by_bdev()
70 bool __generic_fsdax_supported(struct dax_device *dax_dev, in __generic_fsdax_supported()
170 struct dax_device *dax_dev; in __bdev_dax_supported()
219 struct dax_device { struct
232 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev)); in write_cache_show() argument
249 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev)); in write_cache_store()
268 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev)); in dax_visible()
304 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages, in dax_direct_access()
326 bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev, in dax_supported()
339 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, in dax_copy_from_iter()
349 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, in dax_copy_to_iter()
359 int dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff, in dax_zero_page_range()
378 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size) in dax_flush()
386 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size) in dax_flush()
392 void dax_write_cache(struct dax_device *dax_dev, bool wc) in dax_write_cache()
401 bool dax_write_cache_enabled(struct dax_device *dax_dev) in dax_write_cache_enabled()
407 bool __dax_synchronous(struct dax_device *dax_dev) in __dax_synchronous()
413 void __set_dax_synchronous(struct dax_device *dax_dev) in __set_dax_synchronous()
419 bool dax_alive(struct dax_device *dax_dev) in dax_alive()
437 void kill_dax(struct dax_device *dax_dev) in kill_dax()
452 void run_dax(struct dax_device *dax_dev) in run_dax()
460 struct dax_device *dax_dev; in dax_alloc_inode()
472 static struct dax_device *to_dax_dev(struct inode *inode) in to_dax_dev()
474 return container_of(inode, struct dax_device, inode); in to_dax_dev()
479 struct dax_device *dax_dev = to_dax_dev(inode); in dax_free_inode()
489 struct dax_device *dax_dev = to_dax_dev(inode); in dax_destroy_inode()
532 static struct dax_device *dax_dev_get(dev_t devt) in dax_dev_get()
534 struct dax_device *dax_dev; in dax_dev_get()
556 static void dax_add_host(struct dax_device *dax_dev, const char *host) in dax_add_host()
575 struct dax_device *alloc_dax(void *private, const char *__host, in alloc_dax()
578 struct dax_device *dax_dev; in alloc_dax()
619 void put_dax(struct dax_device *dax_dev) in put_dax()
631 struct dax_device *dax_get_by_host(const char *host) in dax_get_by_host()
633 struct dax_device *dax_dev, *found = NULL; in dax_get_by_host()
666 struct dax_device *inode_dax(struct inode *inode) in inode_dax()
670 return container_of(cdev, struct dax_device, cdev); in inode_dax()
674 struct inode *dax_inode(struct dax_device *dax_dev) in dax_inode()
680 void *dax_get_private(struct dax_device *dax_dev) in dax_get_private()
690 struct dax_device *dax_dev = _dax_dev; in init_once()
701 dax_cache = kmem_cache_create("dax_cache", sizeof(struct dax_device), 0, in dax_fs_init()