Lines Matching refs:altmap
818 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()
935 unmap_hotplug_pmd_range(pudp, addr, next, free_mapped, altmap); in unmap_hotplug_pud_range()
941 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range() argument
954 unmap_hotplug_pud_range(p4dp, addr, next, free_mapped, altmap); in unmap_hotplug_p4d_range()
959 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range() argument
970 WARN_ON(!free_mapped && altmap); in unmap_hotplug_range()
980 unmap_hotplug_p4d_range(pgdp, addr, next, free_mapped, altmap); in unmap_hotplug_range()
1142 struct vmem_altmap *altmap) in vmemmap_populate() argument
1144 return vmemmap_populate_basepages(start, end, node, altmap); in vmemmap_populate()
1148 struct vmem_altmap *altmap) in vmemmap_populate() argument
1176 p = vmemmap_alloc_block_buf(PMD_SIZE, node, altmap); in vmemmap_populate()
1178 if (vmemmap_populate_basepages(addr, next, node, altmap)) in vmemmap_populate()
1192 struct vmem_altmap *altmap) in vmemmap_free() argument
1197 unmap_hotplug_range(start, end, true, altmap); in vmemmap_free()
1558 struct vmem_altmap *altmap) in arch_remove_memory() argument
1563 __remove_pages(start_pfn, nr_pages, altmap); in arch_remove_memory()