Home
last modified time | relevance | path

Searched refs:old_memmap (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/firmware/efi/
Dmemmap.c290 void __init efi_memmap_insert(struct efi_memory_map *old_memmap, void *buf, in efi_memmap_insert() argument
314 for (old = old_memmap->map, new = buf; in efi_memmap_insert()
315 old < old_memmap->map_end; in efi_memmap_insert()
316 old += old_memmap->desc_size, new += old_memmap->desc_size) { in efi_memmap_insert()
319 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert()
334 new += old_memmap->desc_size; in efi_memmap_insert()
335 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert()
347 new += old_memmap->desc_size; in efi_memmap_insert()
348 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert()
355 new += old_memmap->desc_size; in efi_memmap_insert()
[all …]
/kernel/linux/linux-5.10/arch/x86/platform/efi/
Defi.c532 static void *realloc_pages(void *old_memmap, int old_shift) in realloc_pages() argument
543 if (!old_memmap) in realloc_pages()
546 memcpy(ret, old_memmap, PAGE_SIZE << old_shift); in realloc_pages()
549 free_pages((unsigned long)old_memmap, old_shift); in realloc_pages()
/kernel/linux/linux-5.10/include/linux/
Defi.h644 extern void __init efi_memmap_insert(struct efi_memory_map *old_memmap,