Searched refs:elfsz (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/fs/proc/ |
| H A D | vmcore.c | 724 size = elfsz + elfnotesegsz; in get_vmcore_size() 906 *elfsz = *elfsz - i; in merge_note_headers_elf64() 908 memset(elfptr + *elfsz, 0, i); in merge_note_headers_elf64() 909 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf64() 1097 *elfsz = *elfsz - i; in merge_note_headers_elf32() 1099 memset(elfptr + *elfsz, 0, i); in merge_note_headers_elf32() 1100 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf32() 1116 size_t elfsz, in process_ptload_program_headers_elf64() argument 1129 vmcore_off = elfsz + elfnotes_sz; in process_ptload_program_headers_elf64() 1153 size_t elfsz, in process_ptload_program_headers_elf32() argument [all …]
|
| /linux-6.15/arch/powerpc/kexec/ |
| H A D | crash.c | 431 unsigned long elfsz, memsz, base_addr, size; in update_crash_elfcorehdr() local 457 ret = crash_prepare_elf64_headers(cmem, false, &elfbuf, &elfsz); in update_crash_elfcorehdr() 469 if (elfsz > memsz) { in update_crash_elfcorehdr() 470 pr_err("Updated crash elfcorehdr elfsz %lu > memsz %lu", elfsz, memsz); in update_crash_elfcorehdr() 480 memcpy((void *)ptr, elfbuf, elfsz); in update_crash_elfcorehdr()
|
| /linux-6.15/arch/x86/kernel/ |
| H A D | crash.c | 463 unsigned long elfsz = 0; in arch_crash_handle_hotplug_event() local 479 if (prepare_elf_headers(&elfbuf, &elfsz, &nr_mem_ranges)) { in arch_crash_handle_hotplug_event() 490 if (elfsz > memsz) { in arch_crash_handle_hotplug_event() 492 elfsz, memsz); in arch_crash_handle_hotplug_event() 510 memcpy_flushcache(old_elfcorehdr, elfbuf, elfsz); in arch_crash_handle_hotplug_event()
|