Home
last modified time | relevance | path

Searched refs:elfsz (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/proc/
H A Dvmcore.c706 static u64 get_vmcore_size(size_t elfsz, size_t elfnotesegsz, in get_vmcore_size() argument
712 size = elfsz + elfnotesegsz; in get_vmcore_size()
849 static int __init merge_note_headers_elf64(char *elfptr, size_t *elfsz, in merge_note_headers_elf64() argument
894 *elfsz = *elfsz - i; in merge_note_headers_elf64()
895 memmove(tmp, tmp+i, ((*elfsz)-sizeof(Elf64_Ehdr)-sizeof(Elf64_Phdr))); in merge_note_headers_elf64()
896 memset(elfptr + *elfsz, 0, i); in merge_note_headers_elf64()
897 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf64()
1040 static int __init merge_note_headers_elf32(char *elfptr, size_t *elfsz, in merge_note_headers_elf32() argument
1085 *elfsz = *elfsz - i; in merge_note_headers_elf32()
1086 memmove(tmp, tmp+i, ((*elfsz)-sizeof(Elf32_Ehdr)-sizeof(Elf32_Phdr))); in merge_note_headers_elf32()
[all …]
/openbmc/linux/arch/x86/kernel/
H A Dcrash.c439 unsigned long elfsz = 0; in arch_crash_handle_hotplug_event() local
455 if (prepare_elf_headers(image, &elfbuf, &elfsz, &nr_mem_ranges)) { in arch_crash_handle_hotplug_event()
466 if (elfsz > memsz) { in arch_crash_handle_hotplug_event()
468 elfsz, memsz); in arch_crash_handle_hotplug_event()
486 memcpy_flushcache(old_elfcorehdr, elfbuf, elfsz); in arch_crash_handle_hotplug_event()