Searched refs:elfbuf (Results 1 – 2 of 2) sorted by relevance
| /arch/powerpc/kexec/ |
| A D | crash.c | 433 void *ptr, *mem, *elfbuf = NULL; in update_crash_elfcorehdr() local 460 ret = crash_prepare_elf64_headers(cmem, false, &elfbuf, &elfsz); in update_crash_elfcorehdr() 483 memcpy((void *)ptr, elfbuf, elfsz); in update_crash_elfcorehdr() 490 kvfree(elfbuf); in update_crash_elfcorehdr()
|
| /arch/x86/kernel/ |
| A D | crash.c | 500 void *elfbuf = NULL, *old_elfcorehdr; in arch_crash_handle_hotplug_event() local 519 if (prepare_elf_headers(&elfbuf, &elfsz, &nr_mem_ranges)) { in arch_crash_handle_hotplug_event() 550 memcpy_flushcache(old_elfcorehdr, elfbuf, elfsz); in arch_crash_handle_hotplug_event() 556 vfree(elfbuf); in arch_crash_handle_hotplug_event()
|
Completed in 6 milliseconds