Lines Matching refs:is_32bit
117 elf->is_32bit = true; in e32_parse_ehdr()
142 elf->is_32bit = false; in e64_parse_ehdr()
180 elf->is_32bit = false; in e64_parse_ehdr()
214 if (elf->is_32bit) { in read_dyn()
283 if (elf->is_32bit) in check_gnu_hashtab()
299 if (elf->is_32bit) { in save_hashtab()
351 if (elf->is_32bit) in save_soname_from_segment()
379 if (elf->is_32bit) { in save_soname()
452 if (elf->is_32bit) { in save_symtab()
558 if (elf->is_32bit) { in parse_load_segments()
1046 if (elf->is_32bit) in add_deps_from_segment()
1079 if (elf->is_32bit) { in add_dependencies()
1169 memset(&elf->is_32bit, 0, in clean_elf_load_main()
1170 (vaddr_t)&elf->uuid - (vaddr_t)&elf->is_32bit); in clean_elf_load_main()
1250 void ta_elf_load_main(const TEE_UUID *uuid, uint32_t *is_32bit, uint64_t *sp, in ta_elf_load_main() argument
1262 *is_32bit = elf->is_32bit; in ta_elf_load_main()
1284 res = ta_elf_set_init_fini_info_compat(elf->is_32bit); in ta_elf_finalize_load_main()
1287 res = ta_elf_set_elf_phdr_info(elf->is_32bit); in ta_elf_finalize_load_main()
1298 void ta_elf_load_dependency(struct ta_elf *elf, bool is_32bit) in ta_elf_load_dependency() argument
1304 if (elf->is_32bit != is_32bit) in ta_elf_load_dependency()
1306 (void *)&elf->uuid, elf->is_32bit ? "32" : "64", in ta_elf_load_dependency()
1307 is_32bit ? "32" : "64"); in ta_elf_load_dependency()
1596 ta_elf_load_dependency(elf, ta->is_32bit); in ta_elf_add_library()
1607 res = ta_elf_set_init_fini_info_compat(ta->is_32bit); in ta_elf_add_library()
1611 return ta_elf_set_elf_phdr_info(ta->is_32bit); in ta_elf_add_library()
1631 if (elf->is_32bit) { in get_init_fini_array()
1662 if (elf->is_32bit) { in elf_get_init_fini_array()
1736 static TEE_Result realloc_ifs(vaddr_t va, size_t cnt, bool is_32bit) in realloc_ifs() argument
1745 if (is_32bit) { in realloc_ifs()
1773 static void fill_ifs(vaddr_t va, size_t idx, struct ta_elf *elf, bool is_32bit) in fill_ifs() argument
1784 if (is_32bit) { in fill_ifs()
1825 TEE_Result ta_elf_set_init_fini_info_compat(bool is_32bit) in ta_elf_set_init_fini_info_compat() argument
1856 res = realloc_ifs(info_va, cnt, is_32bit); in ta_elf_set_init_fini_info_compat()
1862 fill_ifs(info_va, cnt, elf, is_32bit); in ta_elf_set_init_fini_info_compat()
1872 static TEE_Result realloc_elf_phdr_info(vaddr_t va, size_t cnt, bool is_32bit) in realloc_elf_phdr_info() argument
1881 if (is_32bit) { in realloc_elf_phdr_info()
1910 bool is_32bit) in fill_elf_phdr_info() argument
1917 if (is_32bit) { in fill_elf_phdr_info()
1951 TEE_Result ta_elf_set_elf_phdr_info(bool is_32bit) in ta_elf_set_elf_phdr_info() argument
1976 res = realloc_elf_phdr_info(info_va, cnt, is_32bit); in ta_elf_set_elf_phdr_info()
1982 fill_elf_phdr_info(info_va, cnt, elf, is_32bit); in ta_elf_set_elf_phdr_info()