Lines Matching refs:VariableStoreHeader
149 VARIABLE_STORE_HEADER *VariableStoreHeader;
197 VariableStoreHeader = (VARIABLE_STORE_HEADER *)(FwVolHeader + 1);
199 if ((StartAddress + DataSize) > ((EFI_PHYSICAL_ADDRESS) (UINTN) ((CHAR8 *)VariableStoreHeader + VariableStoreHeader->Size))) {
669 VARIABLE_STORE_HEADER VariableStoreHeader;
678 &VariableStoreHeader
682 return HEADER_ALIGN (VarStoreHeaderAddress + VariableStoreHeader.Size);
969 EFI_PHYSICAL_ADDRESS VariableStoreHeader[2];
981 VariableStoreHeader[0] = Global->VolatileVariableBase;
982 VariableStoreHeader[1] = Global->NonVolatileVariableBase;
988 Variable[0] = GetStartPointer (VariableStoreHeader[0]);
989 Variable[1] = GetStartPointer (VariableStoreHeader[1]);
1025 PtrTrack->StartPtr = GetStartPointer (VariableStoreHeader[Index]);
1026 PtrTrack->EndPtr = GetEndPointer (VariableStoreHeader[Index], Volatile, Global, Instance);
1058 PtrTrack->StartPtr = GetStartPointer (VariableStoreHeader[Index]);
1059 PtrTrack->EndPtr = GetEndPointer (VariableStoreHeader[Index], Volatile, Global, Instance);
1082 PtrTrack->StartPtr = GetStartPointer (VariableStoreHeader[InDeletedStorageIndex]);
1084 VariableStoreHeader[InDeletedStorageIndex],
1127 VARIABLE_STORE_HEADER VariableStoreHeader;
1145 GetVarStoreHeader (VariableBase, IsVolatile, VariableGlobal, Instance, &VariableStoreHeader);
1190 CopyMem (ValidBuffer, &VariableStoreHeader, sizeof (VARIABLE_STORE_HEADER));
1274 SetMem ((UINT8 *) (UINTN) VariableBase, VariableStoreHeader.Size, 0xff);
1879 VARIABLE_STORE_HEADER VariableStoreHeader;
2054 GetVarStoreHeader (VariableGlobal->NonVolatileVariableBase, FALSE, VariableGlobal, Instance, &VariableStoreHeader);
2058 && ((HEADER_ALIGN (VarSize) + Global->CommonVariableTotalSize) > VariableStoreHeader.Size - sizeof (VARIABLE_STORE_HEADER) - PcdGet32(PcdHwErrStorageSize)))) {
2078 && ((HEADER_ALIGN (VarSize) + Global->CommonVariableTotalSize) > VariableStoreHeader.Size - sizeof (VARIABLE_STORE_HEADER) - PcdGet32(PcdHwErrStorageSize)))) {
2957 VARIABLE_STORE_HEADER *VariableStoreHeader;
2964 VariableStoreHeader = (VARIABLE_STORE_HEADER *) GET_GUID_HOB_DATA (GuidHob);
2965 if (CompareGuid (&VariableStoreHeader->Signature, &gEfiAuthenticatedVariableGuid) &&
2966 (VariableStoreHeader->Format == VARIABLE_STORE_FORMATTED) &&
2967 (VariableStoreHeader->State == VARIABLE_STORE_HEALTHY)
2973 for ( VariableHeader = (AUTHENTICATED_VARIABLE_HEADER *) HEADER_ALIGN (VariableStoreHeader + 1)
2974 ; (VariableHeader < (AUTHENTICATED_VARIABLE_HEADER *) HEADER_ALIGN ((UINTN) VariableStoreHeader + VariableStoreHeader->Size)
3022 VARIABLE_STORE_HEADER *VariableStoreHeader;
3159 VariableStoreHeader = (VARIABLE_STORE_HEADER *) CurrPtr;
3160 if (GetVariableStoreStatus (VariableStoreHeader) == EfiValid) {
3161 if (~VariableStoreHeader->Size == 0) {
3167 (UINTN) &VariableStoreHeader->Size,
3179 ASSERT(VariableStoreHeader->Size == VariableStoreLength);
3215 for (Index = mVariableModuleGlobal->NonVolatileLastVariableOffset; Index < VariableStoreHeader->Size; Index++) {