Lines Matching refs:MethodStatus

200   UINT8            *MethodStatus,  in OpalPerformMethod()  argument
205 NULL_CHECK(MethodStatus); in OpalPerformMethod()
229 ERROR_CHECK(TcgGetMethodStatus(ParseStruct, MethodStatus)); in OpalPerformMethod()
294 UINT8 MethodStatus; in OpalPsidRevert() local
316 …HECK(OpalPerformMethod(AdminSpSession, Size, Buffer, BUFFER_SIZE, &ParseStruct, &MethodStatus, 0)); in OpalPsidRevert()
317 METHOD_STATUS_ERROR_CHECK(MethodStatus, TcgResultFailure); in OpalPsidRevert()
345 UINT8 MethodStatus; in OpalPyrite2PsidRevert() local
368 …rformMethod(AdminSpSession, Size, Buffer, BUFFER_SIZE, &ParseStruct, &MethodStatus, EstimateTimeCo… in OpalPyrite2PsidRevert()
369 METHOD_STATUS_ERROR_CHECK(MethodStatus, TcgResultFailure); in OpalPyrite2PsidRevert()
459 UINT8 *MethodStatus in OpalStartSession() argument
473 NULL_CHECK(MethodStatus); in OpalStartSession()
491 ERROR_CHECK(OpalPerformMethod(Session, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, 0)); in OpalStartSession()
492 if (*MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalStartSession()
586 UINT8 MethodStatus; in OpalGetMsid() local
620 …HECK(OpalPerformMethod(AdminSpSession, Size, Buffer, BUFFER_SIZE, &ParseStruct, &MethodStatus, 0)); in OpalGetMsid()
621 METHOD_STATUS_ERROR_CHECK(MethodStatus, TcgResultFailure); in OpalGetMsid()
671 UINT8 MethodStatus; in OpalPyrite2GetActiveDataRemovalMechanism() local
704 …HECK(OpalPerformMethod(AdminSpSession, Size, Buffer, BUFFER_SIZE, &ParseStruct, &MethodStatus, 0)); in OpalPyrite2GetActiveDataRemovalMechanism()
705 METHOD_STATUS_ERROR_CHECK(MethodStatus, TcgResultFailure); in OpalPyrite2GetActiveDataRemovalMechanism()
748 UINT8 *MethodStatus in OpalAdminRevert() argument
758 NULL_CHECK(MethodStatus); in OpalAdminRevert()
771 MethodStatus); in OpalAdminRevert()
773 if (Ret != TcgResultSuccess || *MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalAdminRevert()
807 …_CHECK(OpalPerformMethod(LockingSpSession, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, 0)); in OpalAdminRevert()
812 if (*MethodStatus == TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalAdminRevert()
821 …METHOD_STATUS_ERROR_CHECK(*MethodStatus, TcgResultSuccess); // exit with success on method fai… in OpalAdminRevert()
843 UINT8 *MethodStatus, in OpalPyrite2AdminRevert() argument
854 NULL_CHECK(MethodStatus); in OpalPyrite2AdminRevert()
867 MethodStatus); in OpalPyrite2AdminRevert()
869 if (Ret != TcgResultSuccess || *MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalPyrite2AdminRevert()
903 …PerformMethod(LockingSpSession, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, EstimateTimeCo… in OpalPyrite2AdminRevert()
908 if (*MethodStatus == TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalPyrite2AdminRevert()
917 …METHOD_STATUS_ERROR_CHECK(*MethodStatus, TcgResultSuccess); // exit with success on method fai… in OpalPyrite2AdminRevert()
937 UINT8 *MethodStatus in OpalActivateLockingSp() argument
946 NULL_CHECK(MethodStatus); in OpalActivateLockingSp()
966 …ERROR_CHECK(OpalPerformMethod(AdminSpSession, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, … in OpalActivateLockingSp()
967 …METHOD_STATUS_ERROR_CHECK(*MethodStatus, TcgResultSuccess); // exit with success on method failure… in OpalActivateLockingSp()
990 UINT8 *MethodStatus in OpalSetPassword() argument
1000 NULL_CHECK(MethodStatus); in OpalSetPassword()
1015 ERROR_CHECK(OpalPerformMethod(Session, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, 0)); in OpalSetPassword()
1017 METHOD_STATUS_ERROR_CHECK(*MethodStatus, TcgResultSuccess); in OpalSetPassword()
1043 UINT8 *MethodStatus in OpalSetLockingSpAuthorityEnabledAndPin() argument
1055 NULL_CHECK(MethodStatus); in OpalSetLockingSpAuthorityEnabledAndPin()
1068 …_CHECK(OpalPerformMethod(LockingSpSession, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, 0)); in OpalSetLockingSpAuthorityEnabledAndPin()
1070 if (*MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalSetLockingSpAuthorityEnabledAndPin()
1088 …_CHECK(OpalPerformMethod(LockingSpSession, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, 0)); in OpalSetLockingSpAuthorityEnabledAndPin()
1107 …_CHECK(OpalPerformMethod(LockingSpSession, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, 0)); in OpalSetLockingSpAuthorityEnabledAndPin()
1109 if (*MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalSetLockingSpAuthorityEnabledAndPin()
1128 …_CHECK(OpalPerformMethod(LockingSpSession, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, 0)); in OpalSetLockingSpAuthorityEnabledAndPin()
1130 if (*MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalSetLockingSpAuthorityEnabledAndPin()
1137 …_CHECK(OpalPerformMethod(LockingSpSession, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, 0)); in OpalSetLockingSpAuthorityEnabledAndPin()
1159 …_CHECK(OpalPerformMethod(LockingSpSession, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, 0)); in OpalSetLockingSpAuthorityEnabledAndPin()
1161 if (*MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalSetLockingSpAuthorityEnabledAndPin()
1184 …_CHECK(OpalPerformMethod(LockingSpSession, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, 0)); in OpalSetLockingSpAuthorityEnabledAndPin()
1186 if (*MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalSetLockingSpAuthorityEnabledAndPin()
1206 UINT8 *MethodStatus in OpalDisableUser() argument
1215 NULL_CHECK(MethodStatus); in OpalDisableUser()
1228 …_CHECK(OpalPerformMethod(LockingSpSession, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, 0)); in OpalDisableUser()
1246 UINT8 *MethodStatus in OpalGlobalLockingRangeGenKey() argument
1256 NULL_CHECK(MethodStatus); in OpalGlobalLockingRangeGenKey()
1263 …_CHECK(OpalPerformMethod(LockingSpSession, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, 0)); in OpalGlobalLockingRangeGenKey()
1265 METHOD_STATUS_ERROR_CHECK(*MethodStatus, TcgResultSuccess); in OpalGlobalLockingRangeGenKey()
1284 …_CHECK(OpalPerformMethod(LockingSpSession, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, 0)); in OpalGlobalLockingRangeGenKey()
1307 UINT8 *MethodStatus in OpalUpdateGlobalLockingRange() argument
1316 NULL_CHECK(MethodStatus); in OpalUpdateGlobalLockingRange()
1350 …_CHECK(OpalPerformMethod(LockingSpSession, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, 0)); in OpalUpdateGlobalLockingRange()
1351 METHOD_STATUS_ERROR_CHECK(*MethodStatus, TcgResultSuccess); in OpalUpdateGlobalLockingRange()
1383 UINT8 *MethodStatus in OpalSetLockingRange() argument
1392 NULL_CHECK(MethodStatus); in OpalSetLockingRange()
1451 …_CHECK(OpalPerformMethod(LockingSpSession, Size, Buf, sizeof(Buf), &ParseStruct, MethodStatus, 0)); in OpalSetLockingRange()
1453 METHOD_STATUS_ERROR_CHECK(*MethodStatus, TcgResultSuccess); in OpalSetLockingRange()
1570 UINT8 MethodStatus; in OpalGetTryLimit() local
1599 …CHECK(OpalPerformMethod(LockingSpSession, Size, Buf, sizeof(Buf), &ParseStruct, &MethodStatus, 0)); in OpalGetTryLimit()
1600 METHOD_STATUS_ERROR_CHECK(MethodStatus, TcgResultFailure); in OpalGetTryLimit()