Lines Matching refs:nError
565 TEEC_Result nError = S_SUCCESS;
583 nError = errno2serror();
586 return nError;
597 uint32_t nError = S_SUCCESS;
613 nError = errno2serror();
614 return nError;
617 return nError;
630 uint32_t nError = S_SUCCESS;
647 nError = S_ERROR_ITEM_NOT_FOUND;
648 return nError;
653 nError = errno2serror();
654 return nError;
666 return nError;
919 TEEC_Result nError = S_SUCCESS;
935 nError=errno2serror();
951 nError=errno2serror();
955 return nError;
999 S_RESULT nError;
1041 nError = TEEC_SUCCESS;
1113 nError = S_ERROR_BAD_PARAMETERS;
1128 nError = partitionCreate(nPartitionID);
1136 TRACE_INFO("INSTRUCTION: ID=0x%x pid=%d err=%d", (nInstructionID & 0x0F), nPartitionID, nError);
1141 nError = partitionOpen(nPartitionID, &nPartitionSize);
1142 TRACE_INFO("INSTRUCTION: ID=0x%x pid=%d pSize=%d err=%d", (nInstructionID & 0x0F), nPartitionID, nPartitionSize, nError);
1143 if (nError == S_SUCCESS)
1168 nError = rpmbRead(&pInstruction->sAuthRW);
1169 TRACE_INFO("INSTRUCTION: ID=0x%x pid=%d err=%d", (nInstructionID & 0x0F), nPartitionID, nError);
1188 nError = partitionRead(nPartitionID, nSectorID, nWorkspaceOffset);
1189 TRACE_INFO("INSTRUCTION: ID=0x%x pid=%d sid=%d woff=%d err=%d", (nInstructionID & 0x0F), nPartitionID, nSectorID, nWorkspaceOffset, nError);
1204 nError = rpmbWrite(&pInstruction->sAuthRW);
1205 TRACE_INFO("INSTRUCTION: ID=0x%x pid=%d err=%d", (nInstructionID & 0x0F), nPartitionID, nError);
1224 nError = partitionWrite(nPartitionID, nSectorID, nWorkspaceOffset);
1225 TRACE_INFO("INSTRUCTION: ID=0x%x pid=%d sid=%d woff=%d err=%d", (nInstructionID & 0x0F), nPartitionID, nSectorID, nWorkspaceOffset, nError);
1229 nError = partitionSync(nPartitionID);
1230 TRACE_INFO("INSTRUCTION: ID=0x%x pid=%d err=%d", (nInstructionID & 0x0F), nPartitionID, nError);
1231 if (nError == S_SUCCESS)
1248 nError = partitionSetSize(nPartitionID, nNewSize);
1249 TRACE_INFO("INSTRUCTION: ID=0x%x pid=%d nNewSize=%d err=%d", (nInstructionID & 0x0F), nPartitionID, nNewSize, nError);
1253 nError = partitionClose(nPartitionID);
1254 TRACE_INFO("INSTRUCTION: ID=0x%x pid=%d err=%d", (nInstructionID & 0x0F), nPartitionID, nError);
1257 nError = partitionDestroy(nPartitionID);
1258 TRACE_INFO("INSTRUCTION: ID=0x%x pid=%d err=%d", (nInstructionID & 0x0F), nPartitionID, nError);
1261 g_pExchangeBuffer->sAdministrativeData.nPartitionErrorStates[nPartitionID] = nError;
1275 TEEC_Result nError;
1281 nError = TEEC_OpenSession(pContext,
1289 if (nError != TEEC_SUCCESS)
1291 LogError("Error on TEEC_OpenSession : 0x%x", nError);
1328 nError = TEEC_RegisterSharedMemory(pContext, &sExchangeSharedMem);
1329 if (nError != TEEC_SUCCESS)
1331 LogError("Error on TEEC_RegisterSharedMemory : 0x%x", nError);
1350 TEEC_Result nError;
1549 nError = TEEC_InitializeContext(NULL, /* const char * name */
1551 if (nError != TEEC_SUCCESS)
1553 LogError("TEEC_InitializeContext error: 0x%08X", nError);