Home
last modified time | relevance | path

Searched refs:ta_ctx (Results 1 – 9 of 9) sorted by relevance

/optee_os-3.20.0/core/kernel/
A Duser_ta.c169 &utc->ta_ctx.panicked, in user_ta_enter()
170 &utc->ta_ctx.panic_code); in user_ta_enter()
174 if (utc->ta_ctx.panicked) { in user_ta_enter()
177 utc->ta_ctx.panic_code); in user_ta_enter()
437 condvar_init(&utc->ta_ctx.busy_cv); in tee_ta_init_user_ta_session()
438 utc->ta_ctx.ref_count = 1; in tee_ta_init_user_ta_session()
444 set_ta_ctx_ops(&utc->ta_ctx); in tee_ta_init_user_ta_session()
446 utc->ta_ctx.ts_ctx.uuid = *uuid; in tee_ta_init_user_ta_session()
457 s->ts_sess.ctx = &utc->ta_ctx.ts_ctx; in tee_ta_init_user_ta_session()
485 TAILQ_REMOVE(&tee_ctxes, &utc->ta_ctx, link); in tee_ta_init_user_ta_session()
[all …]
A Dtee_ta_manager.c129 return &(to_stmm_ctx(ctx)->ta_ctx); in ts_to_ta_ctx()
796 struct tee_ta_ctx *ta_ctx = NULL; in tee_ta_invoke_command() local
813 ta_ctx = ts_to_ta_ctx(ts_ctx); in tee_ta_invoke_command()
814 if (ta_ctx->panicked) { in tee_ta_invoke_command()
821 tee_ta_set_busy(ta_ctx); in tee_ta_invoke_command()
828 tee_ta_clear_busy(ta_ctx); in tee_ta_invoke_command()
830 if (ta_ctx->panicked) { in tee_ta_invoke_command()
/optee_os-3.20.0/core/include/kernel/
A Duser_ta.h42 struct tee_ta_ctx ta_ctx; member
57 return container_of(ctx, struct user_ta_ctx, ta_ctx.ts_ctx); in to_user_ta_ctx()
/optee_os-3.20.0/core/arch/riscv/include/kernel/
A Dstmm_sp.h17 struct tee_ta_ctx ta_ctx; member
/optee_os-3.20.0/core/arch/arm/include/kernel/
A Dstmm_sp.h136 struct tee_ta_ctx ta_ctx; member
153 return container_of(ctx, struct stmm_ctx, ta_ctx.ts_ctx); in to_stmm_ctx()
/optee_os-3.20.0/core/arch/arm/kernel/
A Dstmm_sp.c88 spc->ta_ctx.ts_ctx.ops = &stmm_sp_ops; in stmm_alloc_ctx()
89 spc->ta_ctx.ts_ctx.uuid = *uuid; in stmm_alloc_ctx()
90 spc->ta_ctx.flags = TA_FLAG_SINGLE_INSTANCE | in stmm_alloc_ctx()
93 res = vm_info_init(&spc->uctx, &spc->ta_ctx.ts_ctx); in stmm_alloc_ctx()
99 spc->ta_ctx.ref_count = 1; in stmm_alloc_ctx()
100 condvar_init(&spc->ta_ctx.busy_cv); in stmm_alloc_ctx()
267 vm_set_ctx(&spc->ta_ctx.ts_ctx); in load_stmm()
344 sess->ts_sess.ctx = &spc->ta_ctx.ts_ctx; in stmm_init_session()
354 spc->ta_ctx.ts_ctx.ops->destroy(&spc->ta_ctx.ts_ctx); in stmm_init_session()
361 TAILQ_INSERT_TAIL(&tee_ctxes, &spc->ta_ctx, link); in stmm_init_session()
[all …]
A Dldelf_loader.c150 to_user_ta_ctx(uctx->ts_ctx)->ta_ctx.flags = arg->flags; in ldelf_init_with_ldelf()
/optee_os-3.20.0/core/mm/
A Dmobj.c489 if (&m->utc->ta_ctx.ts_ctx != thread_get_tsd()->ctx) in mobj_seccpy_shm_get_va()
/optee_os-3.20.0/core/tee/
A Dtee_svc.c887 vm_set_ctx(&utc->ta_ctx.ts_ctx); in syscall_open_ta_session()

Completed in 44 milliseconds