Lines Matching refs:sess
466 TEE_TASessionHandle sess = TEE_HANDLE_NULL; in test_mem_access_right() local
527 &sess, &ret_orig); in test_mem_access_right()
539 res = TEE_InvokeTACommand(sess, TEE_TIMEOUT_INFINITE, in test_mem_access_right()
548 TEE_CloseTASession(sess); in test_mem_access_right()
839 TEE_TASessionHandle sess = TEE_HANDLE_NULL; in ta_entry_client_with_timeout() local
851 &sess, &ret_orig); in ta_entry_client_with_timeout()
859 TEE_InvokeTACommand(sess, params[0].value.a / 2, in ta_entry_client_with_timeout()
871 TEE_CloseTASession(sess); in ta_entry_client_with_timeout()
882 TEE_TASessionHandle sess = TEE_HANDLE_NULL; in ta_entry_client() local
905 &sess, &ret_orig); in ta_entry_client()
918 res = TEE_InvokeTACommand(sess, TEE_TIMEOUT_INFINITE, in ta_entry_client()
934 TEE_CloseTASession(sess); in ta_entry_client()
1049 TEE_TASessionHandle sess = TEE_HANDLE_NULL; in ta_entry_ta2ta_memref() local
1065 &sess, &ret_orig); in ta_entry_ta2ta_memref()
1092 res = TEE_InvokeTACommand(sess, TEE_TIMEOUT_INFINITE, in ta_entry_ta2ta_memref()
1110 res = TEE_InvokeTACommand(sess, TEE_TIMEOUT_INFINITE, in ta_entry_ta2ta_memref()
1130 TEE_CloseTASession(sess); in ta_entry_ta2ta_memref()