| /kernel/linux/linux-5.10/tools/testing/nvdimm/ |
| H A D | dax-dev.c | 9 phys_addr_t dax_pgoff_to_phys(struct dev_dax *dev_dax, pgoff_t pgoff, in dax_pgoff_to_phys() argument
|
| /kernel/linux/linux-6.6/tools/testing/nvdimm/ |
| H A D | dax-dev.c | 9 phys_addr_t dax_pgoff_to_phys(struct dev_dax *dev_dax, pgoff_t pgoff, in dax_pgoff_to_phys() argument
|
| /kernel/linux/linux-5.10/drivers/dax/pmem/ |
| H A D | compat.c | 15 struct dev_dax *dev_dax = __dax_pmem_probe(dev, DEV_DAX_CLASS); in dax_pmem_compat_probe() local [all...] |
| H A D | core.c | 16 struct dev_dax *dev_dax; in __dax_pmem_probe() local
|
| /kernel/linux/linux-5.10/drivers/dax/hmem/ |
| H A D | hmem.c | 17 struct dev_dax *dev_dax; in dax_hmem_probe() local
|
| /kernel/linux/linux-5.10/drivers/dax/ |
| H A D | kmem.c | 22 static int dax_kmem_range(struct dev_dax *dev_dax, int i, struct range *r) in dax_kmem_range() argument 43 static int dev_dax_kmem_probe(struct dev_dax *dev_dax) in dev_dax_kmem_probe() argument 139 dev_dax_kmem_remove(struct dev_dax *dev_dax) dev_dax_kmem_remove() argument 183 dev_dax_kmem_remove(struct dev_dax *dev_dax) dev_dax_kmem_remove() argument [all...] |
| H A D | dax-private.h | 63 struct dev_dax { struct
|
| H A D | device.c | 17 static int check_vma(struct dev_dax *dev_dax, struct vm_area_struct *vma, in check_vma() argument 54 __weak phys_addr_t dax_pgoff_to_phys(struct dev_dax *dev_dax, pgoff_t pgoff, in dax_pgoff_to_phys() argument 76 static vm_fault_t __dev_dax_pte_fault(struct dev_dax *dev_da argument 106 __dev_dax_pmd_fault(struct dev_dax *dev_dax, struct vm_fault *vmf, pfn_t *pfn) __dev_dax_pmd_fault() argument 147 __dev_dax_pud_fault(struct dev_dax *dev_dax, struct vm_fault *vmf, pfn_t *pfn) __dev_dax_pud_fault() argument 188 __dev_dax_pud_fault(struct dev_dax *dev_dax, struct vm_fault *vmf, pfn_t *pfn) __dev_dax_pud_fault() argument 203 struct dev_dax *dev_dax = filp->private_data; dev_dax_huge_fault() local 262 struct dev_dax *dev_dax = filp->private_data; dev_dax_split() local 272 struct dev_dax *dev_dax = filp->private_data; dev_dax_pagesize() local 286 struct dev_dax *dev_dax = filp->private_data; dax_mmap() local 312 struct dev_dax *dev_dax = filp ? filp->private_data : NULL; dax_get_unmapped_area() local 348 struct dev_dax *dev_dax = dax_get_private(dax_dev); dax_open() local 365 struct dev_dax *dev_dax = filp->private_data; dax_release() local 386 dev_dax_kill(void *dev_dax) dev_dax_kill() argument 391 dev_dax_probe(struct dev_dax *dev_dax) dev_dax_probe() argument 455 dev_dax_remove(struct dev_dax *dev_dax) dev_dax_remove() argument [all...] |
| H A D | bus.c | 139 static u64 dev_dax_size(struct dev_dax *dev_dax) in dev_dax_size() argument 155 struct dev_dax *dev_dax = to_dev_dax(dev); in dax_bus_probe() local 180 struct dev_dax *dev_dax = to_dev_dax(dev); dax_bus_remove() local 336 struct dev_dax *dev_dax = devm_create_dev_dax(&data); create_store() local 360 kill_dev_dax(struct dev_dax *dev_dax) kill_dev_dax() argument 370 trim_dev_dax_range(struct dev_dax *dev_dax) trim_dev_dax_range() argument 388 free_dev_dax_ranges(struct dev_dax *dev_dax) free_dev_dax_ranges() argument 396 struct dev_dax *dev_dax = to_dev_dax(dev); unregister_dev_dax() local 421 __free_dev_dax_id(struct dev_dax *dev_dax) __free_dev_dax_id() argument 438 free_dev_dax_id(struct dev_dax *dev_dax) free_dev_dax_id() argument 449 alloc_dev_dax_id(struct dev_dax *dev_dax) alloc_dev_dax_id() argument 467 struct dev_dax *dev_dax; delete_store() local 612 struct dev_dax *dev_dax = to_dev_dax(parent); dax_mapping_release() local 623 struct dev_dax *dev_dax = to_dev_dax(dev->parent); unregister_dax_mapping() local 640 struct dev_dax *dev_dax = to_dev_dax(dev->parent); get_dax_range() local 655 struct dev_dax *dev_dax = to_dev_dax(mapping->dev.parent); put_dax_range() local 730 devm_register_dax_mapping(struct dev_dax *dev_dax, int range_id) devm_register_dax_mapping() argument 772 alloc_dev_dax_range(struct dev_dax *dev_dax, u64 start, resource_size_t size) alloc_dev_dax_range() argument 841 adjust_dev_dax_range(struct dev_dax *dev_dax, struct resource *res, resource_size_t size) adjust_dev_dax_range() argument 875 struct dev_dax *dev_dax = to_dev_dax(dev); size_show() local 885 alloc_is_aligned(struct dev_dax *dev_dax, resource_size_t size) alloc_is_aligned() argument 894 dev_dax_shrink(struct dev_dax *dev_dax, resource_size_t size) dev_dax_shrink() argument 938 adjust_ok(struct dev_dax *dev_dax, struct resource *res) adjust_ok() argument 960 dev_dax_resize(struct dax_region *dax_region, struct dev_dax *dev_dax, resource_size_t size) dev_dax_resize() argument 1038 struct dev_dax *dev_dax = to_dev_dax(dev); size_store() local 1097 struct dev_dax *dev_dax = to_dev_dax(dev); mapping_store() local 1128 struct dev_dax *dev_dax = to_dev_dax(dev); align_show() local 1133 dev_dax_validate_align(struct dev_dax *dev_dax) dev_dax_validate_align() argument 1161 struct dev_dax *dev_dax = to_dev_dax(dev); align_store() local 1197 dev_dax_target_node(struct dev_dax *dev_dax) dev_dax_target_node() argument 1207 struct dev_dax *dev_dax = to_dev_dax(dev); target_node_show() local 1216 struct dev_dax *dev_dax = to_dev_dax(dev); resource_show() local 1250 struct dev_dax *dev_dax = to_dev_dax(dev); dev_dax_visible() local 1288 struct dev_dax *dev_dax = to_dev_dax(dev); dev_dax_release() local 1307 struct dev_dax *dev_dax; devm_create_dev_dax() local [all...] |
| /kernel/linux/linux-6.6/drivers/dax/ |
| H A D | kmem.c | 30 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 175 dev_dax_kmem_remove(struct dev_dax *dev_dax) dev_dax_kmem_remove() argument 226 dev_dax_kmem_remove(struct dev_dax *dev_dax) dev_dax_kmem_remove() argument [all...] |
| H A D | dax-private.h | 63 struct dev_dax { struct
|
| H A D | device.c | 17 static int check_vma(struct dev_dax *dev_dax, struct vm_area_struct *vma, in check_vma() argument 54 __weak phys_addr_t dax_pgoff_to_phys(struct dev_dax *dev_dax, pgoff_t pgoff, in dax_pgoff_to_phys() argument 81 struct dev_dax *dev_da in dax_set_mapping() local 103 __dev_dax_pte_fault(struct dev_dax *dev_dax, struct vm_fault *vmf) __dev_dax_pte_fault() argument 136 __dev_dax_pmd_fault(struct dev_dax *dev_dax, struct vm_fault *vmf) __dev_dax_pmd_fault() argument 180 __dev_dax_pud_fault(struct dev_dax *dev_dax, struct vm_fault *vmf) __dev_dax_pud_fault() argument 224 __dev_dax_pud_fault(struct dev_dax *dev_dax, struct vm_fault *vmf) __dev_dax_pud_fault() argument 236 struct dev_dax *dev_dax = filp->private_data; dev_dax_huge_fault() local 265 struct dev_dax *dev_dax = filp->private_data; dev_dax_may_split() local 275 struct dev_dax *dev_dax = filp->private_data; dev_dax_pagesize() local 289 struct dev_dax *dev_dax = filp->private_data; dax_mmap() local 315 struct dev_dax *dev_dax = filp ? filp->private_data : NULL; dax_get_unmapped_area() local 350 struct dev_dax *dev_dax = dax_get_private(dax_dev); dax_open() local 367 struct dev_dax *dev_dax = filp->private_data; dax_release() local 388 dev_dax_kill(void *dev_dax) dev_dax_kill() argument 393 dev_dax_probe(struct dev_dax *dev_dax) dev_dax_probe() argument [all...] |
| H A D | bus.c | 62 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 178 static u64 dev_dax_size(struct dev_dax *dev_dax) in dev_dax_size() argument 194 struct dev_dax *dev_dax = to_dev_dax(dev); dax_bus_probe() local 219 struct dev_dax *dev_dax = to_dev_dax(dev); dax_bus_remove() local 371 struct dev_dax *dev_dax = devm_create_dev_dax(&data); create_store() local 395 kill_dev_dax(struct dev_dax *dev_dax) kill_dev_dax() argument 413 trim_dev_dax_range(struct dev_dax *dev_dax) trim_dev_dax_range() argument 431 free_dev_dax_ranges(struct dev_dax *dev_dax) free_dev_dax_ranges() argument 439 struct dev_dax *dev_dax = to_dev_dax(dev); unregister_dev_dax() local 463 __free_dev_dax_id(struct dev_dax *dev_dax) __free_dev_dax_id() argument 480 free_dev_dax_id(struct dev_dax *dev_dax) free_dev_dax_id() argument 491 alloc_dev_dax_id(struct dev_dax *dev_dax) alloc_dev_dax_id() argument 509 struct dev_dax *dev_dax; delete_store() local 653 struct dev_dax *dev_dax = to_dev_dax(parent); dax_mapping_release() local 664 struct dev_dax *dev_dax = to_dev_dax(dev->parent); unregister_dax_mapping() local 680 struct dev_dax *dev_dax = to_dev_dax(dev->parent); get_dax_range() local 695 struct dev_dax *dev_dax = to_dev_dax(mapping->dev.parent); put_dax_range() local 770 devm_register_dax_mapping(struct dev_dax *dev_dax, int range_id) devm_register_dax_mapping() argument 812 alloc_dev_dax_range(struct dev_dax *dev_dax, u64 start, resource_size_t size) alloc_dev_dax_range() argument 873 adjust_dev_dax_range(struct dev_dax *dev_dax, struct resource *res, resource_size_t size) adjust_dev_dax_range() argument 907 struct dev_dax *dev_dax = to_dev_dax(dev); size_show() local 917 alloc_is_aligned(struct dev_dax *dev_dax, resource_size_t size) alloc_is_aligned() argument 926 dev_dax_shrink(struct dev_dax *dev_dax, resource_size_t size) dev_dax_shrink() argument 970 adjust_ok(struct dev_dax *dev_dax, struct resource *res) adjust_ok() argument 992 dev_dax_resize(struct dax_region *dax_region, struct dev_dax *dev_dax, resource_size_t size) dev_dax_resize() argument 1070 struct dev_dax *dev_dax = to_dev_dax(dev); size_store() local 1129 struct dev_dax *dev_dax = to_dev_dax(dev); mapping_store() local 1160 struct dev_dax *dev_dax = to_dev_dax(dev); align_show() local 1165 dev_dax_validate_align(struct dev_dax *dev_dax) dev_dax_validate_align() argument 1186 struct dev_dax *dev_dax = to_dev_dax(dev); align_store() local 1222 dev_dax_target_node(struct dev_dax *dev_dax) dev_dax_target_node() argument 1232 struct dev_dax *dev_dax = to_dev_dax(dev); target_node_show() local 1241 struct dev_dax *dev_dax = to_dev_dax(dev); resource_show() local 1275 struct dev_dax *dev_dax = to_dev_dax(dev); dev_dax_visible() local 1313 struct dev_dax *dev_dax = to_dev_dax(dev); dev_dax_release() local 1332 struct dev_dax *dev_dax; devm_create_dev_dax() local [all...] |