Searched refs:elfbuf (Results 1 – 2 of 2) sorted by relevance
/linux/arch/powerpc/kexec/ |
H A D | crash.c | 430 void *ptr, *mem, *elfbuf = NULL; in update_crash_elfcorehdr() local 457 ret = crash_prepare_elf64_headers(cmem, false, &elfbuf, &elfsz); in update_crash_elfcorehdr() 480 memcpy((void *)ptr, elfbuf, elfsz); in update_crash_elfcorehdr() 487 kvfree(elfbuf); in update_crash_elfcorehdr()
|
/linux/arch/x86/kernel/ |
H A D | crash.c | 460 void *elfbuf = NULL, *old_elfcorehdr; in arch_crash_handle_hotplug_event() local 479 if (prepare_elf_headers(&elfbuf, &elfsz, &nr_mem_ranges)) { in arch_crash_handle_hotplug_event() 510 memcpy_flushcache(old_elfcorehdr, elfbuf, elfsz); in arch_crash_handle_hotplug_event() 516 vfree(elfbuf); in arch_crash_handle_hotplug_event()
|