Lines Matching defs:elf

53 static void assign_tls_mod_id(struct ta_elf *elf)  in assign_tls_mod_id()
64 struct ta_elf *elf = calloc(1, sizeof(*elf)); in queue_elf_helper() local
78 struct ta_elf *elf = ta_elf_find_elf(uuid); in queue_elf() local
92 struct ta_elf *elf = NULL; in ta_elf_find_elf() local
102 static TEE_Result e32_parse_ehdr(struct ta_elf *elf, Elf32_Ehdr *ehdr) in e32_parse_ehdr()
130 static TEE_Result e64_parse_ehdr(struct ta_elf *elf, Elf64_Ehdr *ehdr) in e64_parse_ehdr()
169 static TEE_Result e64_parse_ehdr(struct ta_elf *elf, Elf64_Ehdr *ehdr) in e64_parse_ehdr()
193 static void check_phdr_in_range(struct ta_elf *elf, unsigned int type, in check_phdr_in_range()
211 static void read_dyn(struct ta_elf *elf, vaddr_t addr, in read_dyn()
227 static void check_range(struct ta_elf *elf, const char *name, const void *ptr, in check_range()
243 static void check_hashtab(struct ta_elf *elf, void *ptr, size_t num_buckets, in check_hashtab()
267 static void check_gnu_hashtab(struct ta_elf *elf, void *ptr) in check_gnu_hashtab()
294 static void save_hashtab(struct ta_elf *elf) in save_hashtab()
338 static void save_soname_from_segment(struct ta_elf *elf, unsigned int type, in save_soname_from_segment()
375 static void save_soname(struct ta_elf *elf) in save_soname()
396 static void e32_save_symtab(struct ta_elf *elf, size_t tab_idx) in e32_save_symtab()
420 static void e64_save_symtab(struct ta_elf *elf, size_t tab_idx) in e64_save_symtab()
448 static void save_symtab(struct ta_elf *elf) in save_symtab()
477 static void init_elf(struct ta_elf *elf) in init_elf()
533 static void add_segment(struct ta_elf *elf, size_t offset, size_t vaddr, in add_segment()
554 static void parse_load_segments(struct ta_elf *elf) in parse_load_segments()
595 static void copy_remapped_to(struct ta_elf *elf, const struct segment *seg) in copy_remapped_to()
620 static void adjust_segments(struct ta_elf *elf) in adjust_segments()
716 static void populate_segments_legacy(struct ta_elf *elf) in populate_segments_legacy()
780 static void populate_segments(struct ta_elf *elf) in populate_segments()
912 static void ta_elf_add_bti(struct ta_elf *elf) in ta_elf_add_bti()
929 static void parse_property_segment(struct ta_elf *elf) in parse_property_segment()
992 static void map_segments(struct ta_elf *elf) in map_segments()
1029 static void add_deps_from_segment(struct ta_elf *elf, unsigned int type, in add_deps_from_segment()
1075 static void add_dependencies(struct ta_elf *elf) in add_dependencies()
1094 static void copy_section_headers(struct ta_elf *elf) in copy_section_headers()
1128 static void close_handle(struct ta_elf *elf) in close_handle()
1137 static void clean_elf_load_main(struct ta_elf *elf) in clean_elf_load_main()
1181 static void set_tls_offset(struct ta_elf *elf) in set_tls_offset()
1196 static void load_main(struct ta_elf *elf) in load_main()
1253 struct ta_elf *elf = queue_elf(uuid); in ta_elf_load_main() local
1279 struct ta_elf *elf = TAILQ_FIRST(&main_elf_queue); in ta_elf_finalize_load_main() local
1298 void ta_elf_load_dependency(struct ta_elf *elf, bool is_32bit) in ta_elf_load_dependency()
1321 void ta_elf_finalize_mappings(struct ta_elf *elf) in ta_elf_finalize_mappings()
1397 struct ta_elf **elf, struct segment **seg, in get_next_in_order()
1448 struct ta_elf *elf = NULL; in ta_elf_print_mappings() local
1543 struct ta_elf *elf = NULL; in find_exidx() local
1586 struct ta_elf *elf = NULL; in ta_elf_add_library() local
1615 static void get_init_fini_array(struct ta_elf *elf, unsigned int type, in get_init_fini_array()
1656 static void elf_get_init_fini_array(struct ta_elf *elf, vaddr_t *init, in elf_get_init_fini_array()
1773 static void fill_ifs(vaddr_t va, size_t idx, struct ta_elf *elf, bool is_32bit) in fill_ifs()
1829 struct ta_elf *elf = NULL; in ta_elf_set_init_fini_info_compat() local
1909 static void fill_elf_phdr_info(vaddr_t va, size_t idx, struct ta_elf *elf, in fill_elf_phdr_info()
1955 struct ta_elf *elf = NULL; in ta_elf_set_elf_phdr_info() local