| /Linux-v5.15/lib/ |
| D | buildid.c | 97 Elf64_Ehdr *ehdr = (Elf64_Ehdr *)page_addr; in get_build_id_64() 103 (PAGE_SIZE - sizeof(Elf64_Ehdr)) / sizeof(Elf64_Phdr)) in get_build_id_64() 106 phdr = (Elf64_Phdr *)(page_addr + sizeof(Elf64_Ehdr)); in get_build_id_64()
|
| /Linux-v5.15/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.15/arch/powerpc/platforms/powernv/ |
| D | opal-core.c | 308 Elf64_Ehdr *elf; in create_opalcore() 313 hdr_size = (sizeof(Elf64_Ehdr) + in create_opalcore() 355 elf = (Elf64_Ehdr *)bufp; in create_opalcore() 356 bufp += sizeof(Elf64_Ehdr); in create_opalcore() 367 elf->e_phoff = cpu_to_be64(sizeof(Elf64_Ehdr)); in create_opalcore() 371 elf->e_ehsize = cpu_to_be16(sizeof(Elf64_Ehdr)); in create_opalcore()
|
| /Linux-v5.15/tools/testing/selftests/kvm/lib/ |
| D | elf.c | 16 static void elfhdr_get(const char *filename, Elf64_Ehdr *hdrp) in elfhdr_get() 117 Elf64_Ehdr hdr; in kvm_vm_elf_load()
|
| /Linux-v5.15/arch/x86/um/asm/ |
| D | module.h | 20 #define Elf_Ehdr Elf64_Ehdr
|
| /Linux-v5.15/arch/sparc/vdso/ |
| D | vdso2c.c | 146 Elf64_Ehdr *hdr = (Elf64_Ehdr *)raw_addr; in go()
|
| /Linux-v5.15/scripts/ |
| D | sorttable.c | 377 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file() 378 if (r2(&ghdr->e_ehsize) != sizeof(Elf64_Ehdr) || in do_file()
|
| D | recordmcount.c | 596 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file() 597 if (w2(ghdr->e_ehsize) != sizeof(Elf64_Ehdr) in do_file()
|
| /Linux-v5.15/arch/x86/entry/vdso/ |
| D | vdso2c.c | 173 Elf64_Ehdr *hdr = (Elf64_Ehdr *)raw_addr; in go()
|
| /Linux-v5.15/include/asm-generic/ |
| D | module.h | 20 #define Elf_Ehdr Elf64_Ehdr
|
| /Linux-v5.15/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.15/arch/mips/include/asm/ |
| D | module.h | 59 #define Elf_Ehdr Elf64_Ehdr
|
| /Linux-v5.15/arch/arm64/kvm/hyp/nvhe/ |
| D | gen-hyprel.c | 134 Elf64_Ehdr *ehdr; 277 elf.ehdr = elf_ptr(Elf64_Ehdr, 0); in init_elf()
|
| /Linux-v5.15/tools/perf/util/ |
| D | genelf.h | 54 #define Elf_Ehdr Elf64_Ehdr
|
| D | symbol-minimal.c | 167 Elf64_Ehdr ehdr; in filename__read_build_id() 320 Elf64_Ehdr ehdr; in dso__type_fd()
|
| /Linux-v5.15/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() 607 size = sizeof(Elf64_Ehdr); in get_elfcorehdr_size()
|
| /Linux-v5.15/arch/mips/tools/ |
| D | elf-entry.c | 39 Elf64_Ehdr ehdr64; in main()
|
| D | loongson3-llsc-check.c | 239 Elf64_Ehdr *eh; in main()
|
| /Linux-v5.15/kernel/ |
| D | kexec_file.c | 1261 Elf64_Ehdr *ehdr; in crash_prepare_elf64_headers() 1282 elf_sz = sizeof(Elf64_Ehdr) + nr_phdr * sizeof(Elf64_Phdr); in crash_prepare_elf64_headers() 1289 ehdr = (Elf64_Ehdr *)buf; in crash_prepare_elf64_headers() 1300 ehdr->e_phoff = sizeof(Elf64_Ehdr); in crash_prepare_elf64_headers() 1301 ehdr->e_ehsize = sizeof(Elf64_Ehdr); in crash_prepare_elf64_headers()
|
| /Linux-v5.15/scripts/mod/ |
| D | modpost.h | 38 #define Elf_Ehdr Elf64_Ehdr
|
| /Linux-v5.15/arch/parisc/boot/compressed/ |
| D | misc.c | 236 Elf64_Ehdr ehdr; in parse_elf()
|
| /Linux-v5.15/arch/powerpc/kernel/ |
| D | module_64.c | 187 static unsigned long get_stubs_size(const Elf64_Ehdr *hdr, in get_stubs_size() 280 int module_frob_arch_sections(Elf64_Ehdr *hdr, in module_frob_arch_sections()
|
| /Linux-v5.15/arch/alpha/kernel/ |
| D | module.c | 64 module_frob_arch_sections(Elf64_Ehdr *hdr, Elf64_Shdr *sechdrs, in module_frob_arch_sections()
|