| /arch/s390/kernel/ |
| A 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() 73 const Elf_Ehdr *ehdr; in s390_elf_load() 79 ehdr = (Elf_Ehdr *)kernel; in s390_elf_load() 114 const Elf_Ehdr *ehdr; in s390_elf_probe() 116 if (len < sizeof(Elf_Ehdr)) in s390_elf_probe() 119 ehdr = (Elf_Ehdr *)buf; in s390_elf_probe()
|
| A D | module.c | 106 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 491 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
| /arch/mips/include/asm/ |
| A D | module.h | 41 #define Elf_Ehdr Elf32_Ehdr macro 59 #define Elf_Ehdr Elf64_Ehdr macro
|
| /arch/powerpc/kernel/ |
| A D | module.c | 19 static const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section() 33 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
| /arch/sparc/kernel/ |
| A D | module.c | 25 int module_frob_arch_sections(Elf_Ehdr *hdr, in module_frob_arch_sections() 154 static void do_patch_sections(const Elf_Ehdr *hdr, in do_patch_sections() 177 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
| /arch/s390/include/asm/ |
| A D | module.h | 41 static inline const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section()
|
| /arch/riscv/kernel/ |
| A D | alternative.c | 174 const Elf_Ehdr *hdr; in apply_vdso_alternatives() 179 hdr = (Elf_Ehdr *)vdso_start; in apply_vdso_alternatives()
|
| A D | module-sections.c | 115 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|
| /arch/arm64/include/asm/ |
| A D | module.h | 53 static inline const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section()
|
| /arch/mips/kernel/ |
| A D | vpe.c | 183 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() 800 Elf_Ehdr *hdr; in vpe_release() 807 hdr = (Elf_Ehdr *) v->pbuffer; in vpe_release()
|
| /arch/sh/kernel/ |
| A D | module.c | 90 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
| /arch/nios2/kernel/ |
| A D | module.c | 112 int module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
| /arch/s390/tools/ |
| A D | relocs.c | 36 #define Elf_Ehdr ElfW(Ehdr) macro 41 static Elf_Ehdr ehdr; 155 if (ehdr.e_ehsize != sizeof(Elf_Ehdr)) in read_ehdr()
|
| /arch/riscv/include/asm/ |
| A D | module.h | 115 static inline const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section()
|
| /arch/hexagon/kernel/ |
| A D | module.c | 27 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|
| /arch/m68k/kernel/ |
| A D | module.c | 102 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
| /arch/arc/kernel/ |
| A D | module.c | 26 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|
| /arch/arm64/kernel/ |
| A D | module.c | 452 static int module_init_ftrace_plt(const Elf_Ehdr *hdr, in module_init_ftrace_plt() 473 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
| /arch/mips/boot/tools/ |
| A 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()
|
| /arch/sh/include/asm/ |
| A D | dwarf.h | 378 extern int module_dwarf_finalize(const Elf_Ehdr *, const Elf_Shdr *,
|
| /arch/loongarch/kernel/ |
| A D | module-sections.c | 104 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|
| A D | module.c | 493 static void module_init_ftrace_plt(const Elf_Ehdr *hdr, in module_init_ftrace_plt() 510 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
| /arch/x86/tools/ |
| A D | relocs.c | 9 #define Elf_Ehdr ElfW(Ehdr) macro 14 static Elf_Ehdr ehdr; 383 if (ehdr.e_ehsize != sizeof(Elf_Ehdr)) in read_ehdr()
|
| /arch/arm/kernel/ |
| A D | module-plts.c | 209 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|
| /arch/x86/kernel/ |
| A D | module.c | 238 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|