Home
last modified time | relevance | path

Searched refs:elf_info (Results 1 – 11 of 11) sorted by relevance

/linux/kernel/
A Dkexec_elf.c264 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 …]
/linux/arch/powerpc/kexec/
A Delf_64.c39 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()
/linux/arch/parisc/kernel/
A Dkexec_file.c24 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/
A Dmodpost.c330 static void *sym_get_data_by_offset(const struct elf_info *info, in sym_get_data_by_offset()
474 static int parse_elf(struct elf_info *info, const char *filename) in parse_elf()
631 static void parse_elf_finish(struct elf_info *info) in parse_elf_finish()
666 const struct elf_info *info, in handle_modversion()
789 static char *get_modinfo(struct elf_info *info, const char *tag) in get_modinfo()
818 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name()
1027 void (*handler)(const char *modname, struct elf_info *elf,
1741 static unsigned int *reloc_location(struct elf_info *elf, in reloc_location()
1879 static void section_rel(const char *modname, struct elf_info *elf, in section_rel()
1952 struct elf_info *elf) in check_sec_ref()
[all …]
A Dmodpost.h135 struct elf_info { struct
170 static inline unsigned int get_secindex(const struct elf_info *info, in get_secindex() argument
182 void handle_moddevtable(struct module *mod, struct elf_info *info,
A Dfile2alias.c1531 void handle_moddevtable(struct module *mod, struct elf_info *info, in handle_moddevtable()
/linux/arch/powerpc/boot/
A Delf.h150 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);
A Delf_util.c14 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()
A Dmain.c29 struct elf_info ei; in prep_kernel()
/linux/include/linux/
A Dkexec.h241 struct kexec_elf_info *elf_info);
244 struct kexec_elf_info *elf_info,
248 void kexec_free_elf_info(struct kexec_elf_info *elf_info);
/linux/fs/
A Dbinfmt_elf.c188 elf_addr_t *elf_info; in create_elf_tables() local
240 elf_info = (elf_addr_t *)mm->saved_auxv; in create_elf_tables()
244 *elf_info++ = id; \ in create_elf_tables()
245 *elf_info++ = val; \ in create_elf_tables()
291 memset(elf_info, 0, (char *)mm->saved_auxv + in create_elf_tables()
292 sizeof(mm->saved_auxv) - (char *)elf_info); in create_elf_tables()
295 elf_info += 2; in create_elf_tables()
297 ei_index = elf_info - (elf_addr_t *)mm->saved_auxv; in create_elf_tables()

Completed in 26 milliseconds