Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/firmware/efi/
Dmemmap.c289 void __init efi_memmap_insert(struct efi_memory_map *old_memmap, void *buf, in efi_memmap_insert() argument
313 for (old = old_memmap->map, new = buf; in efi_memmap_insert()
314 old < old_memmap->map_end; in efi_memmap_insert()
315 old += old_memmap->desc_size, new += old_memmap->desc_size) { in efi_memmap_insert()
318 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert()
333 new += old_memmap->desc_size; in efi_memmap_insert()
334 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert()
346 new += old_memmap->desc_size; in efi_memmap_insert()
347 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert()
354 new += old_memmap->desc_size; in efi_memmap_insert()
[all …]
/Linux-v6.1/arch/x86/platform/efi/
Defi.c512 static void *realloc_pages(void *old_memmap, int old_shift) in realloc_pages() argument
523 if (!old_memmap) in realloc_pages()
526 memcpy(ret, old_memmap, PAGE_SIZE << old_shift); in realloc_pages()
529 free_pages((unsigned long)old_memmap, old_shift); in realloc_pages()
/Linux-v6.1/include/linux/
Defi.h720 extern void __init efi_memmap_insert(struct efi_memory_map *old_memmap,