Symbol: Elf_Ehdr
arch/arc/kernel/module.c
26
int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs,
arch/arm/kernel/module-plts.c
209
int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs,
arch/arm64/include/asm/module.h
54
static inline const Elf_Shdr *find_section(const Elf_Ehdr *hdr,
arch/arm64/kernel/module-plts.c
280
int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs,
arch/arm64/kernel/module.c
452
static int module_init_ftrace_plt(const Elf_Ehdr *hdr,
arch/arm64/kernel/module.c
484
int module_finalize(const Elf_Ehdr *hdr,
arch/hexagon/kernel/module.c
27
int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs,
arch/loongarch/kernel/module-sections.c
105
int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs,
arch/loongarch/kernel/module.c
589
static void module_init_ftrace_plt(const Elf_Ehdr *hdr,
arch/loongarch/kernel/module.c
606
int module_finalize(const Elf_Ehdr *hdr,
arch/m68k/kernel/module.c
102
int module_finalize(const Elf_Ehdr *hdr,
arch/mips/boot/tools/relocs.c
14
static Elf_Ehdr ehdr;
arch/mips/boot/tools/relocs.c
248
if (ehdr.e_ehsize != sizeof(Elf_Ehdr))
arch/mips/kernel/module.c
414
int module_finalize(const Elf_Ehdr *hdr,
arch/mips/kernel/vpe.c
183
static void layout_sections(struct module *mod, const Elf_Ehdr *hdr,
arch/mips/kernel/vpe.c
578
Elf_Ehdr *hdr;
arch/mips/kernel/vpe.c
588
hdr = (Elf_Ehdr *) v->pbuffer;
arch/mips/kernel/vpe.c
800
Elf_Ehdr *hdr;
arch/mips/kernel/vpe.c
807
hdr = (Elf_Ehdr *) v->pbuffer;
arch/nios2/kernel/module.c
112
int module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs,
arch/parisc/kernel/module.c
267
int module_frob_arch_sections(CONST Elf_Ehdr *hdr,
arch/parisc/kernel/module.c
827
int module_finalize(const Elf_Ehdr *hdr,
arch/powerpc/kernel/module.c
19
static const Elf_Shdr *find_section(const Elf_Ehdr *hdr,
arch/powerpc/kernel/module.c
33
int module_finalize(const Elf_Ehdr *hdr,
arch/powerpc/kernel/module_64.c
34
bool module_elf_check_arch(Elf_Ehdr *hdr)
arch/riscv/include/asm/module.h
115
static inline const Elf_Shdr *find_section(const Elf_Ehdr *hdr,
arch/riscv/kernel/alternative.c
179
const Elf_Ehdr *hdr;
arch/riscv/kernel/alternative.c
184
hdr = (Elf_Ehdr *)vdso_start;
arch/riscv/kernel/module-sections.c
115
int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs,
arch/riscv/kernel/module.c
895
int module_finalize(const Elf_Ehdr *hdr,
arch/s390/include/asm/module.h
41
static inline const Elf_Shdr *find_section(const Elf_Ehdr *hdr,
arch/s390/kernel/kexec_elf.c
114
const Elf_Ehdr *ehdr;
arch/s390/kernel/kexec_elf.c
116
if (len < sizeof(Elf_Ehdr))
arch/s390/kernel/kexec_elf.c
119
ehdr = (Elf_Ehdr *)buf;
arch/s390/kernel/kexec_elf.c
20
const Elf_Ehdr *ehdr;
arch/s390/kernel/kexec_elf.c
27
ehdr = (Elf_Ehdr *)kernel;
arch/s390/kernel/kexec_elf.c
73
const Elf_Ehdr *ehdr;
arch/s390/kernel/kexec_elf.c
79
ehdr = (Elf_Ehdr *)kernel;
arch/s390/kernel/module.c
108
int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs,
arch/s390/kernel/module.c
493
int module_finalize(const Elf_Ehdr *hdr,
arch/s390/tools/relocs.c
155
if (ehdr.e_ehsize != sizeof(Elf_Ehdr))
arch/s390/tools/relocs.c
41
static Elf_Ehdr ehdr;
arch/sh/include/asm/dwarf.h
378
extern int module_dwarf_finalize(const Elf_Ehdr *, const Elf_Shdr *,
arch/sh/kernel/dwarf.c
1089
int module_dwarf_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs,
arch/sh/kernel/module.c
90
int module_finalize(const Elf_Ehdr *hdr,
arch/sparc/kernel/module.c
153
static void do_patch_sections(const Elf_Ehdr *hdr,
arch/sparc/kernel/module.c
176
int module_finalize(const Elf_Ehdr *hdr,
arch/sparc/kernel/module.c
25
int module_frob_arch_sections(Elf_Ehdr *hdr,
arch/x86/kernel/module.c
241
int module_finalize(const Elf_Ehdr *hdr,
arch/x86/tools/relocs.c
14
static Elf_Ehdr ehdr;
arch/x86/tools/relocs.c
383
if (ehdr.e_ehsize != sizeof(Elf_Ehdr))
include/linux/cfi.h
73
void module_cfi_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs,
include/linux/cfi.h
76
static inline void module_cfi_finalize(const Elf_Ehdr *hdr,
include/linux/kexec.h
121
const Elf_Ehdr *ehdr;
include/linux/module.h
390
Elf_Ehdr hdr;
include/linux/module.h
899
void module_bug_finalize(const Elf_Ehdr *, const Elf_Shdr *,
include/linux/module.h
905
static inline void module_bug_finalize(const Elf_Ehdr *hdr,
include/linux/moduleloader.h
107
int module_finalize(const Elf_Ehdr *hdr,
include/linux/moduleloader.h
17
bool module_elf_check_arch(Elf_Ehdr *hdr);
include/linux/moduleloader.h
20
int module_frob_arch_sections(Elf_Ehdr *hdr,
kernel/cfi.c
65
void module_cfi_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs,
kernel/kexec_file.c
1179
pi->ehdr = (const Elf_Ehdr *)kexec_purgatory;
kernel/kexec_file.c
896
const Elf_Ehdr *ehdr;
kernel/module/internal.h
335
int module_enforce_rwx_sections(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs,
kernel/module/internal.h
338
void module_mark_ro_after_init(const Elf_Ehdr *hdr, Elf_Shdr *sechdrs,
kernel/module/internal.h
68
Elf_Ehdr *hdr;
kernel/module/main.c
2849
bool __weak module_elf_check_arch(Elf_Ehdr *hdr)
kernel/module/main.c
2854
int __weak module_frob_arch_sections(Elf_Ehdr *hdr,
kernel/module/main.c
2940
int __weak module_finalize(const Elf_Ehdr *hdr,
kernel/module/strict_rwx.c
135
void module_mark_ro_after_init(const Elf_Ehdr *hdr, Elf_Shdr *sechdrs,
kernel/module/strict_rwx.c
90
int module_enforce_rwx_sections(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs,
lib/bug.c
84
void module_bug_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs,
scripts/elf-parse.c
165
Elf_Ehdr *ehdr = addr;
scripts/elf-parse.c
172
Elf_Ehdr *ehdr = addr;
scripts/elf-parse.c
57
Elf_Ehdr *ehdr = addr;
scripts/elf-parse.h
32
uint64_t (*ehdr_shoff)(Elf_Ehdr *ehdr);
scripts/elf-parse.h
33
uint16_t (*ehdr_shstrndx)(Elf_Ehdr *ehdr);
scripts/elf-parse.h
34
uint16_t (*ehdr_shentsize)(Elf_Ehdr *ehdr);
scripts/elf-parse.h
35
uint16_t (*ehdr_shnum)(Elf_Ehdr *ehdr);
scripts/elf-parse.h
60
static inline uint64_t ehdr64_shoff(Elf_Ehdr *ehdr)
scripts/elf-parse.h
65
static inline uint64_t ehdr32_shoff(Elf_Ehdr *ehdr)
scripts/elf-parse.h
70
static inline uint64_t ehdr_shoff(Elf_Ehdr *ehdr)
scripts/elf-parse.h
76
static inline uint16_t ehdr64_##fn_name(Elf_Ehdr *ehdr) \
scripts/elf-parse.h
81
static inline uint16_t ehdr32_##fn_name(Elf_Ehdr *ehdr) \
scripts/elf-parse.h
86
static inline uint16_t ehdr_##fn_name(Elf_Ehdr *ehdr) \
scripts/insert-sys-cert.c
133
static Elf_Sym *find_elf_symbol(Elf_Ehdr *hdr, Elf_Shdr *symtab, char *name)
scripts/insert-sys-cert.c
157
static void get_symbol_from_table(Elf_Ehdr *hdr, Elf_Shdr *symtab,
scripts/insert-sys-cert.c
184
static Elf_Shdr *get_symbol_table(Elf_Ehdr *hdr)
scripts/insert-sys-cert.c
260
static void print_sym(Elf_Ehdr *hdr, struct sym *s)
scripts/insert-sys-cert.c
280
Elf_Ehdr *hdr;
scripts/insert-sys-cert.c
68
static unsigned long get_offset_from_address(Elf_Ehdr *hdr, unsigned long addr)
scripts/insert-sys-cert.c
93
static void get_symbol_from_map(Elf_Ehdr *hdr, FILE *f, char *name,
scripts/mod/modpost.c
408
Elf_Ehdr *hdr;
scripts/mod/modpost.h
142
Elf_Ehdr *hdr;
scripts/recordmcount.h
211
static unsigned int get_shnum(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0)
scripts/recordmcount.h
219
static void set_shnum(Elf_Ehdr *ehdr, Elf_Shdr *shdr0, unsigned int new_shnum)
scripts/recordmcount.h
228
static int get_shstrndx(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0)
scripts/recordmcount.h
236
static void find_symtab(Elf_Ehdr *const ehdr, Elf_Shdr const *shdr0,
scripts/recordmcount.h
258
static int append_func(Elf_Ehdr *const ehdr,
scripts/recordmcount.h
373
Elf_Ehdr const *const ehdr,
scripts/recordmcount.h
404
Elf_Ehdr const *const ehdr,
scripts/recordmcount.h
452
Elf_Ehdr const *const ehdr,
scripts/recordmcount.h
523
Elf_Ehdr const *const ehdr)
scripts/recordmcount.h
606
static int do_func(Elf_Ehdr *const ehdr, char const *const fname,
scripts/sorttable.c
353
Elf_Ehdr *ehdr;
scripts/sorttable.c
360
static int fill_relocs(void *ptr, uint64_t size, Elf_Ehdr *ehdr, uint64_t start_loc)
scripts/sorttable.c
417
static void replace_relocs(void *ptr, uint64_t size, Elf_Ehdr *ehdr, uint64_t start_loc)
scripts/sorttable.c
489
Elf_Ehdr *ehdr = emloc->ehdr;
scripts/sorttable.c
590
static int do_sort(Elf_Ehdr *ehdr,
scripts/sorttable.c
890
Elf_Ehdr *ehdr = addr;
scripts/tracepoint-update.c
119
Elf_Ehdr *ehdr = etrace->ehdr;
scripts/tracepoint-update.c
156
Elf_Ehdr *ehdr = addr;
scripts/tracepoint-update.c
34
Elf_Ehdr *ehdr;
scripts/tracepoint-update.c
83
Elf_Ehdr *ehdr = etrace->ehdr;
tools/perf/util/genelf.c
190
Elf_Ehdr *ehdr;
tools/perf/util/genelf.h
87
#define GEN_ELF_TEXT_OFFSET round_up(sizeof(Elf_Ehdr) + sizeof(Elf_Phdr), 16)