Lines Matching defs:elf

52 static void assign_tls_mod_id(struct ta_elf *elf)  in assign_tls_mod_id()
63 struct ta_elf *elf = calloc(1, sizeof(*elf)); in queue_elf_helper() local
77 struct ta_elf *elf = ta_elf_find_elf(uuid); in queue_elf() local
91 struct ta_elf *elf = NULL; in ta_elf_find_elf() local
101 static TEE_Result e32_parse_ehdr(struct ta_elf *elf, Elf32_Ehdr *ehdr) in e32_parse_ehdr()
137 static TEE_Result e64_parse_ehdr(struct ta_elf *elf, Elf64_Ehdr *ehdr) in e64_parse_ehdr()
176 static TEE_Result e64_parse_ehdr(struct ta_elf *elf, Elf64_Ehdr *ehdr) in e64_parse_ehdr()
200 static void check_phdr_in_range(struct ta_elf *elf, unsigned int type, in check_phdr_in_range()
218 static void read_dyn(struct ta_elf *elf, vaddr_t addr, in read_dyn()
234 static void check_range(struct ta_elf *elf, const char *name, const void *ptr, in check_range()
250 static void check_hashtab(struct ta_elf *elf, void *ptr, size_t num_buckets, in check_hashtab()
274 static void check_gnu_hashtab(struct ta_elf *elf, void *ptr) in check_gnu_hashtab()
301 static void save_hashtab(struct ta_elf *elf) in save_hashtab()
345 static void save_soname_from_segment(struct ta_elf *elf, unsigned int type, in save_soname_from_segment()
382 static void save_soname(struct ta_elf *elf) in save_soname()
403 static void e32_save_symtab(struct ta_elf *elf, size_t tab_idx) in e32_save_symtab()
427 static void e64_save_symtab(struct ta_elf *elf, size_t tab_idx) in e64_save_symtab()
455 static void save_symtab(struct ta_elf *elf) in save_symtab()
484 static void init_elf(struct ta_elf *elf) in init_elf()
540 static void add_segment(struct ta_elf *elf, size_t offset, size_t vaddr, in add_segment()
561 static void parse_load_segments(struct ta_elf *elf) in parse_load_segments()
602 static void copy_remapped_to(struct ta_elf *elf, const struct segment *seg) in copy_remapped_to()
627 static void adjust_segments(struct ta_elf *elf) in adjust_segments()
723 static void populate_segments_legacy(struct ta_elf *elf) in populate_segments_legacy()
787 static void populate_segments(struct ta_elf *elf) in populate_segments()
919 static void ta_elf_add_bti(struct ta_elf *elf) in ta_elf_add_bti()
936 static void parse_property_segment(struct ta_elf *elf) in parse_property_segment()
999 static void map_segments(struct ta_elf *elf) in map_segments()
1036 static void add_deps_from_segment(struct ta_elf *elf, unsigned int type, in add_deps_from_segment()
1086 static void add_dependencies(struct ta_elf *elf) in add_dependencies()
1105 static void copy_section_headers(struct ta_elf *elf) in copy_section_headers()
1139 static void close_handle(struct ta_elf *elf) in close_handle()
1148 static void clean_elf_load_main(struct ta_elf *elf) in clean_elf_load_main()
1192 static void set_tls_offset(struct ta_elf *elf) in set_tls_offset()
1207 static void load_main(struct ta_elf *elf) in load_main()
1269 struct ta_elf *elf = queue_elf(uuid); in ta_elf_load_main() local
1295 struct ta_elf *elf = TAILQ_FIRST(&main_elf_queue); in ta_elf_finalize_load_main() local
1316 void ta_elf_load_dependency(struct ta_elf *elf, bool is_32bit) in ta_elf_load_dependency()
1339 void ta_elf_finalize_mappings(struct ta_elf *elf) in ta_elf_finalize_mappings()
1415 struct ta_elf **elf, struct segment **seg, in get_next_in_order()
1466 struct ta_elf *elf = NULL; in ta_elf_print_mappings() local
1563 struct ta_elf *elf = NULL; in find_exidx() local
1615 struct ta_elf *elf = NULL; in ta_elf_add_library() local
1644 static void get_init_fini_array(struct ta_elf *elf, unsigned int type, in get_init_fini_array()
1685 static void elf_get_init_fini_array(struct ta_elf *elf, vaddr_t *init, in elf_get_init_fini_array()
1802 static void fill_ifs(vaddr_t va, size_t idx, struct ta_elf *elf, bool is_32bit) in fill_ifs()
1858 struct ta_elf *elf = NULL; in ta_elf_set_init_fini_info_compat() local
1938 static void fill_elf_phdr_info(vaddr_t va, size_t idx, struct ta_elf *elf, in fill_elf_phdr_info()
1984 struct ta_elf *elf = NULL; in ta_elf_set_elf_phdr_info() local