Searched refs:ItemNum (Results 1 – 5 of 5) sorted by relevance
70 UINT32 ItemNum; in ValidateFmpCapsule() local81 ItemNum = FmpCapsuleHeader->EmbeddedDriverCount + FmpCapsuleHeader->PayloadItemCount; in ValidateFmpCapsule()83 if (ItemNum == FmpCapsuleHeader->EmbeddedDriverCount) { in ValidateFmpCapsule()87 if (((UINT8 *)FmpCapsuleHeader + ItemOffsetList[ItemNum - 1]) < EndOfCapsule) { in ValidateFmpCapsule()98 …RMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER *)((UINT8 *)FmpCapsuleHeader + ItemOffsetList[ItemNum - 1]); in ValidateFmpCapsule()114 if (ItemNum >= 2) { in ValidateFmpCapsule()115 for (Index = 0; Index < ItemNum - 1; Index++) { in ValidateFmpCapsule()145 UINT32 ItemNum; in ProcessFmpCapsuleImage() local178 ItemNum = FmpCapsuleHeader->EmbeddedDriverCount + FmpCapsuleHeader->PayloadItemCount; in ProcessFmpCapsuleImage()183 if (ItemNum == 0) { in ProcessFmpCapsuleImage()[all …]
174 UINT32 ItemNum; in IsSystemFmpCapsuleImage() local187 ItemNum = FmpCapsuleHeader->EmbeddedDriverCount + FmpCapsuleHeader->PayloadItemCount; in IsSystemFmpCapsuleImage()191 for (Index = 0; Index < ItemNum; Index++) { in IsSystemFmpCapsuleImage()259 UINT32 ItemNum; in ValidateFmpCapsule() local288 ItemNum = FmpCapsuleHeader->EmbeddedDriverCount + FmpCapsuleHeader->PayloadItemCount; in ValidateFmpCapsule()290 if ((FmpCapsuleSize - sizeof(EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER))/sizeof(UINT64) < ItemNum) { in ValidateFmpCapsule()291 DEBUG((DEBUG_ERROR, "ItemNum(0x%x) too big\n", ItemNum)); in ValidateFmpCapsule()294 FmpCapsuleHeaderSize = sizeof(EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER) + sizeof(UINT64)*ItemNum; in ValidateFmpCapsule()297 for (Index = 0; Index < ItemNum; Index++) { in ValidateFmpCapsule()318 for (Index = FmpCapsuleHeader->EmbeddedDriverCount; Index < ItemNum; Index++) { in ValidateFmpCapsule()[all …]
195 UINT32 ItemNum; in ValidateFmpCapsule() local228 ItemNum = FmpCapsuleHeader->EmbeddedDriverCount + FmpCapsuleHeader->PayloadItemCount; in ValidateFmpCapsule()230 if ((FmpCapsuleSize - sizeof(EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER))/sizeof(UINT64) < ItemNum) { in ValidateFmpCapsule()231 DEBUG((DEBUG_ERROR, "ItemNum(0x%x) too big\n", ItemNum)); in ValidateFmpCapsule()234 FmpCapsuleHeaderSize = sizeof(EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER) + sizeof(UINT64)*ItemNum; in ValidateFmpCapsule()237 for (Index = 0; Index < ItemNum; Index++) { in ValidateFmpCapsule()258 for (Index = FmpCapsuleHeader->EmbeddedDriverCount; Index < ItemNum; Index++) { in ValidateFmpCapsule()260 if (Index == ItemNum - 1) { in ValidateFmpCapsule()288 if (ItemNum == 0) { in ValidateFmpCapsule()1293 UINT32 ItemNum; in ProcessFmpCapsuleImage() local[all …]
660 UINTN ItemNum; in BootFromSelectOption() local665 for (ItemNum = 0, Index = 0; Index < BootOptionCount; Index++) { in BootFromSelectOption()670 if (ItemNum++ == SelectItem) { in BootFromSelectOption()
305 ItemNum = 0369 ItemNum += 1391 if self._IsStatementRequired() and ItemNum == 0: