Searched refs:ts_sess (Results 1 – 10 of 10) sorted by relevance
309 if (s->ts_sess.ctx && s->ts_sess.ctx->ops->dump_ftrace) { in destroy_session()311 s->ts_sess.fbuf = NULL; in destroy_session()312 s->ts_sess.ctx->ops->dump_ftrace(s->ts_sess.ctx); in destroy_session()319 free(s->ts_sess.sbuf); in destroy_session()359 sess->ts_sess.ctx = NULL; in destroy_ta_ctx_from_session()390 s->ts_sess.ctx = NULL; in destroy_ta_ctx_from_session()462 if (sess->ts_sess.ctx && in check_params()550 ts_ctx = sess->ts_sess.ctx; in tee_ta_close_session()628 s->ts_sess.handle_svc = s->ts_sess.ctx->ops->handle_svc; in tee_ta_init_session_with_context()742 ts_ctx = s->ts_sess.ctx; in tee_ta_open_session()[all …]
139 struct ts_session *ts_sess __maybe_unused = NULL; in user_ta_enter()199 ts_sess = ts_pop_current_session(); in user_ta_enter()200 assert(ts_sess == session); in user_ta_enter()457 s->ts_sess.ctx = &utc->ta_ctx.ts_ctx; in tee_ta_init_user_ta_session()458 s->ts_sess.handle_svc = s->ts_sess.ctx->ops->handle_svc; in tee_ta_init_user_ta_session()471 ts_push_current_session(&s->ts_sess); in tee_ta_init_user_ta_session()475 res = ldelf_init_with_ldelf(&s->ts_sess, &utc->uctx); in tee_ta_init_user_ta_session()484 s->ts_sess.ctx = NULL; in tee_ta_init_user_ta_session()
322 s->ts_sess.ctx = &ctx->ts_ctx; in tee_ta_init_pseudo_ta_session()
164 sp_ctx = to_sp_ctx(owner_sp->ts_sess.ctx); in spmc_sp_add_sp_region()482 struct sp_ctx *ctx = to_sp_ctx(s->ts_sess.ctx); in create_retrieve_response()665 struct sp_ctx *ctx = to_sp_ctx(s->ts_sess.ctx); in zero_mem_region()668 ts_push_current_session(&s->ts_sess); in zero_mem_region()922 sp_ctx = to_sp_ctx(sp_s->ts_sess.ctx); in handle_mem_perm_get()927 ts_push_current_session(&sp_s->ts_sess); in handle_mem_perm_get()969 sp_ctx = to_sp_ctx(sp_s->ts_sess.ctx); in handle_mem_perm_set()1004 ts_push_current_session(&sp_s->ts_sess); in handle_mem_perm_set()1055 ts_push_current_session(&caller_sp->ts_sess); in spmc_sp_msg_handler()1061 ts_push_current_session(&caller_sp->ts_sess); in spmc_sp_msg_handler()[all …]
199 s->ts_sess.ctx = &spc->ts_ctx; in sp_create_ctx()266 ctx = to_sp_ctx(s->ts_sess.ctx); in sp_map_shared()305 struct sp_ctx *ctx = to_sp_ctx(s->ts_sess.ctx); in sp_unmap_ffa_regions()338 ctx = to_sp_ctx(s->ts_sess.ctx); in sp_open_session()344 ts_push_current_session(&s->ts_sess); in sp_open_session()347 res = ldelf_init_with_ldelf(&s->ts_sess, &ctx->uctx); in sp_open_session()922 ctx = to_sp_ctx(sess->ts_sess.ctx); in sp_first_run()923 ts_push_current_session(&sess->ts_sess); in sp_first_run()955 ts_push_current_session(&sess->ts_sess); in sp_first_run()967 struct sp_ctx *ctx = to_sp_ctx(sp->ts_sess.ctx); in sp_enter()[all …]
344 sess->ts_sess.ctx = &spc->ta_ctx.ts_ctx; in stmm_init_session()345 sess->ts_sess.handle_svc = sess->ts_sess.ctx->ops->handle_svc; in stmm_init_session()348 ts_push_current_session(&sess->ts_sess); in stmm_init_session()353 sess->ts_sess.ctx = NULL; in stmm_init_session()
41 struct ts_session ts_sess; member74 return container_of(sess, struct sp_session, ts_sess); in to_sp_session()
68 tee_obj_close(to_user_ta_ctx(sess->ts_sess.ctx), o); in tee_obj_verify()
946 res = tee_svc_copy_param(sess, &called_sess->ts_sess, usr_param, ¶m, in syscall_invoke_ta_command()
81 struct ts_session ts_sess; member
Completed in 17 milliseconds