Searched refs:elfbuf (Results 1 – 2 of 2) sorted by relevance
| /linux/arch/powerpc/kexec/ |
| H A D | crash.c | 495 void *ptr, *mem, *elfbuf = NULL; in update_crash_elfcorehdr() local 522 ret = crash_prepare_elf64_headers(cmem, false, &elfbuf, &elfsz); in update_crash_elfcorehdr() 539 sync_backup_region_phdr(image, (Elf64_Ehdr *) elfbuf, false); in update_crash_elfcorehdr() 547 memcpy((void *)ptr, elfbuf, elfsz); in update_crash_elfcorehdr() 554 kvfree(elfbuf); in update_crash_elfcorehdr()
|
| /linux/arch/x86/kernel/ |
| H A D | crash.c | 513 void *elfbuf = NULL, *old_elfcorehdr; in arch_crash_handle_hotplug_event() local 532 if (prepare_elf_headers(&elfbuf, &elfsz, &nr_mem_ranges)) { in arch_crash_handle_hotplug_event() 563 memcpy_flushcache(old_elfcorehdr, elfbuf, elfsz); in arch_crash_handle_hotplug_event() 569 vfree(elfbuf); in arch_crash_handle_hotplug_event()
|