Searched refs:ta_ctx (Results 1 – 9 of 9) sorted by relevance
/optee_os-3.20.0/core/kernel/ |
A D | user_ta.c | 169 &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 D | tee_ta_manager.c | 129 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 D | user_ta.h | 42 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 D | stmm_sp.h | 17 struct tee_ta_ctx ta_ctx; member
|
/optee_os-3.20.0/core/arch/arm/include/kernel/ |
A D | stmm_sp.h | 136 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 D | stmm_sp.c | 88 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 D | ldelf_loader.c | 150 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 D | mobj.c | 489 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 D | tee_svc.c | 887 vm_set_ctx(&utc->ta_ctx.ts_ctx); in syscall_open_ta_session()
|
Completed in 44 milliseconds