Lines Matching refs:dax_device

66 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev)  in fs_dax_get_by_bdev()
87 struct dax_device *dax_dev; in __bdev_dax_supported()
180 struct dax_device { struct
193 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev)); in write_cache_show() argument
210 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev)); in write_cache_store()
229 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev)); in dax_visible()
265 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages, in dax_direct_access()
287 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, in dax_copy_from_iter()
297 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, in dax_copy_to_iter()
309 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size) in dax_flush()
317 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size) in dax_flush()
323 void dax_write_cache(struct dax_device *dax_dev, bool wc) in dax_write_cache()
332 bool dax_write_cache_enabled(struct dax_device *dax_dev) in dax_write_cache_enabled()
338 bool dax_alive(struct dax_device *dax_dev) in dax_alive()
356 void kill_dax(struct dax_device *dax_dev) in kill_dax()
375 struct dax_device *dax_dev; in dax_alloc_inode()
387 static struct dax_device *to_dax_dev(struct inode *inode) in to_dax_dev()
389 return container_of(inode, struct dax_device, inode); in to_dax_dev()
395 struct dax_device *dax_dev = to_dax_dev(inode); in dax_i_callback()
406 struct dax_device *dax_dev = to_dax_dev(inode); in dax_destroy_inode()
447 static struct dax_device *dax_dev_get(dev_t devt) in dax_dev_get()
449 struct dax_device *dax_dev; in dax_dev_get()
471 static void dax_add_host(struct dax_device *dax_dev, const char *host) in dax_add_host()
490 struct dax_device *alloc_dax(void *private, const char *__host, in alloc_dax()
493 struct dax_device *dax_dev; in alloc_dax()
524 void put_dax(struct dax_device *dax_dev) in put_dax()
536 struct dax_device *dax_get_by_host(const char *host) in dax_get_by_host()
538 struct dax_device *dax_dev, *found = NULL; in dax_get_by_host()
571 struct dax_device *inode_dax(struct inode *inode) in inode_dax()
575 return container_of(cdev, struct dax_device, cdev); in inode_dax()
579 struct inode *dax_inode(struct dax_device *dax_dev) in dax_inode()
585 void *dax_get_private(struct dax_device *dax_dev) in dax_get_private()
593 struct dax_device *dax_dev = _dax_dev; in init_once()
604 dax_cache = kmem_cache_create("dax_cache", sizeof(struct dax_device), 0, in __dax_fs_init()