Searched refs:dev_dax (Results 1 - 7 of 7) sorted by relevance

/linux-master/drivers/dax/
H A Ddevice.c17 static int check_vma(struct dev_dax *dev_dax, struct vm_area_struct *vma, argument
20 struct device *dev = &dev_dax->dev;
23 if (!dax_alive(dev_dax->dax_dev))
34 mask = dev_dax->align - 1;
54 __weak phys_addr_t dax_pgoff_to_phys(struct dev_dax *dev_dax, pgoff_t pgoff, argument
59 for (i = 0; i < dev_dax->nr_range; i++) {
60 struct dev_dax_range *dax_range = &dev_dax->ranges[i];
81 struct dev_dax *dev_da local
103 __dev_dax_pte_fault(struct dev_dax *dev_dax, struct vm_fault *vmf) argument
136 __dev_dax_pmd_fault(struct dev_dax *dev_dax, struct vm_fault *vmf) argument
180 __dev_dax_pud_fault(struct dev_dax *dev_dax, struct vm_fault *vmf) argument
224 __dev_dax_pud_fault(struct dev_dax *dev_dax, struct vm_fault *vmf) argument
236 struct dev_dax *dev_dax = filp->private_data; local
265 struct dev_dax *dev_dax = filp->private_data; local
275 struct dev_dax *dev_dax = filp->private_data; local
289 struct dev_dax *dev_dax = filp->private_data; local
315 struct dev_dax *dev_dax = filp ? filp->private_data : NULL; local
350 struct dev_dax *dev_dax = dax_get_private(dax_dev); local
367 struct dev_dax *dev_dax = filp->private_data; local
388 dev_dax_kill(void *dev_dax) argument
393 dev_dax_probe(struct dev_dax *dev_dax) argument
[all...]
H A Dbus.c74 struct dev_dax *dev_dax = to_dev_dax(dev); local
76 if (dev_dax->region->res.flags & IORESOURCE_DAX_KMEM)
184 bool static_dev_dax(struct dev_dax *dev_dax) argument
186 return is_static(dev_dax->region);
190 static u64 dev_dax_size(struct dev_dax *dev_dax) argument
197 for (i = 0; i < dev_dax->nr_range; i++)
198 size += range_len(&dev_dax
206 struct dev_dax *dev_dax = to_dev_dax(dev); local
238 struct dev_dax *dev_dax = to_dev_dax(dev); local
402 struct dev_dax *dev_dax = __devm_create_dev_dax(&data); local
426 kill_dev_dax(struct dev_dax *dev_dax) argument
444 trim_dev_dax_range(struct dev_dax *dev_dax) argument
462 free_dev_dax_ranges(struct dev_dax *dev_dax) argument
470 struct dev_dax *dev_dax = to_dev_dax(dev); local
505 __free_dev_dax_id(struct dev_dax *dev_dax) argument
521 free_dev_dax_id(struct dev_dax *dev_dax) argument
533 alloc_dev_dax_id(struct dev_dax *dev_dax) argument
551 struct dev_dax *dev_dax; local
701 struct dev_dax *dev_dax = to_dev_dax(parent); local
712 struct dev_dax *dev_dax = to_dev_dax(dev->parent); local
738 struct dev_dax *dev_dax = to_dev_dax(dev->parent); local
826 devm_register_dax_mapping(struct dev_dax *dev_dax, int range_id) argument
868 alloc_dev_dax_range(struct dev_dax *dev_dax, u64 start, resource_size_t size) argument
929 adjust_dev_dax_range(struct dev_dax *dev_dax, struct resource *res, resource_size_t size) argument
962 struct dev_dax *dev_dax = to_dev_dax(dev); local
975 alloc_is_aligned(struct dev_dax *dev_dax, resource_size_t size) argument
984 dev_dax_shrink(struct dev_dax *dev_dax, resource_size_t size) argument
1028 adjust_ok(struct dev_dax *dev_dax, struct resource *res) argument
1050 dev_dax_resize(struct dax_region *dax_region, struct dev_dax *dev_dax, resource_size_t size) argument
1128 struct dev_dax *dev_dax = to_dev_dax(dev); local
1197 struct dev_dax *dev_dax = to_dev_dax(dev); local
1234 struct dev_dax *dev_dax = to_dev_dax(dev); local
1239 dev_dax_validate_align(struct dev_dax *dev_dax) argument
1260 struct dev_dax *dev_dax = to_dev_dax(dev); local
1302 dev_dax_target_node(struct dev_dax *dev_dax) argument
1312 struct dev_dax *dev_dax = to_dev_dax(dev); local
1321 struct dev_dax *dev_dax = to_dev_dax(dev); local
1355 struct dev_dax *dev_dax = to_dev_dax(dev); local
1364 struct dev_dax *dev_dax = to_dev_dax(dev); local
1397 struct dev_dax *dev_dax = to_dev_dax(dev); local
1436 struct dev_dax *dev_dax = to_dev_dax(dev); local
1455 struct dev_dax *dev_dax; local
1568 struct dev_dax *dev_dax; local
[all...]
H 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);
H A Dkmem.c31 static int dax_kmem_range(struct dev_dax *dev_dax, int i, struct range *r) argument
33 struct dev_dax_range *dax_range = &dev_dax->ranges[i];
90 static int dev_dax_kmem_probe(struct dev_dax *dev_dax) argument
92 struct device *dev = &dev_dax->dev;
107 numa_node = dev_dax->target_node;
119 for (i = 0; i < dev_dax->nr_range; i++) {
122 rc = dax_kmem_range(dev_dax, i, &range);
139 data = kzalloc(struct_size(data, res, dev_dax
224 dev_dax_kmem_remove(struct dev_dax *dev_dax) argument
275 dev_dax_kmem_remove(struct dev_dax *dev_dax) argument
[all...]
H A Ddax-private.h50 * struct dev_dax - instance data for a subdivision of a dax region, and
54 * @target_node: effective numa node if dev_dax memory range is onlined
63 struct dev_dax { struct
89 static inline struct dev_dax *to_dev_dax(struct device *dev)
91 return container_of(dev, struct dev_dax, dev);
99 phys_addr_t dax_pgoff_to_phys(struct dev_dax *dev_dax, pgoff_t pgoff, unsigned long size);
H A Dpmem.c10 static struct dev_dax *__dax_pmem_probe(struct device *dev)
/linux-master/tools/testing/nvdimm/
H A Ddax-dev.c9 phys_addr_t dax_pgoff_to_phys(struct dev_dax *dev_dax, pgoff_t pgoff, argument
14 for (i = 0; i < dev_dax->nr_range; i++) {
15 struct dev_dax_range *dax_range = &dev_dax->ranges[i];
28 if (dev_dax->region->align > PAGE_SIZE)

Completed in 214 milliseconds