| /arch/powerpc/mm/ |
| A D | init_64.c | 197 if (start_pfn < altmap->base_pfn) in altmap_cross_boundary() 204 struct vmem_altmap *altmap) in __vmemmap_populate() argument 232 if (altmap && !altmap_cross_boundary(altmap, start, page_size)) { in __vmemmap_populate() 257 vmem_altmap_free(altmap, nr_pfns); in __vmemmap_populate() 278 struct vmem_altmap *altmap) in vmemmap_populate() argument 321 struct vmem_altmap *altmap) in __vmemmap_free() argument 329 if (altmap) { in __vmemmap_free() 330 alt_start = altmap->base_pfn; in __vmemmap_free() 331 alt_end = altmap->base_pfn + altmap->reserve + altmap->free; in __vmemmap_free() 358 vmem_altmap_free(altmap, nr_pages); in __vmemmap_free() [all …]
|
| A D | mem.c | 160 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory() argument 165 __remove_pages(start_pfn, nr_pages, altmap); in arch_remove_memory()
|
| /arch/s390/mm/ |
| A D | vmem.c | 42 if (altmap) { in vmem_free_pages() 43 vmem_altmap_free(altmap, 1 << order); in vmem_free_pages() 167 struct vmem_altmap *altmap) in modify_pte_table() argument 222 struct vmem_altmap *altmap) in modify_pmd_table() argument 424 bool direct, struct vmem_altmap *altmap) in modify_pagetable() argument 463 struct vmem_altmap *altmap) in add_pagetable() argument 469 struct vmem_altmap *altmap) in remove_pagetable() argument 496 struct vmem_altmap *altmap) in vmemmap_populate() argument 504 remove_pagetable(start, end, false, altmap); in vmemmap_populate() 512 struct vmem_altmap *altmap) in vmemmap_free() argument [all …]
|
| A D | init.c | 282 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory() argument 287 __remove_pages(start_pfn, nr_pages, altmap); in arch_remove_memory()
|
| /arch/powerpc/mm/book3s64/ |
| A D | radix_pgtable.c | 755 struct vmem_altmap *altmap, in free_vmemmap_pages() argument 760 if (altmap) { in free_vmemmap_pages() 769 alt_start = altmap->base_pfn; in free_vmemmap_pages() 770 alt_end = altmap->base_pfn + altmap->reserve + altmap->free; in free_vmemmap_pages() 895 struct vmem_altmap *altmap) in remove_pagetable() argument 1030 if (altmap && altmap_cross_boundary(altmap, addr, PAGE_SIZE)) in radix__vmemmap_pte_populate() 1031 altmap = NULL; in radix__vmemmap_pte_populate() 1034 if (!p && altmap) in radix__vmemmap_pte_populate() 1114 struct vmem_altmap *altmap) in radix__vmemmap_populate() argument 1139 if (altmap) in radix__vmemmap_populate() [all …]
|
| /arch/loongarch/mm/ |
| A D | init.c | 98 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory() argument 105 if (altmap) in arch_remove_memory() 106 page += vmem_altmap_offset(altmap); in arch_remove_memory() 107 __remove_pages(start_pfn, nr_pages, altmap); in arch_remove_memory() 134 int node, struct vmem_altmap *altmap) in vmemmap_populate() argument 144 void vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) in vmemmap_free() argument
|
| /arch/arm64/mm/ |
| A D | mmu.c | 840 struct vmem_altmap *altmap) in free_hotplug_page_range() argument 842 if (altmap) { in free_hotplug_page_range() 876 struct vmem_altmap *altmap) in unmap_hotplug_pte_range() argument 891 PAGE_SIZE, altmap); in unmap_hotplug_pte_range() 897 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range() argument 920 PMD_SIZE, altmap); in unmap_hotplug_pmd_range() 930 struct vmem_altmap *altmap) in unmap_hotplug_pud_range() argument 953 PUD_SIZE, altmap); in unmap_hotplug_pud_range() 992 WARN_ON(!free_mapped && altmap); in unmap_hotplug_range() 1197 struct vmem_altmap *altmap) in vmemmap_populate() argument [all …]
|
| /arch/x86/mm/ |
| A D | init_64.c | 1021 struct vmem_altmap *altmap) in free_hugepage_table() argument 1023 if (altmap) in free_hugepage_table() 1128 bool direct, struct vmem_altmap *altmap) in remove_pmd_table() argument 1146 altmap); in remove_pmd_table() 1154 altmap); in remove_pmd_table() 1174 struct vmem_altmap *altmap, bool direct) in remove_pud_table() argument 1208 struct vmem_altmap *altmap, bool direct) in remove_p4d_table() argument 1241 struct vmem_altmap *altmap) in remove_pagetable() argument 1263 struct vmem_altmap *altmap) in vmemmap_free() argument 1548 struct vmem_altmap *altmap) in vmemmap_populate() argument [all …]
|
| /arch/riscv/mm/ |
| A D | init.c | 1456 struct vmem_altmap *altmap) in vmemmap_populate() argument 1632 struct vmem_altmap *altmap) in free_vmemmap_storage() argument 1636 if (altmap) { in free_vmemmap_storage() 1637 vmem_altmap_free(altmap, size >> PAGE_SHIFT); in free_vmemmap_storage() 1653 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pte_mapping() argument 1670 free_vmemmap_storage(pte_page(pte), PAGE_SIZE, altmap); in remove_pte_mapping() 1675 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pmd_mapping() argument 1702 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pud_mapping() argument 1733 bool is_vmemmap, struct vmem_altmap *altmap) in remove_p4d_mapping() argument 1764 struct vmem_altmap *altmap) in remove_pgd_mapping() argument [all …]
|
| /arch/powerpc/include/asm/book3s/64/ |
| A D | radix.h | 324 int node, struct vmem_altmap *altmap); 326 struct vmem_altmap *altmap); 357 bool vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap);
|
| /arch/powerpc/include/asm/ |
| A D | pgtable.h | 192 bool altmap_cross_boundary(struct vmem_altmap *altmap, unsigned long start,
|
| /arch/sparc/mm/ |
| A D | init_64.c | 2585 int node, struct vmem_altmap *altmap) in vmemmap_populate() argument
|