/linux-6.12.1/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() 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()
|
/linux-6.12.1/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 | 40 #undef Elf_Ehdr 79 # define Elf_Ehdr Elf64_Ehdr macro 117 # define Elf_Ehdr Elf32_Ehdr macro 211 static unsigned int get_shnum(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0) in get_shnum() 219 static void set_shnum(Elf_Ehdr *ehdr, Elf_Shdr *shdr0, unsigned int new_shnum) in set_shnum() 228 static int get_shstrndx(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0) in get_shstrndx() 236 static void find_symtab(Elf_Ehdr *const ehdr, Elf_Shdr const *shdr0, in find_symtab() 258 static int append_func(Elf_Ehdr *const ehdr, in append_func() 373 Elf_Ehdr const *const ehdr, in get_sym_str_and_relp() 404 Elf_Ehdr const *const ehdr, in sift_rel_mcount() [all …]
|
D | sorttable.h | 27 #undef Elf_Ehdr 52 # define Elf_Ehdr Elf64_Ehdr macro 76 # define Elf_Ehdr Elf32_Ehdr macro 205 Elf_Ehdr *ehdr; 261 static int do_sort(Elf_Ehdr *ehdr, in do_sort()
|
/linux-6.12.1/include/linux/ |
D | moduleloader.h | 17 bool module_elf_check_arch(Elf_Ehdr *hdr); 20 int module_frob_arch_sections(Elf_Ehdr *hdr, 107 int module_finalize(const Elf_Ehdr *hdr,
|
D | cfi.h | 40 void module_cfi_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, 43 static inline void module_cfi_finalize(const Elf_Ehdr *hdr, in module_cfi_finalize()
|
D | module.h | 401 Elf_Ehdr hdr; 891 void module_bug_finalize(const Elf_Ehdr *, const Elf_Shdr *, 897 static inline void module_bug_finalize(const Elf_Ehdr *hdr, in module_bug_finalize()
|
/linux-6.12.1/arch/x86/um/asm/ |
D | module.h | 14 #define Elf_Ehdr Elf32_Ehdr macro 20 #define Elf_Ehdr Elf64_Ehdr macro
|
/linux-6.12.1/tools/perf/util/ |
D | genelf.h | 66 #define Elf_Ehdr Elf64_Ehdr macro 77 #define Elf_Ehdr Elf32_Ehdr macro 87 #define GEN_ELF_TEXT_OFFSET round_up(sizeof(Elf_Ehdr) + sizeof(Elf_Phdr), 16)
|
/linux-6.12.1/include/asm-generic/ |
D | module.h | 20 #define Elf_Ehdr Elf64_Ehdr macro 37 #define Elf_Ehdr Elf32_Ehdr macro
|
/linux-6.12.1/scripts/mod/ |
D | modpost.h | 27 #define Elf_Ehdr Elf32_Ehdr macro 41 #define Elf_Ehdr Elf64_Ehdr macro 103 Elf_Ehdr *hdr;
|
/linux-6.12.1/arch/sparc/kernel/ |
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()
|
/linux-6.12.1/arch/mips/include/asm/ |
D | module.h | 41 #define Elf_Ehdr Elf32_Ehdr macro 59 #define Elf_Ehdr Elf64_Ehdr macro
|
/linux-6.12.1/arch/powerpc/kernel/ |
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()
|
/linux-6.12.1/arch/riscv/kernel/ |
D | alternative.c | 174 const Elf_Ehdr *hdr; in apply_vdso_alternatives() 179 hdr = (Elf_Ehdr *)vdso_start; in apply_vdso_alternatives()
|
/linux-6.12.1/arch/mips/kernel/ |
D | vpe.c | 182 static void layout_sections(struct module *mod, const Elf_Ehdr *hdr, in layout_sections() 577 Elf_Ehdr *hdr; in vpe_elfload() 587 hdr = (Elf_Ehdr *) v->pbuffer; in vpe_elfload() 799 Elf_Ehdr *hdr; in vpe_release() 806 hdr = (Elf_Ehdr *) v->pbuffer; in vpe_release()
|
/linux-6.12.1/arch/s390/include/asm/ |
D | module.h | 41 static inline const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section()
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | module.h | 53 static inline const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section()
|
/linux-6.12.1/arch/s390/tools/ |
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()
|
/linux-6.12.1/kernel/ |
D | cfi.c | 48 void module_cfi_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_cfi_finalize()
|
/linux-6.12.1/kernel/module/ |
D | strict_rwx.c | 81 int module_enforce_rwx_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_enforce_rwx_sections()
|
D | internal.h | 65 Elf_Ehdr *hdr; 328 int module_enforce_rwx_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs,
|
/linux-6.12.1/arch/sh/kernel/ |
D | module.c | 90 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
/linux-6.12.1/arch/nios2/kernel/ |
D | module.c | 112 int module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | module.h | 115 static inline const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section()
|