Home
last modified time | relevance | path

Searched refs:ts_sess (Results 1 – 10 of 10) sorted by relevance

/optee_os-3.20.0/core/kernel/
A Dtee_ta_manager.c309 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 …]
A Duser_ta.c139 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()
A Dpseudo_ta.c322 s->ts_sess.ctx = &ctx->ts_ctx; in tee_ta_init_pseudo_ta_session()
/optee_os-3.20.0/core/arch/arm/kernel/
A Dspmc_sp_handler.c164 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 …]
A Dsecure_partition.c199 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 …]
A Dstmm_sp.c344 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()
/optee_os-3.20.0/core/arch/arm/include/kernel/
A Dsecure_partition.h41 struct ts_session ts_sess; member
74 return container_of(sess, struct sp_session, ts_sess); in to_sp_session()
/optee_os-3.20.0/core/tee/
A Dtee_obj.c68 tee_obj_close(to_user_ta_ctx(sess->ts_sess.ctx), o); in tee_obj_verify()
A Dtee_svc.c946 res = tee_svc_copy_param(sess, &called_sess->ts_sess, usr_param, &param, in syscall_invoke_ta_command()
/optee_os-3.20.0/core/include/kernel/
A Dtee_ta_manager.h81 struct ts_session ts_sess; member

Completed in 17 milliseconds