Home
last modified time | relevance | path

Searched refs:altmap (Results 1 – 12 of 12) sorted by relevance

/arch/powerpc/mm/
Dinit_64.c185 static bool altmap_cross_boundary(struct vmem_altmap *altmap, unsigned long start, in altmap_cross_boundary() argument
191 if ((start_pfn + nr_pfn - 1) > altmap->end_pfn) in altmap_cross_boundary()
194 if (start_pfn < altmap->base_pfn) in altmap_cross_boundary()
201 struct vmem_altmap *altmap) in vmemmap_populate() argument
229 if (altmap && !altmap_cross_boundary(altmap, start, page_size)) { in vmemmap_populate()
230 p = vmemmap_alloc_block_buf(page_size, node, altmap); in vmemmap_populate()
254 vmem_altmap_free(altmap, nr_pfns); in vmemmap_populate()
306 struct vmem_altmap *altmap) in vmemmap_free() argument
314 if (altmap) { in vmemmap_free()
315 alt_start = altmap->base_pfn; in vmemmap_free()
[all …]
Dmem.c145 struct vmem_altmap *altmap) in arch_remove_memory() argument
151 __remove_pages(start_pfn, nr_pages, altmap); in arch_remove_memory()
/arch/arm64/mm/
Dmmu.c818 struct vmem_altmap *altmap) in free_hotplug_page_range() argument
820 if (altmap) { in free_hotplug_page_range()
821 vmem_altmap_free(altmap, size >> PAGE_SHIFT); in free_hotplug_page_range()
854 struct vmem_altmap *altmap) in unmap_hotplug_pte_range() argument
869 PAGE_SIZE, altmap); in unmap_hotplug_pte_range()
875 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range() argument
898 PMD_SIZE, altmap); in unmap_hotplug_pmd_range()
902 unmap_hotplug_pte_range(pmdp, addr, next, free_mapped, altmap); in unmap_hotplug_pmd_range()
908 struct vmem_altmap *altmap) in unmap_hotplug_pud_range() argument
931 PUD_SIZE, altmap); in unmap_hotplug_pud_range()
[all …]
/arch/x86/mm/
Dinit_64.c897 struct vmem_altmap *altmap) in free_hugepage_table() argument
899 if (altmap) in free_hugepage_table()
900 vmem_altmap_free(altmap, PMD_SIZE / PAGE_SIZE); in free_hugepage_table()
1032 bool direct, struct vmem_altmap *altmap) in remove_pmd_table() argument
1051 altmap); in remove_pmd_table()
1065 altmap); in remove_pmd_table()
1088 struct vmem_altmap *altmap, bool direct) in remove_pud_table() argument
1133 remove_pmd_table(pmd_base, addr, next, direct, altmap); in remove_pud_table()
1143 struct vmem_altmap *altmap, bool direct) in remove_p4d_table() argument
1159 remove_pud_table(pud_base, addr, next, altmap, direct); in remove_p4d_table()
[all …]
Dinit_32.c822 struct vmem_altmap *altmap) in arch_remove_memory() argument
827 __remove_pages(start_pfn, nr_pages, altmap); in arch_remove_memory()
/arch/s390/mm/
Dinit.c288 if (WARN_ON_ONCE(params->altmap)) in arch_add_memory()
305 struct vmem_altmap *altmap) in arch_remove_memory() argument
310 __remove_pages(start_pfn, nr_pages, altmap); in arch_remove_memory()
Dvmem.c507 struct vmem_altmap *altmap) in vmemmap_populate() argument
521 struct vmem_altmap *altmap) in vmemmap_free() argument
/arch/sh/mm/
Dinit.c427 struct vmem_altmap *altmap) in arch_remove_memory() argument
432 __remove_pages(start_pfn, nr_pages, altmap); in arch_remove_memory()
/arch/ia64/mm/
Ddiscontig.c655 struct vmem_altmap *altmap) in vmemmap_populate() argument
661 struct vmem_altmap *altmap) in vmemmap_free() argument
Dinit.c714 struct vmem_altmap *altmap) in arch_remove_memory() argument
719 __remove_pages(start_pfn, nr_pages, altmap); in arch_remove_memory()
/arch/riscv/mm/
Dinit.c683 struct vmem_altmap *altmap) in vmemmap_populate() argument
/arch/sparc/mm/
Dinit_64.c2582 int node, struct vmem_altmap *altmap) in vmemmap_populate() argument
2631 struct vmem_altmap *altmap) in vmemmap_free() argument