Home
last modified time | relevance | path

Searched refs:elfsz (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/fs/proc/
H A Dvmcore.c685 static u64 get_vmcore_size(size_t elfsz, size_t elfnotesegsz, in get_vmcore_size() argument
691 size = elfsz + elfnotesegsz; in get_vmcore_size()
828 static int __init merge_note_headers_elf64(char *elfptr, size_t *elfsz, in merge_note_headers_elf64() argument
873 *elfsz = *elfsz - i; in merge_note_headers_elf64()
874 memmove(tmp, tmp+i, ((*elfsz)-sizeof(Elf64_Ehdr)-sizeof(Elf64_Phdr))); in merge_note_headers_elf64()
875 memset(elfptr + *elfsz, 0, i); in merge_note_headers_elf64()
876 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf64()
1019 static int __init merge_note_headers_elf32(char *elfptr, size_t *elfsz, in merge_note_headers_elf32() argument
1082 process_ptload_program_headers_elf64(char *elfptr, size_t elfsz, size_t elfnotes_sz, struct list_head *vc_list) process_ptload_program_headers_elf64() argument
1125 process_ptload_program_headers_elf32(char *elfptr, size_t elfsz, size_t elfnotes_sz, struct list_head *vc_list) process_ptload_program_headers_elf32() argument
1169 set_vmcore_list_offsets(size_t elfsz, size_t elfnotes_sz, struct list_head *vc_list) set_vmcore_list_offsets() argument
[all...]
/kernel/linux/linux-6.6/fs/proc/
H A Dvmcore.c701 static u64 get_vmcore_size(size_t elfsz, size_t elfnotesegsz, in get_vmcore_size() argument
707 size = elfsz + elfnotesegsz; in get_vmcore_size()
844 static int __init merge_note_headers_elf64(char *elfptr, size_t *elfsz, in merge_note_headers_elf64() argument
889 *elfsz = *elfsz - i; in merge_note_headers_elf64()
890 memmove(tmp, tmp+i, ((*elfsz)-sizeof(Elf64_Ehdr)-sizeof(Elf64_Phdr))); in merge_note_headers_elf64()
891 memset(elfptr + *elfsz, 0, i); in merge_note_headers_elf64()
892 *elfsz = roundup(*elfsz, PAGE_SIZE); in merge_note_headers_elf64()
1035 static int __init merge_note_headers_elf32(char *elfptr, size_t *elfsz, in merge_note_headers_elf32() argument
1098 process_ptload_program_headers_elf64(char *elfptr, size_t elfsz, size_t elfnotes_sz, struct list_head *vc_list) process_ptload_program_headers_elf64() argument
1141 process_ptload_program_headers_elf32(char *elfptr, size_t elfsz, size_t elfnotes_sz, struct list_head *vc_list) process_ptload_program_headers_elf32() argument
1185 set_vmcore_list_offsets(size_t elfsz, size_t elfnotes_sz, struct list_head *vc_list) set_vmcore_list_offsets() argument
[all...]
/kernel/linux/linux-6.6/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()
467 pr_err("update elfcorehdr elfsz %lu > memsz %lu", 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()

Completed in 4 milliseconds