Lines Matching defs:altmap
316 struct vmem_altmap *altmap = params->altmap;
325 if (altmap) {
327 * Validate altmap is within bounds of the total request
329 if (altmap->base_pfn != pfn
330 || vmem_altmap_offset(altmap) > nr_pages) {
331 pr_warn_once("memory add fail, invalid altmap\n");
334 altmap->alloc = 0;
345 err = sparse_add_section(nid, pfn, cur_nr_pages, altmap);
512 struct vmem_altmap *altmap)
519 sparse_remove_section(ms, pfn, nr_pages, map_offset, altmap);
526 * @altmap: alternative device page map or %NULL if default memmap is used
534 struct vmem_altmap *altmap)
540 map_offset = vmem_altmap_offset(altmap);
550 __remove_section(pfn, cur_nr_pages, map_offset, altmap);
694 struct vmem_altmap *altmap, int migratetype)
719 MEMINIT_HOTPLUG, altmap, migratetype);