Lines Matching refs:mod
277 static void resolve_sym(const char *name, vaddr_t *val, struct ta_elf **mod, in resolve_sym() argument
280 TEE_Result res = ta_elf_resolve_sym(name, val, mod, NULL); in resolve_sym()
306 Elf32_Rel *rel, struct ta_elf **mod) in e32_tls_get_module() argument
322 resolve_sym(name, NULL, mod, false); in e32_tls_get_module()
406 struct ta_elf *mod = NULL; in e32_relocate() local
461 mod = elf; in e32_relocate()
463 str_tab_size, rel, &mod); in e32_relocate()
464 *where = mod->tls_mod_id; in e32_relocate()
527 struct ta_elf *mod = NULL; in e64_process_tls_tprel_rela() local
537 resolve_sym(name, &symval, &mod, !weak_undef); in e64_process_tls_tprel_rela()
539 mod = elf; in e64_process_tls_tprel_rela()
541 *where = symval + mod->tls_tcb_offs + rela->r_addend; in e64_process_tls_tprel_rela()