Lines Matching refs:ret_orig

35 				  uint32_t *error, uint32_t *ret_orig)  in socket_tcp_open()  argument
55 &op, ret_orig); in socket_tcp_open()
65 uint32_t *error, uint32_t *ret_orig) in socket_udp_open() argument
85 &op, ret_orig); in socket_udp_open()
95 uint32_t timeout, uint32_t *ret_orig) in socket_send() argument
110 res = TEEC_InvokeCommand(session, TA_SOCKET_CMD_SEND, &op, ret_orig); in socket_send()
119 uint32_t timeout, uint32_t *ret_orig) in socket_recv() argument
134 res = TEEC_InvokeCommand(session, TA_SOCKET_CMD_RECV, &op, ret_orig); in socket_recv()
142 uint32_t *proto_error, uint32_t *ret_orig) in socket_get_error() argument
154 res = TEEC_InvokeCommand(session, TA_SOCKET_CMD_ERROR, &op, ret_orig); in socket_get_error()
161 struct socket_handle *handle, uint32_t *ret_orig) in socket_close() argument
171 return TEEC_InvokeCommand(session, TA_SOCKET_CMD_CLOSE, &op, ret_orig); in socket_close()
176 void *data, size_t *dlen, uint32_t *ret_orig) in socket_ioctl() argument
191 res = TEEC_InvokeCommand(session, TA_SOCKET_CMD_IOCTL, &op, ret_orig); in socket_ioctl()
265 uint32_t ret_orig = 0; in xtest_tee_test_2001() local
290 &session, &socket_ta_uuid, NULL, &ret_orig))) in xtest_tee_test_2001()
295 &sh, &proto_error, &ret_orig))) in xtest_tee_test_2001()
304 buf, &blen, TEE_TIMEOUT_INFINITE, &ret_orig))) in xtest_tee_test_2001()
312 buf, &blen, TEE_TIMEOUT_INFINITE, &ret_orig))) in xtest_tee_test_2001()
327 &proto_error, &ret_orig))) in xtest_tee_test_2001()
335 &ret_orig))) in xtest_tee_test_2001()
344 &sh, &proto_error, &ret_orig))) in xtest_tee_test_2001()
349 buf, &blen, &ret_orig))) in xtest_tee_test_2001()
353 &ret_orig))) in xtest_tee_test_2001()
359 &sh, &proto_error, &ret_orig))) in xtest_tee_test_2001()
366 buf, &blen, &ret_orig)); in xtest_tee_test_2001()
370 &session, &socket_ta_uuid, NULL, &ret_orig))) in xtest_tee_test_2001()
375 &sh, &proto_error, &ret_orig))) in xtest_tee_test_2001()
381 buf, &blen, &ret_orig)); in xtest_tee_test_2001()
421 uint32_t ret_orig = 0; in xtest_tee_test_2002_thread() local
447 &ret_orig); in xtest_tee_test_2002_thread()
454 ts.bind->port, &sh, &proto_error, &ret_orig); in xtest_tee_test_2002_thread()
467 TEE_TIMEOUT_INFINITE, &ret_orig); in xtest_tee_test_2002_thread()
475 TEE_TIMEOUT_INFINITE, &ret_orig); in xtest_tee_test_2002_thread()
485 res = socket_close(&session, &sh, &ret_orig); in xtest_tee_test_2002_thread()
560 uint32_t ret_orig = 0; in xtest_tee_test_2003() local
579 &session, &socket_ta_uuid, NULL, &ret_orig))) in xtest_tee_test_2003()
584 &sh, &proto_error, &ret_orig))) in xtest_tee_test_2003()
590 TEE_TCP_SET_RECVBUF, &val, &blen, &ret_orig))) in xtest_tee_test_2003()
596 TEE_TCP_SET_SENDBUF, &val, &blen, &ret_orig))) in xtest_tee_test_2003()
607 res = socket_send(&session, &sh, buf, &blen, 10, &ret_orig); in xtest_tee_test_2003()
620 10, &ret_orig)); in xtest_tee_test_2003()
626 &proto_error, &ret_orig))) in xtest_tee_test_2003()
673 uint32_t ret_orig = 0; in test_2004_send_recv() local
689 buf, &blen, TEE_TIMEOUT_INFINITE, &ret_orig))) in test_2004_send_recv()
699 buf, &blen, TEE_TIMEOUT_INFINITE, &ret_orig))) in test_2004_send_recv()
711 buf, &blen, TEE_TIMEOUT_INFINITE, &ret_orig))) in test_2004_send_recv()
744 uint32_t ret_orig = 0; in xtest_tee_test_2004() local
774 &session, &socket_ta_uuid, NULL, &ret_orig))) in xtest_tee_test_2004()
779 &sh, &proto_error, &ret_orig))) in xtest_tee_test_2004()
800 &proto_error, &ret_orig))) in xtest_tee_test_2004()
808 &ret_orig))) in xtest_tee_test_2004()
816 &sh, &proto_error, &ret_orig))) in xtest_tee_test_2004()
821 buf, &blen, &ret_orig))) in xtest_tee_test_2004()
825 &ret_orig))) in xtest_tee_test_2004()
831 &sh, &proto_error, &ret_orig))) in xtest_tee_test_2004()
838 buf, &blen, &ret_orig)); in xtest_tee_test_2004()
842 &session, &socket_ta_uuid, NULL, &ret_orig))) in xtest_tee_test_2004()
847 &sh, &proto_error, &ret_orig))) in xtest_tee_test_2004()
853 buf, &blen, &ret_orig)); in xtest_tee_test_2004()
861 &session, &socket_ta_uuid, NULL, &ret_orig))) in xtest_tee_test_2004()
866 &sh, &proto_error, &ret_orig))) in xtest_tee_test_2004()
874 TEE_UDP_CHANGEPORT, &port, &blen, &ret_orig))) in xtest_tee_test_2004()
889 &session, &socket_ta_uuid, NULL, &ret_orig))) in xtest_tee_test_2004()
894 &sh, &proto_error, &ret_orig))) in xtest_tee_test_2004()
902 TEE_UDP_CHANGEPORT, &port, &blen, &ret_orig))) in xtest_tee_test_2004()
907 TEE_UDP_CHANGEADDR, ts3.bind->host, &blen, &ret_orig))) in xtest_tee_test_2004()