Searched refs:ta_sess (Results 1 – 4 of 4) sorted by relevance
/optee_os-3.20.0/core/kernel/ |
A D | pseudo_ta.c | 150 ta_sess->err_origin = TEE_ORIGIN_TRUSTED_APP; in pseudo_ta_enter_open_session() 162 if (ta_sess->param) { in pseudo_ta_enter_open_session() 167 ta_sess->err_origin = TEE_ORIGIN_TEE; in pseudo_ta_enter_open_session() 170 param_types = ta_sess->param->types; in pseudo_ta_enter_open_session() 176 if (ta_sess->param) { in pseudo_ta_enter_open_session() 197 if (ta_sess->param) { in pseudo_ta_enter_invoke_cmd() 201 ta_sess->err_origin = TEE_ORIGIN_TEE; in pseudo_ta_enter_invoke_cmd() 204 param_types = ta_sess->param->types; in pseudo_ta_enter_invoke_cmd() 207 ta_sess->err_origin = TEE_ORIGIN_TRUSTED_APP; in pseudo_ta_enter_invoke_cmd() 211 if (ta_sess->param) { in pseudo_ta_enter_invoke_cmd() [all …]
|
A D | user_ta.c | 138 struct tee_ta_session *ta_sess = to_ta_session(session); in user_ta_enter() local 147 if (ta_sess->param) { in user_ta_enter() 149 res = vm_map_param(&utc->uctx, ta_sess->param, param_va); in user_ta_enter() 161 if (ta_sess->param) in user_ta_enter() 162 init_utee_param(usr_params, ta_sess->param, param_va); in user_ta_enter() 184 ta_sess->err_origin = TEE_ORIGIN_TRUSTED_APP; in user_ta_enter() 187 if (ta_sess->param) { in user_ta_enter() 189 update_from_utee_param(ta_sess->param, usr_params); in user_ta_enter() 210 ta_sess->cancel = false; in user_ta_enter()
|
/optee_os-3.20.0/core/arch/arm/kernel/ |
A D | stmm_sp.c | 370 struct tee_ta_session *ta_sess = to_ta_session(s); in stmm_enter_open_session() local 376 if (ta_sess->param->types != exp_pt) in stmm_enter_open_session() 381 ta_sess->err_origin = TEE_ORIGIN_TEE; in stmm_enter_open_session() 391 struct tee_ta_session *ta_sess = to_ta_session(s); in stmm_enter_invoke_cmd() local 405 if (ta_sess->param->types != exp_pt) in stmm_enter_invoke_cmd() 408 mem = &ta_sess->param->u[0].mem; in stmm_enter_invoke_cmd() 459 ta_sess->param->u[1].val.a = spc->regs.x[4]; in stmm_enter_invoke_cmd() 462 ta_sess->param->u[1].val.a = spc->regs.r4; in stmm_enter_invoke_cmd()
|
/optee_os-3.20.0/core/tee/ |
A D | tee_svc.c | 851 struct utee_params *usr_param, uint32_t *ta_sess, in syscall_open_ta_session() argument 897 copy_to_user_private(ta_sess, &s->id, sizeof(s->id)); in syscall_open_ta_session() 907 TEE_Result syscall_close_ta_session(unsigned long ta_sess) in syscall_close_ta_session() argument 914 s = tee_ta_find_session(ta_sess, &utc->open_sessions); in syscall_close_ta_session() 922 TEE_Result syscall_invoke_ta_command(unsigned long ta_sess, in syscall_invoke_ta_command() argument 938 called_sess = tee_ta_get_session((uint32_t)ta_sess, true, in syscall_invoke_ta_command()
|
Completed in 8 milliseconds