elf_info 24 arch/parisc/kernel/kexec_file.c struct kexec_elf_info elf_info; elf_info 28 arch/parisc/kernel/kexec_file.c ret = kexec_build_elf_info(kernel_buf, kernel_len, &ehdr, &elf_info); elf_info 32 arch/parisc/kernel/kexec_file.c ret = kexec_elf_load(image, &ehdr, &elf_info, &kbuf, &kernel_load_addr); elf_info 36 arch/parisc/kernel/kexec_file.c image->start = __pa(elf_info.ehdr->e_entry); elf_info 155 arch/powerpc/boot/elf.h int parse_elf64(void *hdr, struct elf_info *info); elf_info 156 arch/powerpc/boot/elf.h int parse_elf32(void *hdr, struct elf_info *info); elf_info 14 arch/powerpc/boot/elf_util.c int parse_elf64(void *hdr, struct elf_info *info) elf_info 50 arch/powerpc/boot/elf_util.c int parse_elf32(void *hdr, struct elf_info *info) elf_info 29 arch/powerpc/boot/main.c struct elf_info ei; elf_info 38 arch/powerpc/kernel/kexec_elf_64.c struct kexec_elf_info elf_info; elf_info 45 arch/powerpc/kernel/kexec_elf_64.c ret = kexec_build_elf_info(kernel_buf, kernel_len, &ehdr, &elf_info); elf_info 49 arch/powerpc/kernel/kexec_elf_64.c ret = kexec_elf_load(image, &ehdr, &elf_info, &kbuf, &kernel_load_addr); elf_info 109 arch/powerpc/kernel/kexec_elf_64.c slave_code = elf_info.buffer + elf_info.proghdrs[0].p_offset; elf_info 116 arch/powerpc/kernel/kexec_elf_64.c kexec_free_elf_info(&elf_info); elf_info 178 fs/binfmt_elf.c elf_addr_t *elf_info; elf_info 229 fs/binfmt_elf.c elf_info = (elf_addr_t *)current->mm->saved_auxv; elf_info 233 fs/binfmt_elf.c elf_info[ei_index++] = id; \ elf_info 234 fs/binfmt_elf.c elf_info[ei_index++] = val; \ elf_info 278 fs/binfmt_elf.c memset(&elf_info[ei_index], 0, elf_info 279 fs/binfmt_elf.c sizeof current->mm->saved_auxv - ei_index * sizeof elf_info[0]); elf_info 341 fs/binfmt_elf.c if (copy_to_user(sp, elf_info, ei_index * sizeof(elf_addr_t))) elf_info 234 include/linux/kexec.h struct kexec_elf_info *elf_info); elf_info 237 include/linux/kexec.h struct kexec_elf_info *elf_info, elf_info 241 include/linux/kexec.h void kexec_free_elf_info(struct kexec_elf_info *elf_info); elf_info 203 kernel/kexec_elf.c struct kexec_elf_info *elf_info, elf_info 207 kernel/kexec_elf.c struct elf_phdr *phdr = (struct elf_phdr *) &elf_info->proghdrs[idx]; elf_info 208 kernel/kexec_elf.c const struct elfhdr *ehdr = elf_info->ehdr; elf_info 212 kernel/kexec_elf.c pbuf = buf + elf_info->ehdr->e_phoff + (idx * sizeof(*buf_phdr)); elf_info 215 kernel/kexec_elf.c phdr->p_type = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_type); elf_info 216 kernel/kexec_elf.c phdr->p_flags = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_flags); elf_info 252 kernel/kexec_elf.c struct kexec_elf_info *elf_info) elf_info 255 kernel/kexec_elf.c const struct elfhdr *ehdr = elf_info->ehdr; elf_info 263 kernel/kexec_elf.c elf_info->proghdrs = kzalloc(phdr_size, GFP_KERNEL); elf_info 264 kernel/kexec_elf.c if (!elf_info->proghdrs) elf_info 270 kernel/kexec_elf.c ret = elf_read_phdr(buf, len, elf_info, i); elf_info 272 kernel/kexec_elf.c kfree(elf_info->proghdrs); elf_info 273 kernel/kexec_elf.c elf_info->proghdrs = NULL; elf_info 298 kernel/kexec_elf.c struct kexec_elf_info *elf_info) elf_info 306 kernel/kexec_elf.c elf_info->buffer = buf; elf_info 307 kernel/kexec_elf.c elf_info->ehdr = ehdr; elf_info 309 kernel/kexec_elf.c ret = elf_read_phdrs(buf, len, elf_info); elf_info 319 kernel/kexec_elf.c void kexec_free_elf_info(struct kexec_elf_info *elf_info) elf_info 321 kernel/kexec_elf.c kfree(elf_info->proghdrs); elf_info 322 kernel/kexec_elf.c memset(elf_info, 0, sizeof(*elf_info)); elf_info 328 kernel/kexec_elf.c struct kexec_elf_info *elf_info) elf_info 333 kernel/kexec_elf.c ret = elf_read_from_buffer(buf, len, ehdr, elf_info); elf_info 341 kernel/kexec_elf.c } else if (!elf_info->proghdrs) { elf_info 352 kernel/kexec_elf.c if (elf_info->proghdrs[i].p_type == PT_INTERP) { elf_info 360 kernel/kexec_elf.c kexec_free_elf_info(elf_info); elf_info 368 kernel/kexec_elf.c struct kexec_elf_info elf_info; elf_info 371 kernel/kexec_elf.c ret = kexec_build_elf_info(buf, len, &ehdr, &elf_info); elf_info 375 kernel/kexec_elf.c kexec_free_elf_info(&elf_info); elf_info 389 kernel/kexec_elf.c struct kexec_elf_info *elf_info, elf_info 403 kernel/kexec_elf.c phdr = &elf_info->proghdrs[i]; elf_info 411 kernel/kexec_elf.c kbuf->buffer = (void *) elf_info->buffer + phdr->p_offset; elf_info 1415 scripts/mod/file2alias.c void handle_moddevtable(struct module *mod, struct elf_info *info, elf_info 303 scripts/mod/modpost.c static const char *sech_name(struct elf_info *elf, Elf_Shdr *sechdr) elf_info 310 scripts/mod/modpost.c static const char *sec_name(struct elf_info *elf, int secindex) elf_info 317 scripts/mod/modpost.c static enum export export_from_secname(struct elf_info *elf, unsigned int sec) elf_info 335 scripts/mod/modpost.c static enum export export_from_sec(struct elf_info *elf, unsigned int sec) elf_info 351 scripts/mod/modpost.c static const char *namespace_from_kstrtabns(struct elf_info *info, elf_info 480 scripts/mod/modpost.c static int parse_elf(struct elf_info *info, const char *filename) elf_info 648 scripts/mod/modpost.c static void parse_elf_finish(struct elf_info *info) elf_info 653 scripts/mod/modpost.c static int ignore_undef_symbol(struct elf_info *info, const char *symname) elf_info 682 scripts/mod/modpost.c static void handle_modversions(struct module *mod, struct elf_info *info, elf_info 792 scripts/mod/modpost.c static char *get_next_modinfo(struct elf_info *info, const char *tag, elf_info 812 scripts/mod/modpost.c static char *get_modinfo(struct elf_info *info, const char *tag) elf_info 841 scripts/mod/modpost.c static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) elf_info 921 scripts/mod/modpost.c static void check_section(const char *modname, struct elf_info *elf, elf_info 1050 scripts/mod/modpost.c void (*handler)(const char *modname, struct elf_info *elf, elf_info 1056 scripts/mod/modpost.c static void extable_mismatch_handler(const char *modname, struct elf_info *elf, elf_info 1299 scripts/mod/modpost.c static inline int is_valid_name(struct elf_info *elf, Elf_Sym *sym) elf_info 1315 scripts/mod/modpost.c static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, elf_info 1359 scripts/mod/modpost.c static Elf_Sym *find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, elf_info 1599 scripts/mod/modpost.c static void default_mismatch_handler(const char *modname, struct elf_info *elf, elf_info 1629 scripts/mod/modpost.c static int is_executable_section(struct elf_info* elf, unsigned int section_index) elf_info 1674 scripts/mod/modpost.c static void report_extable_warnings(const char* modname, struct elf_info* elf, elf_info 1712 scripts/mod/modpost.c static void extable_mismatch_handler(const char* modname, struct elf_info *elf, elf_info 1748 scripts/mod/modpost.c static void check_section_mismatch(const char *modname, struct elf_info *elf, elf_info 1764 scripts/mod/modpost.c static unsigned int *reloc_location(struct elf_info *elf, elf_info 1774 scripts/mod/modpost.c static int addend_386_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) elf_info 1810 scripts/mod/modpost.c static int addend_arm_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) elf_info 1837 scripts/mod/modpost.c static int addend_mips_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) elf_info 1860 scripts/mod/modpost.c static void section_rela(const char *modname, struct elf_info *elf, elf_info 1906 scripts/mod/modpost.c static void section_rel(const char *modname, struct elf_info *elf, elf_info 1979 scripts/mod/modpost.c struct elf_info *elf) elf_info 2014 scripts/mod/modpost.c struct elf_info info = { }; elf_info 174 scripts/mod/modpost.h static inline unsigned int get_secindex(const struct elf_info *info, elf_info 186 scripts/mod/modpost.h void handle_moddevtable(struct module *mod, struct elf_info *info,