Home
last modified time | relevance | path

Searched refs:ReturnCode (Results 1 – 25 of 27) sorted by relevance

12

/device/linaro/bootloader/edk2/OvmfPkg/XenBusDxe/
DEventChannel.c28 INTN ReturnCode; in XenEventChannelNotify() local
32 ReturnCode = XenHypercallEventChannelOp (EVTCHNOP_send, &Send); in XenEventChannelNotify()
33 return (UINT32)ReturnCode; in XenEventChannelNotify()
45 UINT32 ReturnCode; in XenBusEventChannelAllocate() local
49 ReturnCode = (UINT32)XenHypercallEventChannelOp ( in XenBusEventChannelAllocate()
52 if (ReturnCode != 0) { in XenBusEventChannelAllocate()
53 DEBUG ((EFI_D_ERROR, "ERROR: alloc_unbound failed with rc=%d", ReturnCode)); in XenBusEventChannelAllocate()
54 return ReturnCode; in XenBusEventChannelAllocate()
57 return ReturnCode; in XenBusEventChannelAllocate()
DGrantTable.c147 INTN ReturnCode; in XenGrantTableInit() local
163 ReturnCode = XenHypercallMemoryOp (XENMEM_add_to_physmap, &Parameters); in XenGrantTableInit()
164 if (ReturnCode != 0) { in XenGrantTableInit()
167 (INT64)ReturnCode)); in XenGrantTableInit()
177 INTN ReturnCode, Index; in XenGrantTableDeinit() local
189 ReturnCode = XenHypercallMemoryOp (XENMEM_remove_from_physmap, &Parameters); in XenGrantTableDeinit()
190 if (ReturnCode != 0) { in XenGrantTableDeinit()
193 (INT64)ReturnCode)); in XenGrantTableDeinit()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgSmm/
DTcgSmm.c74 mTcgNvs->PhysicalPresence.ReturnCode = PP_RETURN_TPM_OPERATION_RESPONSE_FAILURE; in PhysicalPresenceCallback()
80 mTcgNvs->PhysicalPresence.ReturnCode = PP_RETURN_TPM_OPERATION_RESPONSE_SUCCESS; in PhysicalPresenceCallback()
86 mTcgNvs->PhysicalPresence.ReturnCode = TCG_PP_SUBMIT_REQUEST_TO_PREOS_GENERAL_FAILURE; in PhysicalPresenceCallback()
94 mTcgNvs->PhysicalPresence.ReturnCode = TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED; in PhysicalPresenceCallback()
111 mTcgNvs->PhysicalPresence.ReturnCode = TCG_PP_SUBMIT_REQUEST_TO_PREOS_GENERAL_FAILURE; in PhysicalPresenceCallback()
114 mTcgNvs->PhysicalPresence.ReturnCode = TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS; in PhysicalPresenceCallback()
128 …mTcgNvs->PhysicalPresence.ReturnCode = TcgPpVendorLibSubmitRequestToPreOSFunction (mTcgNvs->Physic… in PhysicalPresenceCallback()
132 … mTcgNvs->PhysicalPresence.ReturnCode = TCG_PP_GET_USER_CONFIRMATION_BLOCKED_BY_BIOS_CONFIGURATION; in PhysicalPresenceCallback()
148 … mTcgNvs->PhysicalPresence.ReturnCode = TCG_PP_GET_USER_CONFIRMATION_BLOCKED_BY_BIOS_CONFIGURATION; in PhysicalPresenceCallback()
202 mTcgNvs->PhysicalPresence.ReturnCode = TCG_PP_GET_USER_CONFIRMATION_NOT_IMPLEMENTED; in PhysicalPresenceCallback()
[all …]
DTcgSmm.h48 UINT32 ReturnCode; member
55 UINT32 ReturnCode; member
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm12CommandLib/
DTpm12Startup.c61 UINT32 ReturnCode; in Tpm12Startup() local
77 ReturnCode = SwapBytes32(RecvBuffer.Hdr.returnCode); in Tpm12Startup()
78 switch (ReturnCode) { in Tpm12Startup()
105 UINT32 ReturnCode; in Tpm12SaveState() local
120 ReturnCode = SwapBytes32(RecvBuffer.Hdr.returnCode); in Tpm12SaveState()
121 switch (ReturnCode) { in Tpm12SaveState()
DTpm12NvStorage.c88 UINT32 ReturnCode; in Tpm12NvDefineSpace() local
124 ReturnCode = SwapBytes32(RecvBuffer.Hdr.returnCode); in Tpm12NvDefineSpace()
125 DEBUG ((DEBUG_INFO, "Tpm12NvDefineSpace - ReturnCode = %x\n", ReturnCode)); in Tpm12NvDefineSpace()
126 switch (ReturnCode) { in Tpm12NvDefineSpace()
161 UINT32 ReturnCode; in Tpm12NvReadValue() local
179 ReturnCode = SwapBytes32(RecvBuffer.Hdr.returnCode); in Tpm12NvReadValue()
180 DEBUG ((DEBUG_INFO, "Tpm12NvReadValue - ReturnCode = %x\n", ReturnCode)); in Tpm12NvReadValue()
181 switch (ReturnCode) { in Tpm12NvReadValue()
222 UINT32 ReturnCode; in Tpm12NvWriteValue() local
245 ReturnCode = SwapBytes32(RecvBuffer.Hdr.returnCode); in Tpm12NvWriteValue()
[all …]
DTpm12Ownership.c50 UINT32 ReturnCode; in Tpm12ForceClear() local
65 ReturnCode = SwapBytes32(RecvBuffer.Hdr.returnCode); in Tpm12ForceClear()
66 switch (ReturnCode) { in Tpm12ForceClear()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEESmm/
DTrEESmm.c91 mTcgNvs->PhysicalPresence.ReturnCode = PP_RETURN_TPM_OPERATION_RESPONSE_FAILURE; in PhysicalPresenceCallback()
97 mTcgNvs->PhysicalPresence.ReturnCode = PP_RETURN_TPM_OPERATION_RESPONSE_SUCCESS; in PhysicalPresenceCallback()
103 mTcgNvs->PhysicalPresence.ReturnCode = TREE_PP_SUBMIT_REQUEST_TO_PREOS_GENERAL_FAILURE; in PhysicalPresenceCallback()
112 mTcgNvs->PhysicalPresence.ReturnCode = TREE_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED; in PhysicalPresenceCallback()
129 mTcgNvs->PhysicalPresence.ReturnCode = TREE_PP_SUBMIT_REQUEST_TO_PREOS_GENERAL_FAILURE; in PhysicalPresenceCallback()
133 mTcgNvs->PhysicalPresence.ReturnCode = TREE_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS; in PhysicalPresenceCallback()
147 …mTcgNvs->PhysicalPresence.ReturnCode = TrEEPpVendorLibSubmitRequestToPreOSFunction (mTcgNvs->Physi… in PhysicalPresenceCallback()
151 …mTcgNvs->PhysicalPresence.ReturnCode = TREE_PP_GET_USER_CONFIRMATION_BLOCKED_BY_BIOS_CONFIGURATION; in PhysicalPresenceCallback()
167 …mTcgNvs->PhysicalPresence.ReturnCode = TREE_PP_GET_USER_CONFIRMATION_BLOCKED_BY_BIOS_CONFIGURATION; in PhysicalPresenceCallback()
197 mTcgNvs->PhysicalPresence.ReturnCode = TREE_PP_GET_USER_CONFIRMATION_NOT_IMPLEMENTED; in PhysicalPresenceCallback()
[all …]
DTrEESmm.h49 UINT32 ReturnCode; member
56 UINT32 ReturnCode; member
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/
DInventoryWs.py94 ReturnCode = 0
96 ReturnCode = XExcept.args[0]
100 ReturnCode = ABORT_ERROR
104 ReturnCode = CODE_ERROR
114 if ReturnCode == 0:
117 return ReturnCode
DReplacePkg.py72 ReturnCode = 0
75 ReturnCode = XExcept.args[0]
80 ReturnCode = ABORT_ERROR
85 ReturnCode = CODE_ERROR
107 if ReturnCode == 0:
110 return ReturnCode
DRmPkg.py158 ReturnCode = 0
161 ReturnCode = XExcept.args[0]
166 ReturnCode = ABORT_ERROR
180 ReturnCode = CODE_ERROR
181 return ReturnCode
DMkPkg.py214 ReturnCode = 0
217 ReturnCode = XExcept.args[0]
222 ReturnCode = ABORT_ERROR
239 ReturnCode = CODE_ERROR
246 return ReturnCode
DUPT.py199 ReturnCode = 0
272 ReturnCode = RunModule(Opt)
274 ReturnCode = XExcept.args[0]
280 if ReturnCode != 0 and ReturnCode != UPT_ALREADY_INSTALLED_ERROR:
294 return ReturnCode
DInstallPkg.py535 ReturnCode = 0
538 ReturnCode = XExcept.args[0]
543 ReturnCode = ABORT_ERROR
548 ReturnCode = CODE_ERROR
559 if ReturnCode != UPT_ALREADY_INSTALLED_ERROR:
569 if ReturnCode == 0:
571 return ReturnCode
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Config/
DTcg2ConfigImpl.c116 UINT32 ReturnCode; in SaveTcg2PpRequest() local
119 ReturnCode = Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunction (PpRequest, 0); in SaveTcg2PpRequest()
120 if (ReturnCode == TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS) { in SaveTcg2PpRequest()
123 } else if (ReturnCode == TCG_PP_SUBMIT_REQUEST_TO_PREOS_GENERAL_FAILURE) { in SaveTcg2PpRequest()
125 } else if (ReturnCode == TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED) { in SaveTcg2PpRequest()
148 UINT32 ReturnCode; in SaveTcg2PpRequestParameter() local
151ReturnCode = Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunction (mCurrentPpRequest, PpRequestPara… in SaveTcg2PpRequestParameter()
152 if (ReturnCode == TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS) { in SaveTcg2PpRequestParameter()
154 } else if (ReturnCode == TCG_PP_SUBMIT_REQUEST_TO_PREOS_GENERAL_FAILURE) { in SaveTcg2PpRequestParameter()
156 } else if (ReturnCode == TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED) { in SaveTcg2PpRequestParameter()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/
DTcg2Smm.c73 …mTcgNvs->PhysicalPresence.ReturnCode = Tcg2PhysicalPresenceLibReturnOperationResponseToOsFunction ( in PhysicalPresenceCallback()
82 mTcgNvs->PhysicalPresence.ReturnCode = Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunction ( in PhysicalPresenceCallback()
87 …mTcgNvs->PhysicalPresence.ReturnCode = Tcg2PhysicalPresenceLibGetUserConfirmationStatusFunction (m… in PhysicalPresenceCallback()
124 mTcgNvs->MemoryClear.ReturnCode = MOR_REQUEST_SUCCESS; in MemoryClearCallback()
137 mTcgNvs->MemoryClear.ReturnCode = MOR_REQUEST_GENERAL_FAILURE; in MemoryClearCallback()
157 mTcgNvs->MemoryClear.ReturnCode = MOR_REQUEST_GENERAL_FAILURE; in MemoryClearCallback()
DTcg2Smm.h49 UINT32 ReturnCode; member
56 UINT32 ReturnCode; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/
DVfrFormPkg.cpp807 EFI_VFR_RETURN_CODE ReturnCode; in DeclarePendingQuestion() local
837 ReturnCode = lCVfrQuestionDB.RegisterQuestion (NULL, VarStr, QId); in DeclarePendingQuestion()
838 if (ReturnCode != VFR_RETURN_SUCCESS) { in DeclarePendingQuestion()
839 gCVfrErrorHandle.HandleError (ReturnCode, pNode->mLineNo, pNode->mKey); in DeclarePendingQuestion()
840 return ReturnCode; in DeclarePendingQuestion()
849 ReturnCode = lCVfrVarDataTypeDB.ExtractFieldNameAndArrary (VarStr, FName, ArrayIdx); in DeclarePendingQuestion()
850 if (ReturnCode != VFR_RETURN_SUCCESS) { in DeclarePendingQuestion()
852 return ReturnCode; in DeclarePendingQuestion()
857 ReturnCode = lCVfrDataStorage.GetVarStoreId (FName, &Info.mVarStoreId); in DeclarePendingQuestion()
858 if (ReturnCode != VFR_RETURN_SUCCESS) { in DeclarePendingQuestion()
[all …]
DVfrUtilityLib.cpp1727 OUT EFI_VFR_RETURN_CODE *ReturnCode in CheckGuidField() argument
1739 *ReturnCode = VFR_RETURN_SUCCESS; in CheckGuidField()
1750 *ReturnCode = VFR_RETURN_VARSTORE_NAME_REDEFINED_ERROR; in CheckGuidField()
1780 EFI_VFR_RETURN_CODE ReturnCode; in GetVarStoreId() local
1788 if (CheckGuidField(pNode, StoreGuid, &HasFoundOne, &ReturnCode)) { in GetVarStoreId()
1790 return ReturnCode; in GetVarStoreId()
1797 if (CheckGuidField(pNode, StoreGuid, &HasFoundOne, &ReturnCode)) { in GetVarStoreId()
1799 return ReturnCode; in GetVarStoreId()
1806 if (CheckGuidField(pNode, StoreGuid, &HasFoundOne, &ReturnCode)) { in GetVarStoreId()
1808 return ReturnCode; in GetVarStoreId()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/
DBlockFront.c492 UINT32 ReturnCode; in XenPvBlockAsyncIo() local
493 ReturnCode = XenBusIo->EventChannelNotify (XenBusIo, Dev->EventChannel); in XenPvBlockAsyncIo()
494 if (ReturnCode != 0) { in XenPvBlockAsyncIo()
497 ReturnCode)); in XenPvBlockAsyncIo()
547 UINT32 ReturnCode; in XenPvBlockPushOperation() local
548 ReturnCode = XenBusIo->EventChannelNotify (XenBusIo, Dev->EventChannel); in XenPvBlockPushOperation()
549 if (ReturnCode != 0) { in XenPvBlockPushOperation()
552 ReturnCode)); in XenPvBlockPushOperation()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/BPDG/
DBPDG.py54 ReturnCode = 0
80 return ReturnCode
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DGenFds.py65 ReturnCode = 0
291 ReturnCode = FORMAT_INVALID
296 ReturnCode = X.args[0]
307 ReturnCode = CODE_ERROR
310 return ReturnCode
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/
DTcg2Dxe.c1358 UINT32 ReturnCode; in Tcg2SetActivePCRBanks() local
1372ReturnCode = Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunction (TCG2_PHYSICAL_PRESENCE_NO_ACTION… in Tcg2SetActivePCRBanks()
1374ReturnCode = Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunction (TCG2_PHYSICAL_PRESENCE_SET_PCR_B… in Tcg2SetActivePCRBanks()
1377 if (ReturnCode == TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS) { in Tcg2SetActivePCRBanks()
1379 } else if (ReturnCode == TCG_PP_SUBMIT_REQUEST_TO_PREOS_GENERAL_FAILURE) { in Tcg2SetActivePCRBanks()
1381 } else if (ReturnCode == TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED) { in Tcg2SetActivePCRBanks()
1410 UINT32 ReturnCode; in Tcg2GetResultOfSetActivePcrBanks() local
1416ReturnCode = Tcg2PhysicalPresenceLibReturnOperationResponseToOsFunction (OperationPresent, Respons… in Tcg2GetResultOfSetActivePcrBanks()
1417 if (ReturnCode == TCG_PP_RETURN_TPM_OPERATION_RESPONSE_SUCCESS) { in Tcg2GetResultOfSetActivePcrBanks()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/build/
Dbuild.py1980 ReturnCode = 0
2063 ReturnCode = X.args[0]
2073 ReturnCode = FORMAT_INVALID
2075 ReturnCode = ABORT_ERROR
2098 ReturnCode = CODE_ERROR
2103 if ReturnCode == 0:
2105 elif ReturnCode == ABORT_ERROR:
2124 return ReturnCode

12