Lines Matching refs:altmap
292 struct vmem_altmap *altmap = restrictions->altmap; in __add_pages() local
294 if (altmap) { in __add_pages()
298 if (altmap->base_pfn != pfn in __add_pages()
299 || vmem_altmap_offset(altmap) > nr_pages) { in __add_pages()
303 altmap->alloc = 0; in __add_pages()
317 err = sparse_add_section(nid, pfn, pfns, altmap); in __add_pages()
492 struct vmem_altmap *altmap) in __remove_section() argument
500 sparse_remove_section(ms, pfn, nr_pages, map_offset, altmap); in __remove_section()
516 unsigned long nr_pages, struct vmem_altmap *altmap) in __remove_pages() argument
521 map_offset = vmem_altmap_offset(altmap); in __remove_pages()
536 __remove_section(zone, pfn, pfns, map_offset, altmap); in __remove_pages()
698 unsigned long nr_pages, struct vmem_altmap *altmap) in move_pfn_range_to_zone() argument
723 MEMMAP_HOTPLUG, altmap); in move_pfn_range_to_zone()