Home
last modified time | relevance | path

Searched refs:res (Results 1 – 8 of 8) sorted by relevance

/optee_client/libteec/src/
A Dteec_benchmark.c70 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 Dtee_client_api.c228 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/tee-supplicant/src/
A Dtee_socket.c223 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 Drpmb.c234 return res; in read_cid()
578 int res = 0; in ioctl_emu() local
594 if (res) in ioctl_emu()
595 return res; in ioctl_emu()
602 return res; in ioctl_emu()
768 return res; in rpmb_data_req()
774 uint32_t res = 0; in rpmb_get_dev_info() local
779 return res; in rpmb_get_dev_info()
795 return res; in rpmb_get_dev_info()
842 return res; in rpmb_process_request_unlocked()
[all …]
A Dteec_ta_load.c180 int res = 0; in TEECI_LoadSecureModule() local
182 res = try_load_secure_module(TEEC_TEST_LOAD_PATH, in TEECI_LoadSecureModule()
184 if (res != TA_BINARY_NOT_FOUND) in TEECI_LoadSecureModule()
185 return res; in TEECI_LoadSecureModule()
A Dplugin.c112 enum plugin_err res = PLUGIN_OK; in plugin_load_all() local
138 res = load_plugin((const char *)entry->d_name, p); in plugin_load_all()
139 switch (res) { in plugin_load_all()
183 TEEC_Result res = TEEC_ERROR_NOT_SUPPORTED; in plugin_process() local
214 res = plugin_invoke(&uuid, cmd, sub_cmd, data, data_len, in plugin_process()
221 return res; in plugin_process()
/optee_client/libseteec/src/
A Dse.c44 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/libckteec/src/
A Dinvoke_ta.c128 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 13 milliseconds