Home
last modified time | relevance | path

Searched refs:dev_dax (Results 1 – 9 of 9) sorted by relevance

/linux-6.3-rc2/drivers/dax/
A Dbus.c62 struct dev_dax *dev_dax = to_dev_dax(dev); in dax_match_type() local
172 bool static_dev_dax(struct dev_dax *dev_dax) in static_dev_dax() argument
194 struct dev_dax *dev_dax = to_dev_dax(dev); in dax_bus_probe() local
219 struct dev_dax *dev_dax = to_dev_dax(dev); in dax_bus_remove() local
395 void kill_dev_dax(struct dev_dax *dev_dax) in kill_dev_dax() argument
439 struct dev_dax *dev_dax = to_dev_dax(dev); in unregister_dev_dax() local
480 struct dev_dax *dev_dax; in delete_store() local
891 struct dev_dax *dev_dax = to_dev_dax(dev); in size_show() local
1054 struct dev_dax *dev_dax = to_dev_dax(dev); in size_store() local
1113 struct dev_dax *dev_dax = to_dev_dax(dev); in mapping_store() local
[all …]
A Ddevice.c81 struct dev_dax *dev_dax = filp->private_data; in dax_set_mapping() local
103 static vm_fault_t __dev_dax_pte_fault(struct dev_dax *dev_dax, in __dev_dax_pte_fault() argument
136 static vm_fault_t __dev_dax_pmd_fault(struct dev_dax *dev_dax, in __dev_dax_pmd_fault() argument
237 struct dev_dax *dev_dax = filp->private_data; in dev_dax_huge_fault() local
271 struct dev_dax *dev_dax = filp->private_data; in dev_dax_may_split() local
281 struct dev_dax *dev_dax = filp->private_data; in dev_dax_pagesize() local
295 struct dev_dax *dev_dax = filp->private_data; in dax_mmap() local
321 struct dev_dax *dev_dax = filp ? filp->private_data : NULL; in dax_get_unmapped_area() local
356 struct dev_dax *dev_dax = dax_get_private(dax_dev); in dax_open() local
373 struct dev_dax *dev_dax = filp->private_data; in dax_release() local
[all …]
A Dkmem.c30 static int dax_kmem_range(struct dev_dax *dev_dax, int i, struct range *r) in dax_kmem_range() argument
53 static int dev_dax_kmem_probe(struct dev_dax *dev_dax) in dev_dax_kmem_probe() argument
55 struct device *dev = &dev_dax->dev; in dev_dax_kmem_probe()
67 numa_node = dev_dax->target_node; in dev_dax_kmem_probe()
74 for (i = 0; i < dev_dax->nr_range; i++) { in dev_dax_kmem_probe()
77 rc = dax_kmem_range(dev_dax, i, &range); in dev_dax_kmem_probe()
175 static void dev_dax_kmem_remove(struct dev_dax *dev_dax) in dev_dax_kmem_remove() argument
178 int node = dev_dax->target_node; in dev_dax_kmem_remove()
179 struct device *dev = &dev_dax->dev; in dev_dax_kmem_remove()
210 if (success >= dev_dax->nr_range) { in dev_dax_kmem_remove()
[all …]
A Dbus.h8 struct dev_dax;
29 struct dev_dax *devm_create_dev_dax(struct dev_dax_data *data);
40 int (*probe)(struct dev_dax *dev);
41 void (*remove)(struct dev_dax *dev);
49 void kill_dev_dax(struct dev_dax *dev_dax);
50 bool static_dev_dax(struct dev_dax *dev_dax);
A Dcxl.c16 struct dev_dax *dev_dax; in cxl_dax_region_probe() local
31 dev_dax = devm_create_dev_dax(&data); in cxl_dax_region_probe()
32 if (IS_ERR(dev_dax)) in cxl_dax_region_probe()
33 return PTR_ERR(dev_dax); in cxl_dax_region_probe()
A Ddax-private.h62 struct dev_dax { struct
79 static inline struct dev_dax *to_dev_dax(struct device *dev) in to_dev_dax() argument
81 return container_of(dev, struct dev_dax, dev); in to_dev_dax()
89 phys_addr_t dax_pgoff_to_phys(struct dev_dax *dev_dax, pgoff_t pgoff, unsigned long size);
A Dpmem.c10 static struct dev_dax *__dax_pmem_probe(struct device *dev) in __dax_pmem_probe()
16 struct dev_dax *dev_dax; in __dax_pmem_probe() local
68 dev_dax = devm_create_dev_dax(&data); in __dax_pmem_probe()
73 return dev_dax; in __dax_pmem_probe()
/linux-6.3-rc2/tools/testing/nvdimm/
A Ddax-dev.c9 phys_addr_t dax_pgoff_to_phys(struct dev_dax *dev_dax, pgoff_t pgoff, in dax_pgoff_to_phys() argument
14 for (i = 0; i < dev_dax->nr_range; i++) { in dax_pgoff_to_phys()
15 struct dev_dax_range *dax_range = &dev_dax->ranges[i]; in dax_pgoff_to_phys()
28 if (dev_dax->region->align > PAGE_SIZE) in dax_pgoff_to_phys()
/linux-6.3-rc2/drivers/dax/hmem/
A Dhmem.c19 struct dev_dax *dev_dax; in dax_hmem_probe() local
41 dev_dax = devm_create_dev_dax(&data); in dax_hmem_probe()
42 if (IS_ERR(dev_dax)) in dax_hmem_probe()
43 return PTR_ERR(dev_dax); in dax_hmem_probe()

Completed in 12 milliseconds