Searched refs:res (Results 1 – 8 of 8) sorted by relevance
/optee_client-3.20.0/libteec/src/ |
A D | teec_benchmark.c | 70 if (res != TEEC_SUCCESS) in benchmark_pta_open() 71 return res; in benchmark_pta_open() 78 return res; in benchmark_pta_open() 81 return res; in benchmark_pta_open() 100 if (res != TEEC_SUCCESS) in benchmark_get_bench_buf_paddr() 101 return res; in benchmark_get_bench_buf_paddr() 109 return res; in benchmark_get_bench_buf_paddr() 116 return res; in benchmark_get_bench_buf_paddr() 149 bool res = true; in benchmark_check_mode() local 158 res = false; in benchmark_check_mode() [all …]
|
A D | tee_client_api.c | 228 return res; in teec_pre_process_tmpref() 234 if (res != TEEC_SUCCESS) in teec_pre_process_tmpref() 235 return res; in teec_pre_process_tmpref() 372 return res; in teec_pre_process_operation() 379 return res; in teec_pre_process_operation() 387 return res; in teec_pre_process_operation() 648 res = arg->ret; in TEEC_OpenSession() 661 return res; in TEEC_OpenSession() 738 res = arg->ret; in TEEC_InvokeCommand() 749 return res; in TEEC_InvokeCommand() [all …]
|
/optee_client-3.20.0/tee-supplicant/src/ |
A D | tee_socket.c | 223 for (res = res0; res; res = res->ai_next) { in sock_connect() 224 fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in sock_connect() 233 if (connect(fd, res->ai_addr, res->ai_addrlen)) { in sock_connect() 290 return res; in tee_socket_open() 454 return res; in write_with_timeout() 493 return res; in tee_socket_send() 634 return res; in tee_socket_recv() 723 for (res = res0; res; res = res->ai_next) { in udp_changeaddr() 724 if (connect(fd, res->ai_addr, res->ai_addrlen)) { in udp_changeaddr() 815 return res; in tee_socket_ioctl() [all …]
|
A D | rpmb.c | 237 return res; in read_cid_str() 270 if (res) in read_cid() 271 return res; in read_cid() 373 if (res) in remap_rpmb_dev_id() 723 int res = 0; in ioctl_emu() local 739 if (res) in ioctl_emu() 747 return res; in ioctl_emu() 900 return res; in rpmb_data_req() 925 return res; in rpmb_get_dev_info() 975 return res; in rpmb_process_request_unlocked() [all …]
|
A D | teec_ta_load.c | 182 int res = TA_BINARY_NOT_FOUND; in TEECI_LoadSecureModule() local 186 res = try_load_secure_module(*path, dev_path, destination, ta, in TEECI_LoadSecureModule() 188 if (res == TA_BINARY_FOUND) in TEECI_LoadSecureModule() 191 return res; in TEECI_LoadSecureModule()
|
A D | plugin.c | 112 enum plugin_err res = PLUGIN_OK; in plugin_load_all() local 148 res = load_plugin(path, p); in plugin_load_all() 149 switch (res) { in plugin_load_all() 193 TEEC_Result res = TEEC_ERROR_NOT_SUPPORTED; in plugin_process() local 224 res = plugin_invoke(&uuid, cmd, sub_cmd, data, data_len, in plugin_process() 231 return res; in plugin_process()
|
/optee_client-3.20.0/libseteec/src/ |
A D | se.c | 44 TEEC_Result res = TEEC_SUCCESS; in open_session() local 50 res = TEEC_InitializeContext(NULL, &ctx->context); in open_session() 51 if (!res) { in open_session() 52 res = TEEC_OpenSession(&ctx->context, &ctx->session, in open_session() 55 if (!res) in open_session() 60 return !pthread_mutex_unlock(&ctx->lock) && !res; in open_session()
|
/optee_client-3.20.0/libckteec/src/ |
A D | invoke_ta.c | 128 TEEC_Result res = TEEC_ERROR_GENERIC; in ckteec_invoke_ta() local 168 switch (res) { in ckteec_invoke_ta() 202 TEEC_Result res = TEEC_SUCCESS; in ping_ta() local 214 res = TEEC_InvokeCommand(&ta_ctx.session, PKCS11_CMD_PING, &op, in ping_ta() 217 if (res != TEEC_SUCCESS || in ping_ta() 241 TEEC_Result res = TEEC_SUCCESS; in ckteec_invoke_init() local 294 res = TEEC_InitializeContext(NULL, &ta_ctx.context); in ckteec_invoke_init() 295 if (res != TEEC_SUCCESS) { in ckteec_invoke_init() 301 res = TEEC_OpenSession(&ta_ctx.context, &ta_ctx.session, &uuid, in ckteec_invoke_init() 303 if (res != TEEC_SUCCESS) { in ckteec_invoke_init() [all …]
|
Completed in 17 milliseconds