/openbmc/linux/kernel/ |
H A D | kexec_elf.c | 264 if (!elf_info->proghdrs) in elf_read_phdrs() 272 kfree(elf_info->proghdrs); in elf_read_phdrs() 273 elf_info->proghdrs = NULL; in elf_read_phdrs() 306 elf_info->buffer = buf; in elf_read_from_buffer() 307 elf_info->ehdr = ehdr; in elf_read_from_buffer() 321 kfree(elf_info->proghdrs); in kexec_free_elf_info() 322 memset(elf_info, 0, sizeof(*elf_info)); in kexec_free_elf_info() 360 kexec_free_elf_info(elf_info); in kexec_build_elf_info() 368 struct kexec_elf_info elf_info; in kexec_elf_probe() local 375 kexec_free_elf_info(&elf_info); in kexec_elf_probe() [all …]
|
/openbmc/linux/scripts/mod/ |
H A D | modpost.h | 113 struct elf_info { struct 137 static inline unsigned int get_secindex(const struct elf_info *info, in get_secindex() argument 166 static inline int is_valid_name(struct elf_info *elf, Elf_Sym *sym) in is_valid_name() 176 void symsearch_init(struct elf_info *elf); 177 void symsearch_finish(struct elf_info *elf); 178 Elf_Sym *symsearch_find_nearest(struct elf_info *elf, Elf_Addr addr, 183 void handle_moddevtable(struct module *mod, struct elf_info *info, 193 void *sym_get_data(const struct elf_info *info, const Elf_Sym *sym);
|
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 | 334 static void *sym_get_data_by_offset(const struct elf_info *info, in sym_get_data_by_offset() 342 void *sym_get_data(const struct elf_info *info, const Elf_Sym *sym) in sym_get_data() 423 static int parse_elf(struct elf_info *info, const char *filename) in parse_elf() 584 static void parse_elf_finish(struct elf_info *info) in parse_elf_finish() 624 static void handle_symbol(struct module *mod, struct elf_info *info, in handle_symbol() 707 static char *get_modinfo(struct elf_info *info, const char *tag) in get_modinfo() 713 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name() 1047 static Elf_Sym *find_fromsym(struct elf_info *elf, Elf_Addr addr, in find_fromsym() 1424 static void section_rela(struct module *mod, struct elf_info *elf, in section_rela() 1466 static void section_rel(struct module *mod, struct elf_info *elf, in section_rel() [all …]
|
H A D | file2alias.c | 1566 void handle_moddevtable(struct module *mod, struct elf_info *info, in handle_moddevtable()
|
/openbmc/linux/arch/powerpc/kexec/ |
H A D | elf_64.c | 39 struct kexec_elf_info elf_info; in elf64_load() local 46 ret = kexec_build_elf_info(kernel_buf, kernel_len, &ehdr, &elf_info); in elf64_load() 58 ret = kexec_elf_load(image, &ehdr, &elf_info, &kbuf, &kernel_load_addr); in elf64_load() 137 slave_code = elf_info.buffer + elf_info.proghdrs[0].p_offset; in elf64_load() 149 kexec_free_elf_info(&elf_info); in elf64_load()
|
/openbmc/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()
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | elf_kexec.c | 37 struct kexec_elf_info *elf_info, unsigned long old_pbase, in riscv_kexec_elf_load() argument 49 phdr = &elf_info->proghdrs[i]; in riscv_kexec_elf_load() 57 kbuf.buffer = (void *) elf_info->buffer + phdr->p_offset; in riscv_kexec_elf_load() 76 struct elfhdr *ehdr, struct kexec_elf_info *elf_info, in elf_find_pbase() argument 87 phdr = &elf_info->proghdrs[i]; in elf_find_pbase() 207 struct kexec_elf_info elf_info; in elf_kexec_load() local 210 ret = kexec_build_elf_info(kernel_buf, kernel_len, &ehdr, &elf_info); in elf_kexec_load() 214 ret = elf_find_pbase(image, kernel_len, &ehdr, &elf_info, in elf_kexec_load() 222 ret = riscv_kexec_elf_load(image, &ehdr, &elf_info, in elf_kexec_load() 328 kexec_free_elf_info(&elf_info); in elf_kexec_load()
|
/openbmc/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()
|
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/ |
H A D | arm_crashdump-fix-buffer-align.patch | 29 elf_info.class = ELFCLASS64; 32 err = crash_create_elf64_headers(info, &elf_info,
|
H A D | 0005-crashdump-elf.c-work-around-for-sysconf-_SC_NPROCESS.patch | 122 struct crash_elf_info *elf_info,
|
/openbmc/openbmc/poky/meta/recipes-kernel/kexec/kexec-tools/ |
H A D | 0003-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch | 35 elf_info.class = ELFCLASS64; 38 err = crash_create_elf64_headers(info, &elf_info,
|
/openbmc/linux/include/linux/ |
H A D | kexec.h | 286 struct kexec_elf_info *elf_info); 289 struct kexec_elf_info *elf_info, 293 void kexec_free_elf_info(struct kexec_elf_info *elf_info);
|
/openbmc/linux/fs/ |
H A D | binfmt_elf.c | 191 elf_addr_t *elf_info; in create_elf_tables() local 243 elf_info = (elf_addr_t *)mm->saved_auxv; in create_elf_tables() 247 *elf_info++ = id; \ in create_elf_tables() 248 *elf_info++ = val; \ in create_elf_tables() 298 memset(elf_info, 0, (char *)mm->saved_auxv + in create_elf_tables() 299 sizeof(mm->saved_auxv) - (char *)elf_info); in create_elf_tables() 302 elf_info += 2; in create_elf_tables() 304 ei_index = elf_info - (elf_addr_t *)mm->saved_auxv; in create_elf_tables()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/makedumpfile/makedumpfile/ |
H A D | 0001-makedumpfile-replace-hardcode-CFLAGS.patch | 80 …SRC_PART = print_info.c dwarf_info.c elf_info.c erase_info.c sadump_info.c cache.c tools.c printk.…
|