| /Linux-v5.4/arch/s390/kernel/ |
| D | kexec_elf.c | 20 const Elf_Ehdr *ehdr; in kexec_file_add_kernel_elf() 27 ehdr = (Elf_Ehdr *)kernel; in kexec_file_add_kernel_elf() 71 const Elf_Ehdr *ehdr; in s390_elf_load() 77 ehdr = (Elf_Ehdr *)kernel; in s390_elf_load() 112 const Elf_Ehdr *ehdr; in s390_elf_probe() 114 if (len < sizeof(Elf_Ehdr)) in s390_elf_probe() 117 ehdr = (Elf_Ehdr *)buf; in s390_elf_probe()
|
| D | module.c | 109 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 440 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
| /Linux-v5.4/scripts/ |
| D | insert-sys-cert.c | 39 #define Elf_Ehdr Elf32_Ehdr macro 44 #define Elf_Ehdr Elf64_Ehdr macro 68 static unsigned long get_offset_from_address(Elf_Ehdr *hdr, unsigned long addr) in get_offset_from_address() 93 static void get_symbol_from_map(Elf_Ehdr *hdr, FILE *f, char *name, in get_symbol_from_map() 133 static Elf_Sym *find_elf_symbol(Elf_Ehdr *hdr, Elf_Shdr *symtab, char *name) in find_elf_symbol() 157 static void get_symbol_from_table(Elf_Ehdr *hdr, Elf_Shdr *symtab, in get_symbol_from_table() 184 static Elf_Shdr *get_symbol_table(Elf_Ehdr *hdr) in get_symbol_table() 260 static void print_sym(Elf_Ehdr *hdr, struct sym *s) in print_sym() 280 Elf_Ehdr *hdr; in main()
|
| D | recordmcount.h | 35 #undef Elf_Ehdr 69 # define Elf_Ehdr Elf64_Ehdr macro 102 # define Elf_Ehdr Elf32_Ehdr macro 177 static int append_func(Elf_Ehdr *const ehdr, in append_func() 289 Elf_Ehdr const *const ehdr, in get_sym_str_and_relp() 320 Elf_Ehdr const *const ehdr, in sift_rel_mcount() 368 Elf_Ehdr const *const ehdr, in nop_mcount() 437 Elf_Ehdr const *const ehdr) in find_secsym_ndx() 521 static int do_func(Elf_Ehdr *const ehdr, char const *const fname, in do_func()
|
| D | sortextable.h | 17 #undef Elf_Ehdr 39 # define Elf_Ehdr Elf64_Ehdr macro 60 # define Elf_Ehdr Elf32_Ehdr macro 91 do_func(Elf_Ehdr *ehdr, char const *const fname, table_sort_t custom_sort) in do_func()
|
| /Linux-v5.4/tools/perf/util/ |
| D | genelf.h | 54 #define Elf_Ehdr Elf64_Ehdr macro 63 #define Elf_Ehdr Elf32_Ehdr macro 72 #define GEN_ELF_TEXT_OFFSET sizeof(Elf_Ehdr)
|
| /Linux-v5.4/arch/x86/um/asm/ |
| D | module.h | 14 #define Elf_Ehdr Elf32_Ehdr macro 20 #define Elf_Ehdr Elf64_Ehdr macro
|
| /Linux-v5.4/include/asm-generic/ |
| D | module.h | 20 #define Elf_Ehdr Elf64_Ehdr macro 37 #define Elf_Ehdr Elf32_Ehdr macro
|
| /Linux-v5.4/include/linux/ |
| D | moduleloader.h | 17 int module_frob_arch_sections(Elf_Ehdr *hdr, 84 int module_finalize(const Elf_Ehdr *hdr,
|
| D | module.h | 340 Elf_Ehdr hdr; 861 void module_bug_finalize(const Elf_Ehdr *, const Elf_Shdr *, 867 static inline void module_bug_finalize(const Elf_Ehdr *hdr, in module_bug_finalize()
|
| /Linux-v5.4/scripts/mod/ |
| D | modpost.h | 23 #define Elf_Ehdr Elf32_Ehdr macro 38 #define Elf_Ehdr Elf64_Ehdr macro 137 Elf_Ehdr *hdr;
|
| /Linux-v5.4/arch/powerpc/kernel/ |
| D | module.c | 20 static const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section() 34 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
| /Linux-v5.4/arch/sparc/kernel/ |
| D | module.c | 55 int module_frob_arch_sections(Elf_Ehdr *hdr, in module_frob_arch_sections() 184 static void do_patch_sections(const Elf_Ehdr *hdr, in do_patch_sections() 207 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
| /Linux-v5.4/arch/mips/include/asm/ |
| D | module.h | 41 #define Elf_Ehdr Elf32_Ehdr macro 59 #define Elf_Ehdr Elf64_Ehdr macro
|
| /Linux-v5.4/kernel/ |
| D | module-internal.h | 15 Elf_Ehdr *hdr;
|
| /Linux-v5.4/arch/mips/kernel/ |
| D | vpe.c | 182 static void layout_sections(struct module *mod, const Elf_Ehdr *hdr, in layout_sections() 578 Elf_Ehdr *hdr; in vpe_elfload() 588 hdr = (Elf_Ehdr *) v->pbuffer; in vpe_elfload() 822 Elf_Ehdr *hdr; in vpe_release() 829 hdr = (Elf_Ehdr *) v->pbuffer; in vpe_release()
|
| /Linux-v5.4/arch/sh/kernel/ |
| D | module.c | 99 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
| /Linux-v5.4/arch/nios2/kernel/ |
| D | module.c | 133 int module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
| /Linux-v5.4/arch/hexagon/kernel/ |
| D | module.c | 27 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|
| /Linux-v5.4/arch/arc/kernel/ |
| D | module.c | 26 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|
| /Linux-v5.4/arch/m68k/kernel/ |
| D | module.c | 102 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
| /Linux-v5.4/lib/ |
| D | bug.c | 87 void module_bug_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_bug_finalize()
|
| /Linux-v5.4/arch/mips/boot/tools/ |
| D | relocs.c | 9 #define Elf_Ehdr ElfW(Ehdr) macro 14 static Elf_Ehdr ehdr; 247 if (ehdr.e_ehsize != sizeof(Elf_Ehdr)) in read_ehdr()
|
| /Linux-v5.4/arch/sh/include/asm/ |
| D | dwarf.h | 378 extern int module_dwarf_finalize(const Elf_Ehdr *, const Elf_Shdr *,
|
| /Linux-v5.4/arch/riscv/kernel/ |
| D | module-sections.c | 90 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|