Lines Matching refs:dax_device

61 struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev)
70 bool __generic_fsdax_supported(struct dax_device *dax_dev,
170 struct dax_device *dax_dev;
212 * struct dax_device - anchor object for dax services
219 struct dax_device {
232 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev));
249 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev));
268 struct dax_device *dax_dev = dax_get_by_host(dev_name(dev));
295 * @dax_dev: a dax_device instance representing the logical memory range
304 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages,
326 bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev,
339 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
349 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
359 int dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff,
378 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size)
386 void dax_flush(struct dax_device *dax_dev, void *addr, size_t size)
392 void dax_write_cache(struct dax_device *dax_dev, bool wc)
401 bool dax_write_cache_enabled(struct dax_device *dax_dev)
407 bool __dax_synchronous(struct dax_device *dax_dev)
413 void __set_dax_synchronous(struct dax_device *dax_dev)
419 bool dax_alive(struct dax_device *dax_dev)
437 void kill_dax(struct dax_device *dax_dev)
452 void run_dax(struct dax_device *dax_dev)
460 struct dax_device *dax_dev;
472 static struct dax_device *to_dax_dev(struct inode *inode)
474 return container_of(inode, struct dax_device, inode);
479 struct dax_device *dax_dev = to_dax_dev(inode);
489 struct dax_device *dax_dev = to_dax_dev(inode);
532 static struct dax_device *dax_dev_get(dev_t devt)
534 struct dax_device *dax_dev;
556 static void dax_add_host(struct dax_device *dax_dev, const char *host)
575 struct dax_device *alloc_dax(void *private, const char *__host,
578 struct dax_device *dax_dev;
619 void put_dax(struct dax_device *dax_dev)
631 struct dax_device *dax_get_by_host(const char *host)
633 struct dax_device *dax_dev, *found = NULL;
666 struct dax_device *inode_dax(struct inode *inode)
670 return container_of(cdev, struct dax_device, cdev);
674 struct inode *dax_inode(struct dax_device *dax_dev)
680 void *dax_get_private(struct dax_device *dax_dev)
690 struct dax_device *dax_dev = _dax_dev;
701 dax_cache = kmem_cache_create("dax_cache", sizeof(struct dax_device), 0,