Searched refs:old_memmap (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/firmware/efi/ |
D | memmap.c | 254 void __init efi_memmap_insert(struct efi_memory_map *old_memmap, void *buf, in efi_memmap_insert() argument 278 for (old = old_memmap->map, new = buf; in efi_memmap_insert() 279 old < old_memmap->map_end; in efi_memmap_insert() 280 old += old_memmap->desc_size, new += old_memmap->desc_size) { in efi_memmap_insert() 283 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert() 298 new += old_memmap->desc_size; in efi_memmap_insert() 299 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert() 311 new += old_memmap->desc_size; in efi_memmap_insert() 312 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert() 319 new += old_memmap->desc_size; in efi_memmap_insert() [all …]
|
/Linux-v4.19/arch/x86/platform/efi/ |
D | efi.c | 656 static void *realloc_pages(void *old_memmap, int old_shift) in realloc_pages() argument 667 if (!old_memmap) in realloc_pages() 670 memcpy(ret, old_memmap, PAGE_SIZE << old_shift); in realloc_pages() 673 free_pages((unsigned long)old_memmap, old_shift); in realloc_pages()
|
/Linux-v4.19/include/linux/ |
D | efi.h | 1025 extern void __init efi_memmap_insert(struct efi_memory_map *old_memmap,
|