| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | kexec_elf.c | 203 struct kexec_elf_info *elf_info, in elf_read_phdr() argument 207 struct elf_phdr *phdr = (struct elf_phdr *) &elf_info->proghdrs[idx]; in elf_read_phdr() 208 const struct elfhdr *ehdr = elf_info->ehdr; in elf_read_phdr() 212 pbuf = buf + elf_info->ehdr->e_phoff + (idx * sizeof(*buf_phdr)); in elf_read_phdr() 215 phdr->p_type = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_type); in elf_read_phdr() 216 phdr->p_flags = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_flags); in elf_read_phdr() 252 struct kexec_elf_info *elf_info) in elf_read_phdrs() argument 255 const struct elfhdr *ehdr = elf_info->ehdr; in elf_read_phdrs() 263 elf_info->proghdrs = kzalloc(phdr_size, GFP_KERNEL); in elf_read_phdrs() 264 if (!elf_info->proghdrs) in elf_read_phdrs() [all …]
|
| /OK3568_Linux_fs/kernel/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() 138 slave_code = elf_info.buffer + elf_info.proghdrs[0].p_offset; in elf64_load() 146 kexec_free_elf_info(&elf_info); in elf64_load()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/scripts/mod/ |
| H A D | modpost.c | 323 static void *sym_get_data_by_offset(const struct elf_info *info, in sym_get_data_by_offset() 334 static void *sym_get_data(const struct elf_info *info, const Elf_Sym *sym) in sym_get_data() 340 static const char *sech_name(const struct elf_info *info, Elf_Shdr *sechdr) in sech_name() 346 static const char *sec_name(const struct elf_info *info, int secindex) in sec_name() 353 static enum export export_from_secname(struct elf_info *elf, unsigned int sec) in export_from_secname() 371 static enum export export_from_sec(struct elf_info *elf, unsigned int sec) in export_from_sec() 387 static const char *namespace_from_kstrtabns(const struct elf_info *info, in namespace_from_kstrtabns() 478 static int parse_elf(struct elf_info *info, const char *filename) in parse_elf() 641 static void parse_elf_finish(struct elf_info *info) in parse_elf_finish() 646 static int ignore_undef_symbol(struct elf_info *info, const char *symname) in ignore_undef_symbol() [all …]
|
| H A D | modpost.h | 136 struct elf_info { struct 174 static inline unsigned int get_secindex(const struct elf_info *info, in get_secindex() argument 194 void handle_moddevtable(struct module *mod, struct elf_info *info,
|
| H A D | file2alias.c | 1450 void handle_moddevtable(struct module *mod, struct elf_info *info, in handle_moddevtable()
|
| /OK3568_Linux_fs/buildroot/package/makedumpfile/ |
| H A D | 0001-PATCH-Define-PN_XNUM-if-missing.patch | 10 elf_info.h | 4 ++++ 13 --- a/elf_info.h 14 +++ b/elf_info.h
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | kexec.h | 271 struct kexec_elf_info *elf_info); 274 struct kexec_elf_info *elf_info, 278 void kexec_free_elf_info(struct kexec_elf_info *elf_info);
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/ |
| H A D | arm_crashdump-fix-buffer-align.patch | 27 elf_info.class = ELFCLASS64; 30 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,
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/kexec/kexec-tools/ |
| H A D | 0003-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch | 34 elf_info.class = ELFCLASS64; 37 err = crash_create_elf64_headers(info, &elf_info,
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | binfmt_elf.c | 188 elf_addr_t *elf_info; in create_elf_tables() local 239 elf_info = (elf_addr_t *)mm->saved_auxv; in create_elf_tables() 243 *elf_info++ = id; \ in create_elf_tables() 244 *elf_info++ = val; \ in create_elf_tables() 288 memset(elf_info, 0, (char *)mm->saved_auxv + in create_elf_tables() 289 sizeof(mm->saved_auxv) - (char *)elf_info); in create_elf_tables() 292 elf_info += 2; in create_elf_tables() 294 ei_index = elf_info - (elf_addr_t *)mm->saved_auxv; in create_elf_tables()
|
| /OK3568_Linux_fs/yocto/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.…
|