Searched refs:ta_ctx (Results 1 – 9 of 9) sorted by relevance
188 &utc->ta_ctx.panicked, in user_ta_enter() 189 &utc->ta_ctx.panic_code); in user_ta_enter() 193 if (utc->ta_ctx.panicked) { in user_ta_enter() 196 utc->ta_ctx.panic_code); in user_ta_enter() 249 if (!to_user_ta_ctx(s->ctx)->ta_ctx.is_initializing) in user_ta_enter_close_session() 493 condvar_init(&utc->ta_ctx.busy_cv); in tee_ta_init_user_ta_session() 494 utc->ta_ctx.ref_count = 1; in tee_ta_init_user_ta_session() 500 set_ta_ctx_ops(&utc->ta_ctx); in tee_ta_init_user_ta_session() 502 utc->ta_ctx.ts_ctx.uuid = *uuid; in tee_ta_init_user_ta_session() 503 res = vm_info_init(&utc->uctx, &utc->ta_ctx in tee_ta_init_user_ta_session() [all...]
122 return &(to_stmm_ctx(ctx)->ta_ctx); in ts_to_ta_ctx() 784 struct tee_ta_ctx *ta_ctx = NULL; in tee_ta_invoke_command() 796 ta_ctx = ts_to_ta_ctx(ts_ctx); in tee_ta_invoke_command() 798 tee_ta_set_busy(ta_ctx); in tee_ta_invoke_command() 800 if (!ta_ctx->panicked) { in tee_ta_invoke_command() 807 panicked = ta_ctx->panicked; in tee_ta_invoke_command() 809 maybe_release_ta_ctx(ta_ctx); in tee_ta_invoke_command() 816 tee_ta_clear_busy(ta_ctx); in tee_ta_invoke_command() 775 struct tee_ta_ctx *ta_ctx = NULL; tee_ta_invoke_command() local
168 to_user_ta_ctx(uctx->ts_ctx)->ta_ctx.flags = arg_bbuf->flags; in ldelf_init_with_ldelf()
40 struct tee_ta_ctx ta_ctx; member55 return container_of(ctx, struct user_ta_ctx, ta_ctx.ts_ctx); in to_user_ta_ctx()
100 spc->ta_ctx.ts_ctx.ops = &stmm_sp_ops; in stmm_alloc_ctx()101 spc->ta_ctx.ts_ctx.uuid = *uuid; in stmm_alloc_ctx()102 spc->ta_ctx.flags = TA_FLAG_SINGLE_INSTANCE | in stmm_alloc_ctx()105 res = vm_info_init(&spc->uctx, &spc->ta_ctx.ts_ctx); in stmm_alloc_ctx()111 spc->ta_ctx.ref_count = 1; in stmm_alloc_ctx()112 condvar_init(&spc->ta_ctx.busy_cv); in stmm_alloc_ctx()388 vm_set_ctx(&spc->ta_ctx.ts_ctx); in load_stmm()432 spc->ta_ctx.is_initializing = true; in stmm_init_session()434 sess->ts_sess.ctx = &spc->ta_ctx.ts_ctx; in stmm_init_session()451 spc->ta_ctx.ts_ctx.ops->destroy(&spc->ta_ctx.ts_ctx); in stmm_complete_session()[all …]
136 struct tee_ta_ctx ta_ctx; member152 return container_of(ctx, struct stmm_ctx, ta_ctx.ts_ctx); in to_stmm_ctx()
17 struct tee_ta_ctx ta_ctx; member
812 vm_set_ctx(&utc->ta_ctx.ts_ctx); in syscall_open_ta_session()
79 if (!(utc->ta_ctx.flags & TA_FLAG_DONT_CLOSE_HANDLE_ON_CORRUPT_OBJECT)) in remove_corrupt_obj()