Searched refs:elf_info (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/arch/powerpc/boot/
H A Delf_util.c18 int parse_elf64(void *hdr, struct elf_info *info) parse_elf64()
54 int parse_elf32(void *hdr, struct elf_info *info) parse_elf32()
H A Delf.h149 struct elf_info { struct
154 int parse_elf64(void *hdr, struct elf_info *info);
155 int parse_elf32(void *hdr, struct elf_info *info);
H A Dmain.c36 struct elf_info ei; prep_kernel()
H A Dprpmc2800.c516 struct elf_info ei; platform_init()
/linux-4.1.27/scripts/mod/
H A Dmodpost.h119 struct elf_info { struct
157 static inline unsigned int get_secindex(const struct elf_info *info, get_secindex()
169 void handle_moddevtable(struct module *mod, struct elf_info *info,
H A Dmodpost.c263 static const char *sec_name(struct elf_info *elf, int secindex);
267 static enum export export_from_secname(struct elf_info *elf, unsigned int sec) export_from_secname()
285 static enum export export_from_sec(struct elf_info *elf, unsigned int sec) export_from_sec()
405 static int parse_elf(struct elf_info *info, const char *filename) parse_elf()
569 static void parse_elf_finish(struct elf_info *info) parse_elf_finish()
574 static int ignore_undef_symbol(struct elf_info *info, const char *symname) ignore_undef_symbol()
605 static void handle_modversions(struct module *mod, struct elf_info *info, handle_modversions()
752 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) sym_name()
760 static const char *sec_name(struct elf_info *elf, int secindex) sec_name()
768 static const char *sech_name(struct elf_info *elf, Elf_Shdr *sechdr) sech_name()
845 static void check_section(const char *modname, struct elf_info *elf, check_section()
973 void (*handler)(const char *modname, struct elf_info *elf,
979 static void extable_mismatch_handler(const char *modname, struct elf_info *elf,
1202 static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, find_elf_symbol()
1253 static inline int is_valid_name(struct elf_info *elf, Elf_Sym *sym) is_valid_name()
1268 static Elf_Sym *find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, find_elf_symbol2()
1510 static void default_mismatch_handler(const char *modname, struct elf_info *elf, default_mismatch_handler()
1541 static int is_executable_section(struct elf_info* elf, unsigned int section_index) is_executable_section()
1586 static void report_extable_warnings(const char* modname, struct elf_info* elf, report_extable_warnings()
1624 static void extable_mismatch_handler(const char* modname, struct elf_info *elf, extable_mismatch_handler()
1662 static void check_section_mismatch(const char *modname, struct elf_info *elf, check_section_mismatch()
1678 static unsigned int *reloc_location(struct elf_info *elf, reloc_location()
1688 static int addend_386_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) addend_386_rel()
1724 static int addend_arm_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) addend_arm_rel()
1751 static int addend_mips_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) addend_mips_rel()
1774 static void section_rela(const char *modname, struct elf_info *elf, section_rela()
1820 static void section_rel(const char *modname, struct elf_info *elf, section_rel()
1893 struct elf_info *elf) check_sec_ref()
1927 struct elf_info info = { }; read_symbols()
H A Dfile2alias.c1229 void handle_moddevtable(struct module *mod, struct elf_info *info, handle_moddevtable()
/linux-4.1.27/fs/
H A Dbinfmt_elf.c166 elf_addr_t *elf_info; create_elf_tables() local
217 elf_info = (elf_addr_t *)current->mm->saved_auxv; create_elf_tables()
221 elf_info[ei_index++] = id; \ create_elf_tables()
222 elf_info[ei_index++] = val; \ create_elf_tables()
266 memset(&elf_info[ei_index], 0, create_elf_tables()
267 sizeof current->mm->saved_auxv - ei_index * sizeof elf_info[0]); create_elf_tables()
327 /* Put the elf_info on the stack in the right place. */ create_elf_tables()
329 if (copy_to_user(sp, elf_info, ei_index * sizeof(elf_addr_t))) create_elf_tables()

Completed in 165 milliseconds