/optee_test-3.20.0/ta/crypt/ |
A D | handle.c | 61 void *handle_put(struct handle_db *db, int handle) in handle_put() argument 65 if (!db || handle < 0 || (size_t)handle >= db->max_ptrs) in handle_put() 68 p = db->ptrs[handle]; in handle_put() 69 db->ptrs[handle] = NULL; in handle_put() 73 void *handle_lookup(struct handle_db *db, int handle) in handle_lookup() argument 75 if (!db || handle < 0 || (size_t)handle >= db->max_ptrs) in handle_lookup() 78 return db->ptrs[handle]; in handle_lookup()
|
A D | handle.h | 37 void *handle_put(struct handle_db *db, int handle); 44 void *handle_lookup(struct handle_db *db, int handle);
|
A D | arith_taf.c | 31 static void *lookup_handle(uint32_t type, uint32_t handle) in lookup_handle() argument 35 if ((handle & HT_MASK) == type) in lookup_handle() 36 ptr = handle_lookup(&hdb, handle & ~HT_MASK); in lookup_handle() 39 EMSG("Invalid handle 0x%" PRIx32, handle); in lookup_handle() 44 static bool get_handle(uint32_t type, void *ptr, uint32_t *handle) in get_handle() argument 63 *handle = (uint32_t)h | type; in get_handle() 67 static void *put_handle(uint32_t handle) in put_handle() argument 69 void *ptr = handle_put(&hdb, handle & ~HT_MASK); in put_handle() 72 EMSG("Invalid handle 0x%" PRIx32, handle); in put_handle()
|
A D | sub.mk | 12 srcs-y += handle.c
|
/optee_test-3.20.0/host/xtest/gp/patches/ |
A D | 0010-TEE_DataStorage_API.xml.patch | 31 …handle MUST have been opened with the read access right. The bytes are read starting at the positi… 39 …handle MUST have been opened with the read access right. The bytes are read starting at the positi… 47 …handle MUST have been opened with the read access right. The bytes are read starting at the positi… 55 …handle MUST have been opened with the read access right. The bytes are read starting at the positi… 63 …handle MUST have been opened with the read access right. The bytes are read starting at the positi… 71 …handle MUST have been opened with the read access right. The bytes are read starting at the positi… 79 …handle MUST have been opened with the read access right. The bytes are read starting at the positi… 87 …handle MUST have been opened with the read access right. The bytes are read starting at the positi…
|
A D | 0011-TEE_Crypto_API.xml.patch | 28 …<description><![CDATA[Panic Reasons • operation is not a valid operation handle of class TEE_OPER… 36 …<description><![CDATA[Panic Reasons • operation is not a valid operation handle of class TEE_OPER…
|
/optee_test-3.20.0/host/xtest/ |
A D | ffa_spmc_1000.c | 189 static int share_mem(uint16_t endpoint, uint64_t *handle) in share_mem() argument 198 *handle = shm_desc.handle; in share_mem() 205 uint64_t *handle, ADBG_Case_t *c) in set_up_mem() argument 211 *handle = 0; in set_up_mem() 213 rc = share_mem(endpoint, handle); in set_up_mem() 216 if (!ADBG_EXPECT_TRUE(c, handle != NULL)) in set_up_mem() 236 uint64_t handle = 0; in xtest_ffa_spmc_test_1002() local 262 if (set_up_mem(&test_endpoint1, &args, &handle, c)) { in xtest_ffa_spmc_test_1002() 272 args.args[MEM_SHARE_HANDLE_LOW_INDEX] = MEM_SHARE_HANDLE_LOW(handle); in xtest_ffa_spmc_test_1002() 300 shm_desc.handle = handle; in xtest_ffa_spmc_test_1002() [all …]
|
A D | regression_2000.c | 34 struct socket_handle *handle, in socket_tcp_open() argument 40 memset(handle, 0, sizeof(*handle)); in socket_tcp_open() 46 op.params[2].tmpref.buffer = handle->buf; in socket_tcp_open() 57 handle->blen = op.params[2].tmpref.size; in socket_tcp_open() 64 struct socket_handle *handle, in socket_udp_open() argument 70 memset(handle, 0, sizeof(*handle)); in socket_udp_open() 87 handle->blen = op.params[2].tmpref.size; in socket_udp_open() 93 struct socket_handle *handle, in socket_send() argument 101 op.params[0].tmpref.size = handle->blen; in socket_send() 117 struct socket_handle *handle, in socket_recv() argument [all …]
|
A D | regression_4100.c | 33 *handle = op.params[1].value.a; in cmd_new_var() 52 *handle = op.params[1].value.a; in cmd_new_fmm_var() 59 uint32_t *handle) in cmd_new_fmm_ctx() argument 73 *handle = op.params[1].value.a; in cmd_new_fmm_ctx() 79 uint32_t handle) in cmd_free_handle() argument 88 op.params[0].value.a = handle; in cmd_free_handle() 121 uint32_t handle, int32_t v) in cmd_from_s32() argument 127 op.params[0].value.a = handle; in cmd_from_s32() 145 op.params[0].value.a = handle; in cmd_get_bit() 158 uint32_t handle, uint32_t *v) in cmd_get_bit_count() argument [all …]
|
A D | sdp_basic.c | 79 fd_data.handle = alloc_data.handle; in allocate_ion_buffer_old_api() 85 hdl_data.handle = alloc_data.handle; in allocate_ion_buffer_old_api()
|
A D | regression_4000.c | 3610 TEE_ObjectHandle *handle) in create_key() argument 3616 max_key_size, handle))) in create_key() 3620 ta_crypt_cmd_populate_transient_object(c, s, *handle, attrs, in create_key() 3632 ta_crypt_cmd_get_object_buffer_attribute(c, s, *handle, in create_key()
|
/optee_test-3.20.0/ta/os_test/ |
A D | cxx_tests.cpp | 44 void *handle = NULL; in ta_entry_cxx_ctor_shlib_dl() local 46 handle = dlopen("b3091a65-9751-4784-abf7-0298a7cc35ba", in ta_entry_cxx_ctor_shlib_dl() 48 if (!handle) in ta_entry_cxx_ctor_shlib_dl() 51 ctor_test_fn = (TEE_Result (*)(void))dlsym(handle, in ta_entry_cxx_ctor_shlib_dl() 56 dlclose(handle); in ta_entry_cxx_ctor_shlib_dl()
|
A D | os_test.c | 1237 void *handle = NULL; in ta_entry_call_lib_dl() local 1248 if (!handle) in ta_entry_call_lib_dl() 1251 add_func = dlsym(handle, "os_test_shlib_dl_add"); in ta_entry_call_lib_dl() 1270 dlclose(handle); in ta_entry_call_lib_dl() 1278 void *handle = NULL; in ta_entry_call_lib_dl_panic() local 1289 if (!handle) in ta_entry_call_lib_dl_panic() 1292 panic_func = dlsym(handle, "os_test_shlib_dl_panic"); in ta_entry_call_lib_dl_panic() 1298 dlclose(handle); in ta_entry_call_lib_dl_panic() 1453 void *handle = NULL; in ta_entry_dl_phdr_dl() local 1457 if (!handle) in ta_entry_dl_phdr_dl() [all …]
|
/optee_test-3.20.0/host/xtest/include/uapi/linux/ |
A D | ion_old.h | 44 ion0_user_handle_t handle; member 58 ion0_user_handle_t handle; member 67 ion0_user_handle_t handle; member
|
A D | arm_ffa_user.h | 51 __u64 handle; member 69 __u64 handle; member
|