| /optee_os/lib/libutils/ext/ |
| H A D | fault_mitigation.c | 67 int res2 = 0; in ___ftmn_callee_done_memcmp() local 72 res2 = my_memcmp(p1, p2, nb); in ___ftmn_callee_done_memcmp() 73 if (res2 != res) in ___ftmn_callee_done_memcmp() 142 int res2 = 0; in ___ftmn_set_check_res_memcmp() local 147 res2 = my_memcmp(p1, p2, nb); in ___ftmn_set_check_res_memcmp() 148 if (res2 != res) in ___ftmn_set_check_res_memcmp()
|
| /optee_os/core/tee/ |
| H A D | socket.c | 160 TEE_Result res2 = TEE_SUCCESS; in socket_recv() local 162 res2 = copy_to_user(params[1].memref.buffer, va, in socket_recv() 165 if (res2) in socket_recv() 166 return res2; in socket_recv() 210 TEE_Result res2 = TEE_SUCCESS; in socket_ioctl() local 212 res2 = copy_to_user(params[1].memref.buffer, va, in socket_ioctl() 214 if (res2) in socket_ioctl() 215 return res2; in socket_ioctl()
|
| H A D | tee_svc.c | 470 TEE_Result res2 = TEE_SUCCESS; in syscall_get_property() local 498 res2 = copy_to_user(blen, &klen, sizeof(*blen)); in syscall_get_property() 504 res2 = copy_to_user(blen, &prop->len, sizeof(*blen)); in syscall_get_property() 506 if (res2 != TEE_SUCCESS) in syscall_get_property() 507 return res2; in syscall_get_property() 524 res2 = copy_to_user(name_len, &elen, sizeof(*name_len)); in syscall_get_property() 525 if (res2 != TEE_SUCCESS) in syscall_get_property() 526 return res2; in syscall_get_property() 852 TEE_Result res2 = TEE_SUCCESS; in syscall_invoke_ta_command() local 876 res2 = tee_svc_update_out_param(¶m, usr_param); in syscall_invoke_ta_command() [all …]
|
| H A D | tee_svc_cryp.c | 3078 TEE_Result res2 = TEE_SUCCESS; in syscall_hash_final() local 3189 res2 = put_user_u64(hash_len, hash_size); in syscall_hash_final() 3190 if (res2 != TEE_SUCCESS) in syscall_hash_final() 3191 return res2; in syscall_hash_final() 3313 TEE_Result res2; in tee_svc_cipher_update_helper() local 3315 res2 = put_user_u64(dst_len, src_len); in tee_svc_cipher_update_helper() 3316 if (res2 != TEE_SUCCESS) in tee_svc_cipher_update_helper() 3317 res = res2; in tee_svc_cipher_update_helper() 4211 TEE_Result res2 = put_user_u64(dst_len, dlen); in syscall_authenc_update_payload() local 4213 if (res2 != TEE_SUCCESS) in syscall_authenc_update_payload() [all …]
|
| /optee_os/lib/libutee/ |
| H A D | tee_api.c | 347 TEE_Result res2 = tee_unmap(tmp_buf, tmp_len); in TEE_OpenTASession() local 349 if (res2) in TEE_OpenTASession() 350 TEE_Panic(res2); in TEE_OpenTASession() 394 TEE_Result res2 = tee_unmap(tmp_buf, tmp_len); in __GP11_TEE_OpenTASession() local 396 if (res2) in __GP11_TEE_OpenTASession() 397 TEE_Panic(res2); in __GP11_TEE_OpenTASession() 455 TEE_Result res2 = tee_unmap(tmp_buf, tmp_len); in TEE_InvokeTACommand() local 457 if (res2) in TEE_InvokeTACommand() 458 TEE_Panic(res2); in TEE_InvokeTACommand() 506 TEE_Result res2 = tee_unmap(tmp_buf, tmp_len); in __GP11_TEE_InvokeTACommand() local [all …]
|
| /optee_os/core/drivers/regulator/ |
| H A D | stm32mp13_regulator_iod.c | 166 TEE_Result res2 = TEE_ERROR_GENERIC; in iod_set_voltage() local 168 res2 = iod_set_state(regu, true); in iod_set_voltage() 169 if (res2) in iod_set_voltage() 170 return res2; in iod_set_voltage()
|
| /optee_os/core/kernel/ |
| H A D | ldelf_loader.c | 434 TEE_Result res2 = TEE_SUCCESS; in ldelf_dlsym() 436 res2 = GET_USER_SCALAR(res, &usr_arg->ret); in ldelf_dlsym() 437 if (res2) in ldelf_dlsym() 438 res = res2; in ldelf_dlsym() 486 TEE_Result res2 = TEE_SUCCESS; 488 res2 = GET_USER_SCALAR(res, &usr_arg->ret); 489 if (res2) 490 res = res2; 415 TEE_Result res2 = TEE_SUCCESS; ldelf_dlopen() local 467 TEE_Result res2 = TEE_SUCCESS; ldelf_dlsym() local
|
| H A D | ldelf_syscalls.c | 567 TEE_Result res2 = TEE_SUCCESS; in ldelf_syscall_remap() local 570 res2 = vm_remap(uctx, &va, va_copy, num_bytes, 0, 0); in ldelf_syscall_remap() 571 if (res2) { in ldelf_syscall_remap() 573 va, va_copy, num_bytes, res2); in ldelf_syscall_remap()
|
| /optee_os/core/pta/ |
| H A D | attestation.c | 768 TEE_Result res2 = TEE_ERROR_GENERIC; in invoke_command() local 793 res2 = from_bounce_params(param_types, params, bparams, eparams); in invoke_command() 794 if (!res && res2) in invoke_command() 795 res = res2; in invoke_command()
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | thread_spmc.c | 2238 uint32_t res2 = 0; in thread_rpc_free() local 2246 res2 = mobj_ffa_unregister_by_cookie(cookie); in thread_rpc_free() 2247 if (res2) in thread_rpc_free() 2249 cookie, res2); in thread_rpc_free()
|