Lines Matching refs:altmap
787 struct vmem_altmap *altmap, bool want_memblock) in add_pages() argument
791 ret = __add_pages(nid, start_pfn, nr_pages, altmap, want_memblock); in add_pages()
801 int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory() argument
809 return add_pages(nid, start_pfn, nr_pages, altmap, want_memblock); in arch_add_memory()
835 struct vmem_altmap *altmap) in free_hugepage_table() argument
837 if (altmap) in free_hugepage_table()
838 vmem_altmap_free(altmap, PMD_SIZE / PAGE_SIZE); in free_hugepage_table()
970 bool direct, struct vmem_altmap *altmap) in remove_pmd_table() argument
989 altmap); in remove_pmd_table()
1003 altmap); in remove_pmd_table()
1026 struct vmem_altmap *altmap, bool direct) in remove_pud_table() argument
1071 remove_pmd_table(pmd_base, addr, next, direct, altmap); in remove_pud_table()
1081 struct vmem_altmap *altmap, bool direct) in remove_p4d_table() argument
1097 remove_pud_table(pud_base, addr, next, altmap, direct); in remove_p4d_table()
1114 struct vmem_altmap *altmap) in remove_pagetable() argument
1129 remove_p4d_table(p4d, addr, next, altmap, direct); in remove_pagetable()
1136 struct vmem_altmap *altmap) in vmemmap_free() argument
1138 remove_pagetable(start, end, false, altmap); in vmemmap_free()
1151 int __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory() argument
1160 if (altmap) in arch_remove_memory()
1161 page += vmem_altmap_offset(altmap); in arch_remove_memory()
1163 ret = __remove_pages(zone, start_pfn, nr_pages, altmap); in arch_remove_memory()
1401 unsigned long end, int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages() argument
1429 if (altmap) in vmemmap_populate_hugepages()
1430 p = altmap_alloc_block_buf(PMD_SIZE, altmap); in vmemmap_populate_hugepages()
1453 } else if (altmap) in vmemmap_populate_hugepages()
1466 struct vmem_altmap *altmap) in vmemmap_populate() argument
1471 err = vmemmap_populate_hugepages(start, end, node, altmap); in vmemmap_populate()
1472 else if (altmap) { in vmemmap_populate()