Lines Matching refs:uuid
117 TEE_UUID uuid; in get_prop_tee_dev_id() local
122 if (*blen < sizeof(uuid)) { in get_prop_tee_dev_id()
123 *blen = sizeof(uuid); in get_prop_tee_dev_id()
126 *blen = sizeof(uuid); in get_prop_tee_dev_id()
132 (uint8_t *)&uuid, sizeof(uuid)); in get_prop_tee_dev_id()
145 uuid.timeHiAndVersion &= 0x0fff; in get_prop_tee_dev_id()
146 uuid.timeHiAndVersion |= 5 << 12; in get_prop_tee_dev_id()
149 uuid.clockSeqAndNode[0] &= 0x3f; in get_prop_tee_dev_id()
150 uuid.clockSeqAndNode[0] |= 0x80; in get_prop_tee_dev_id()
152 return copy_to_user(buf, &uuid, sizeof(TEE_UUID)); in get_prop_tee_dev_id()
203 return copy_to_user(buf, &sess->ctx->uuid, sizeof(TEE_UUID)); in get_prop_ta_app_id()
788 TEE_UUID *uuid = malloc(sizeof(TEE_UUID)); in syscall_open_ta_session() local
792 if (uuid == NULL || param == NULL || clnt_id == NULL) { in syscall_open_ta_session()
799 res = copy_from_user_private(uuid, dest, sizeof(TEE_UUID)); in syscall_open_ta_session()
804 memcpy(&clnt_id->uuid, &sess->ctx->uuid, sizeof(TEE_UUID)); in syscall_open_ta_session()
810 res = tee_ta_open_session(&ret_o, &s, &utc->open_sessions, uuid, in syscall_open_ta_session()
825 free_wipe(uuid); in syscall_open_ta_session()
840 memcpy(&clnt_id.uuid, &sess->ctx->uuid, sizeof(TEE_UUID)); in syscall_close_ta_session()
864 memcpy(&clnt_id.uuid, &sess->ctx->uuid, sizeof(TEE_UUID)); in syscall_invoke_ta_command()
986 res = tee_time_get_ta_time((const void *)&s->ctx->uuid, &t); in syscall_get_time()
1015 return tee_time_set_ta_time((const void *)&s->ctx->uuid, &t); in syscall_set_ta_time()