Home
last modified time | relevance | path

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

/optee_os/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()
429 condvar_init(&utc->ta_ctx.busy_cv); in tee_ta_init_user_ta_session()
430 utc->ta_ctx.ref_count = 1; in tee_ta_init_user_ta_session()
432 utc->uctx.ts_ctx = &utc->ta_ctx.ts_ctx; in tee_ta_init_user_ta_session()
438 set_ta_ctx_ops(&utc->ta_ctx); in tee_ta_init_user_ta_session()
440 utc->ta_ctx.ts_ctx.uuid = *uuid; in tee_ta_init_user_ta_session()
446 s->ts_sess.ctx = &utc->ta_ctx.ts_ctx; in tee_ta_init_user_ta_session()
[all …]
A Dtee_ta_manager.c111 return &(to_stmm_ctx(ctx)->ta_ctx); in ts_to_ta_ctx()
779 struct tee_ta_ctx *ta_ctx = NULL; in tee_ta_invoke_command() local
796 ta_ctx = ts_to_ta_ctx(ts_ctx); in tee_ta_invoke_command()
797 if (ta_ctx->panicked) { in tee_ta_invoke_command()
804 tee_ta_set_busy(ta_ctx); in tee_ta_invoke_command()
811 tee_ta_clear_busy(ta_ctx); in tee_ta_invoke_command()
813 if (ta_ctx->panicked) { in tee_ta_invoke_command()
/optee_os/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/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()
92 spc->uctx.ts_ctx = &spc->ta_ctx.ts_ctx; in stmm_alloc_ctx()
100 spc->ta_ctx.ref_count = 1; in stmm_alloc_ctx()
101 condvar_init(&spc->ta_ctx.busy_cv); in stmm_alloc_ctx()
256 vm_set_ctx(&spc->ta_ctx.ts_ctx); in load_stmm()
333 sess->ts_sess.ctx = &spc->ta_ctx.ts_ctx; in stmm_init_session()
343 spc->ta_ctx.ts_ctx.ops->destroy(&spc->ta_ctx.ts_ctx); in stmm_init_session()
350 TAILQ_INSERT_TAIL(&tee_ctxes, &spc->ta_ctx, link); in stmm_init_session()
[all …]
A Dldelf_loader.c149 to_user_ta_ctx(uctx->ts_ctx)->ta_ctx.flags = arg->flags; in ldelf_init_with_ldelf()
/optee_os/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/core/mm/
A Dmobj.c473 if (&m->utc->ta_ctx.ts_ctx != thread_get_tsd()->ctx) in mobj_seccpy_shm_get_va()
/optee_os/core/tee/
A Dtee_svc.c832 vm_set_ctx(&utc->ta_ctx.ts_ctx); in syscall_open_ta_session()

Completed in 13 milliseconds