Lines Matching refs:altmap
250 struct vmem_altmap *altmap, bool want_memblock) in __add_section() argument
257 ret = sparse_add_one_section(NODE_DATA(nid), phys_start_pfn, altmap); in __add_section()
274 unsigned long nr_pages, struct vmem_altmap *altmap, in __add_pages() argument
285 if (altmap) { in __add_pages()
289 if (altmap->base_pfn != phys_start_pfn in __add_pages()
290 || vmem_altmap_offset(altmap) > nr_pages) { in __add_pages()
295 altmap->alloc = 0; in __add_pages()
299 err = __add_section(nid, section_nr_to_pfn(i), altmap, in __add_pages()
518 unsigned long map_offset, struct vmem_altmap *altmap) in __remove_section() argument
535 sparse_remove_one_section(zone, ms, map_offset, altmap); in __remove_section()
552 unsigned long nr_pages, struct vmem_altmap *altmap) in __remove_pages() argument
560 if (altmap) in __remove_pages()
561 map_offset = vmem_altmap_offset(altmap); in __remove_pages()
591 altmap); in __remove_pages()
782 unsigned long nr_pages, struct vmem_altmap *altmap) in move_pfn_range_to_zone() argument
808 MEMMAP_HOTPLUG, altmap); in move_pfn_range_to_zone()