Lines Matching refs:mod
280 static void resolve_sym(const char *name, vaddr_t *val, struct ta_elf **mod, in resolve_sym() argument
283 TEE_Result res = ta_elf_resolve_sym(name, val, mod, NULL); in resolve_sym()
309 Elf32_Rel *rel, struct ta_elf **mod) in e32_tls_get_module() argument
325 resolve_sym(name, NULL, mod, false); in e32_tls_get_module()
409 struct ta_elf *mod = NULL; in e32_relocate() local
464 mod = elf; in e32_relocate()
466 str_tab_size, rel, &mod); in e32_relocate()
467 *where = mod->tls_mod_id; in e32_relocate()
530 struct ta_elf *mod = NULL; in e64_process_tls_tprel_rela() local
540 resolve_sym(name, &symval, &mod, !weak_undef); in e64_process_tls_tprel_rela()
542 mod = elf; in e64_process_tls_tprel_rela()
544 *where = symval + mod->tls_tcb_offs + rela->r_addend; in e64_process_tls_tprel_rela()