Lines Matching refs:stc

144 	struct pseudo_ta_ctx *stc = to_pseudo_ta_ctx(s->ctx);  in pseudo_ta_enter_open_session()  local
152 if (stc->ctx.ref_count == 1 && stc->pseudo_ta->create_entry_point) { in pseudo_ta_enter_open_session()
153 res = stc->pseudo_ta->create_entry_point(); in pseudo_ta_enter_open_session()
158 if (stc->pseudo_ta->open_session_entry_point) { in pseudo_ta_enter_open_session()
173 res = stc->pseudo_ta->open_session_entry_point(param_types, in pseudo_ta_enter_open_session()
190 struct pseudo_ta_ctx *stc = to_pseudo_ta_ctx(s->ctx); in pseudo_ta_enter_invoke_cmd() local
208 res = stc->pseudo_ta->invoke_command_entry_point(s->user_ctx, cmd, in pseudo_ta_enter_invoke_cmd()
222 struct pseudo_ta_ctx *stc = to_pseudo_ta_ctx(s->ctx); in pseudo_ta_enter_close_session() local
227 if (stc->pseudo_ta->close_session_entry_point) in pseudo_ta_enter_close_session()
228 stc->pseudo_ta->close_session_entry_point(user_ctx); in pseudo_ta_enter_close_session()
230 if (stc->ctx.ref_count == 1 && stc->pseudo_ta->destroy_entry_point) in pseudo_ta_enter_close_session()
231 stc->pseudo_ta->destroy_entry_point(); in pseudo_ta_enter_close_session()
292 struct pseudo_ta_ctx *stc = NULL; in tee_ta_init_pseudo_ta_session() local
310 stc = calloc(1, sizeof(struct pseudo_ta_ctx)); in tee_ta_init_pseudo_ta_session()
311 if (!stc) in tee_ta_init_pseudo_ta_session()
313 ctx = &stc->ctx; in tee_ta_init_pseudo_ta_session()
317 stc->pseudo_ta = ta; in tee_ta_init_pseudo_ta_session()
326 DMSG("%s : %pUl", stc->pseudo_ta->name, (void *)&ctx->ts_ctx.uuid); in tee_ta_init_pseudo_ta_session()