Searched refs:elf_info (Results 1 – 10 of 10) sorted by relevance
| /linux/arch/loongarch/kernel/ |
| H A D | kexec_elf.c | 21 struct elfhdr *ehdr, struct kexec_elf_info *elf_info, in _elf_kexec_load() argument 31 phdr = &elf_info->proghdrs[i]; in _elf_kexec_load() 39 kbuf->buffer = (void *)elf_info->buffer + phdr->p_offset; in _elf_kexec_load() 63 struct kexec_elf_info elf_info; in elf_kexec_load() local 66 ret = kexec_build_elf_info(kernel, kernel_len, &ehdr, &elf_info); in elf_kexec_load() 80 ret = _elf_kexec_load(image, &ehdr, &elf_info, &kbuf, &text_offset); in elf_kexec_load() 98 kexec_free_elf_info(&elf_info); in elf_kexec_load()
|
| /linux/arch/parisc/kernel/ |
| H A D | kexec_file.c | 24 struct kexec_elf_info elf_info; in elf_load() local 28 ret = kexec_build_elf_info(kernel_buf, kernel_len, &ehdr, &elf_info); in elf_load() 32 ret = kexec_elf_load(image, &ehdr, &elf_info, &kbuf, &kernel_load_addr); in elf_load() 36 image->start = __pa(elf_info.ehdr->e_entry); in elf_load()
|
| /linux/scripts/mod/ |
| H A D | symsearch.c | 50 static unsigned int symbol_count(struct elf_info *elf) in symbol_count() 68 static void symsearch_populate(struct elf_info *elf, in symsearch_populate() 124 void symsearch_init(struct elf_info *elf) in symsearch_init() 139 void symsearch_finish(struct elf_info *elf) in symsearch_finish() 153 Elf_Sym *symsearch_find_nearest(struct elf_info *elf, Elf_Addr addr, in symsearch_find_nearest()
|
| H A D | modpost.c | 329 static void *sym_get_data_by_offset(const struct elf_info *info, in sym_get_data_by_offset() 337 void *sym_get_data(const struct elf_info *info, const Elf_Sym *sym) in sym_get_data() 343 static const char *sech_name(const struct elf_info *info, Elf_Shdr *sechdr) in sech_name() 349 static const char *sec_name(const struct elf_info *info, unsigned int secindex) in sec_name() 415 static int parse_elf(struct elf_info *info, const char *filename) in parse_elf() 588 static void parse_elf_finish(struct elf_info *info) in parse_elf_finish() 594 static int ignore_undef_symbol(struct elf_info *info, const char *symname) in ignore_undef_symbol() 632 static void handle_symbol(struct module *mod, struct elf_info *info, in handle_symbol() 695 static char *get_next_modinfo(struct elf_info *info, const char *tag, in get_next_modinfo() 715 static char *get_modinfo(struct elf_info *info, const char *tag) in get_modinfo() [all …]
|
| H A D | file2alias.c | 1537 void handle_moddevtable(struct module *mod, struct elf_info *info, in handle_moddevtable()
|
| /linux/arch/powerpc/boot/ |
| H A D | elf.h | 150 struct elf_info { struct 155 int parse_elf64(void *hdr, struct elf_info *info); argument 156 int parse_elf32(void *hdr, struct elf_info *info);
|
| H A D | elf_util.c | 14 int parse_elf64(void *hdr, struct elf_info *info) in parse_elf64() 50 int parse_elf32(void *hdr, struct elf_info *info) in parse_elf32()
|
| H A D | main.c | 29 struct elf_info ei; in prep_kernel()
|
| /linux/include/linux/ |
| H A D | kexec.h | 329 struct kexec_elf_info *elf_info); 332 struct kexec_elf_info *elf_info, 336 void kexec_free_elf_info(struct kexec_elf_info *elf_info);
|
| /linux/fs/ |
| H A D | binfmt_elf_fdpic.c | 517 elf_addr_t *elf_info; in create_elf_fdpic_tables() local 622 elf_info = (elf_addr_t *)mm->saved_auxv; in create_elf_fdpic_tables() 626 *elf_info++ = id; \ in create_elf_fdpic_tables() 627 *elf_info++ = val; \ in create_elf_fdpic_tables() 673 memset(elf_info, 0, (char *)mm->saved_auxv + in create_elf_fdpic_tables() 674 sizeof(mm->saved_auxv) - (char *)elf_info); in create_elf_fdpic_tables() 677 elf_info += 2; in create_elf_fdpic_tables() 679 ei_index = elf_info - (elf_addr_t *)mm->saved_auxv; in create_elf_fdpic_tables()
|