| /Linux-v5.4/fs/proc/ |
| D | vmcore.c | 703 static int __init update_note_header_size_elf64(const Elf64_Ehdr *ehdr_ptr) in update_note_header_size_elf64() 766 static int __init get_note_number_and_size_elf64(const Elf64_Ehdr *ehdr_ptr, in get_note_number_and_size_elf64() 801 static int __init copy_notes_elf64(const Elf64_Ehdr *ehdr_ptr, char *notes_buf) in copy_notes_elf64() 829 Elf64_Ehdr *ehdr_ptr; in merge_note_headers_elf64() 833 ehdr_ptr = (Elf64_Ehdr *)elfptr; in merge_note_headers_elf64() 855 note_off = sizeof(Elf64_Ehdr) + in merge_note_headers_elf64() 863 tmp = elfptr + sizeof(Elf64_Ehdr); in merge_note_headers_elf64() 870 memmove(tmp, tmp+i, ((*elfsz)-sizeof(Elf64_Ehdr)-sizeof(Elf64_Phdr))); in merge_note_headers_elf64() 1084 Elf64_Ehdr *ehdr_ptr; in process_ptload_program_headers_elf64() 1089 ehdr_ptr = (Elf64_Ehdr *)elfptr; in process_ptload_program_headers_elf64() [all …]
|
| /Linux-v5.4/arch/powerpc/platforms/powernv/ |
| D | opal-core.c | 307 Elf64_Ehdr *elf; in create_opalcore() 312 hdr_size = (sizeof(Elf64_Ehdr) + in create_opalcore() 354 elf = (Elf64_Ehdr *)bufp; in create_opalcore() 355 bufp += sizeof(Elf64_Ehdr); in create_opalcore() 366 elf->e_phoff = cpu_to_be64(sizeof(Elf64_Ehdr)); in create_opalcore() 370 elf->e_ehsize = cpu_to_be16(sizeof(Elf64_Ehdr)); in create_opalcore()
|
| /Linux-v5.4/tools/testing/selftests/kvm/lib/ |
| D | elf.c | 16 static void elfhdr_get(const char *filename, Elf64_Ehdr *hdrp) in elfhdr_get() 118 Elf64_Ehdr hdr; in kvm_vm_elf_load()
|
| /Linux-v5.4/scripts/ |
| D | sortextable.c | 348 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file() 349 if (r2(&ghdr->e_ehsize) != sizeof(Elf64_Ehdr) in do_file()
|
| D | recordmcount.c | 571 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file() 572 if (w2(ghdr->e_ehsize) != sizeof(Elf64_Ehdr) in do_file()
|
| D | sortextable.h | 39 # define Elf_Ehdr Elf64_Ehdr
|
| /Linux-v5.4/arch/x86/um/asm/ |
| D | module.h | 20 #define Elf_Ehdr Elf64_Ehdr
|
| /Linux-v5.4/arch/x86/entry/vdso/ |
| D | vdso2c.c | 168 Elf64_Ehdr *hdr = (Elf64_Ehdr *)raw_addr; in go()
|
| /Linux-v5.4/arch/sparc/vdso/ |
| D | vdso2c.c | 146 Elf64_Ehdr *hdr = (Elf64_Ehdr *)raw_addr; in go()
|
| /Linux-v5.4/include/asm-generic/ |
| D | module.h | 20 #define Elf_Ehdr Elf64_Ehdr
|
| /Linux-v5.4/kernel/bpf/ |
| D | stackmap.c | 224 Elf64_Ehdr *ehdr = (Elf64_Ehdr *)page_addr; in stack_map_get_build_id_64() 230 (PAGE_SIZE - sizeof(Elf64_Ehdr)) / sizeof(Elf64_Phdr)) in stack_map_get_build_id_64() 233 phdr = (Elf64_Phdr *)(page_addr + sizeof(Elf64_Ehdr)); in stack_map_get_build_id_64()
|
| /Linux-v5.4/arch/powerpc/boot/ |
| D | of.c | 51 const Elf64_Ehdr *elf64 = hdr; in of_image_hdr()
|
| D | elf_util.c | 16 Elf64_Ehdr *elf64 = hdr; in parse_elf64()
|
| D | elf.h | 87 } Elf64_Ehdr; typedef
|
| /Linux-v5.4/tools/perf/util/ |
| D | genelf.h | 54 #define Elf_Ehdr Elf64_Ehdr
|
| D | symbol-minimal.c | 165 Elf64_Ehdr ehdr; in filename__read_build_id() 318 Elf64_Ehdr ehdr; in dso__type_fd()
|
| /Linux-v5.4/arch/mips/tools/ |
| D | elf-entry.c | 39 Elf64_Ehdr ehdr64; in main()
|
| /Linux-v5.4/arch/s390/kernel/ |
| D | crash_dump.c | 512 static void *ehdr_init(Elf64_Ehdr *ehdr, int mem_chunk_cnt) in ehdr_init() 523 ehdr->e_phoff = sizeof(Elf64_Ehdr); in ehdr_init() 524 ehdr->e_ehsize = sizeof(Elf64_Ehdr); in ehdr_init() 609 size = sizeof(Elf64_Ehdr); in get_elfcorehdr_size()
|
| /Linux-v5.4/arch/x86/kernel/ |
| D | crash.c | 249 Elf64_Ehdr *ehdr; in prepare_elf_headers() 277 ehdr = (Elf64_Ehdr *)*addr; in prepare_elf_headers()
|
| /Linux-v5.4/kernel/ |
| D | kexec_file.c | 1243 Elf64_Ehdr *ehdr; in crash_prepare_elf64_headers() 1264 elf_sz = sizeof(Elf64_Ehdr) + nr_phdr * sizeof(Elf64_Phdr); in crash_prepare_elf64_headers() 1271 ehdr = (Elf64_Ehdr *)buf; in crash_prepare_elf64_headers() 1282 ehdr->e_phoff = sizeof(Elf64_Ehdr); in crash_prepare_elf64_headers() 1283 ehdr->e_ehsize = sizeof(Elf64_Ehdr); in crash_prepare_elf64_headers()
|
| /Linux-v5.4/arch/mips/include/asm/ |
| D | module.h | 59 #define Elf_Ehdr Elf64_Ehdr
|
| /Linux-v5.4/scripts/mod/ |
| D | modpost.h | 38 #define Elf_Ehdr Elf64_Ehdr
|
| /Linux-v5.4/arch/parisc/boot/compressed/ |
| D | misc.c | 236 Elf64_Ehdr ehdr; in parse_elf()
|
| /Linux-v5.4/arch/powerpc/kernel/ |
| D | vdso.c | 114 Elf64_Ehdr *hdr; 337 static void * __init find_section64(Elf64_Ehdr *ehdr, const char *secname, in find_section64()
|
| D | module_64.c | 245 static unsigned long get_stubs_size(const Elf64_Ehdr *hdr, in get_stubs_size() 338 int module_frob_arch_sections(Elf64_Ehdr *hdr, in module_frob_arch_sections()
|