Lines Matching refs:altmap
315 struct vmem_altmap *altmap = params->altmap; in __add_pages() local
324 if (altmap) { in __add_pages()
328 if (altmap->base_pfn != pfn in __add_pages()
329 || vmem_altmap_offset(altmap) > nr_pages) { in __add_pages()
333 altmap->alloc = 0; in __add_pages()
344 err = sparse_add_section(nid, pfn, cur_nr_pages, altmap); in __add_pages()
511 struct vmem_altmap *altmap) in __remove_section() argument
518 sparse_remove_section(ms, pfn, nr_pages, map_offset, altmap); in __remove_section()
533 struct vmem_altmap *altmap) in __remove_pages() argument
539 map_offset = vmem_altmap_offset(altmap); in __remove_pages()
549 __remove_section(pfn, cur_nr_pages, map_offset, altmap); in __remove_pages()
692 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone() argument
717 MEMINIT_HOTPLUG, altmap, migratetype); in move_pfn_range_to_zone()