Lines Matching refs:altmap
316 struct vmem_altmap *altmap = params->altmap; in __add_pages() local
325 if (altmap) { in __add_pages()
329 if (altmap->base_pfn != pfn in __add_pages()
330 || vmem_altmap_offset(altmap) > nr_pages) { in __add_pages()
334 altmap->alloc = 0; in __add_pages()
345 err = sparse_add_section(nid, pfn, cur_nr_pages, altmap); in __add_pages()
512 struct vmem_altmap *altmap) in __remove_section() argument
519 sparse_remove_section(ms, pfn, nr_pages, map_offset, altmap); in __remove_section()
534 struct vmem_altmap *altmap) in __remove_pages() argument
540 map_offset = vmem_altmap_offset(altmap); in __remove_pages()
550 __remove_section(pfn, cur_nr_pages, map_offset, altmap); in __remove_pages()
694 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone() argument
719 MEMINIT_HOTPLUG, altmap, migratetype); in move_pfn_range_to_zone()