Lines Matching refs:VariableStoreHeader
1093 VARIABLE_STORE_HEADER *VariableStoreHeader[2];
1099 VariableStoreHeader[0] = (VARIABLE_STORE_HEADER *) ((UINTN) Global->NonVolatileVariableBase);
1100 VariableStoreHeader[1] = (VARIABLE_STORE_HEADER *) ((UINTN) Global->VolatileVariableBase);
1106 Variable[0] = (VARIABLE_HEADER *) HEADER_ALIGN (VariableStoreHeader[0] + 1);
1107 Variable[1] = (VARIABLE_HEADER *) HEADER_ALIGN (VariableStoreHeader[1] + 1);
1116 PtrTrack->StartPtr = (VARIABLE_HEADER *) HEADER_ALIGN (VariableStoreHeader[Index] + 1);
1117 PtrTrack->EndPtr = GetEndPointer (VariableStoreHeader[Index]);
1119 while ((Variable[Index] < GetEndPointer (VariableStoreHeader[Index])) && (Variable[Index] != NULL)) {
1491 VARIABLE_STORE_HEADER *VariableStoreHeader;
1535 VariableStoreHeader = (VARIABLE_STORE_HEADER *) ((UINTN) Global->VolatileVariableBase);
1540 VariableStoreHeader = (VARIABLE_STORE_HEADER *) ((UINTN) Global->NonVolatileVariableBase);
1547 *MaximumVariableStorageSize = VariableStoreHeader->Size - sizeof (VARIABLE_STORE_HEADER);
1557 ASSERT (PcdGet32 (PcdHwErrStorageSize) < VariableStoreHeader->Size);
1558 *MaximumVariableStorageSize = VariableStoreHeader->Size - sizeof (VARIABLE_STORE_HEADER) - PcdGet32 (PcdHwErrStorageSize);
1570 Variable = (VARIABLE_HEADER *) HEADER_ALIGN (VariableStoreHeader + 1);
1575 while (Variable < GetEndPointer (VariableStoreHeader)) {
1628 VARIABLE_STORE_HEADER *VariableStoreHeader;
1706 VariableStoreHeader = (VARIABLE_STORE_HEADER *) GET_GUID_HOB_DATA (GuidHob);
1707 if (CompareGuid (&VariableStoreHeader->Signature, &gEfiVariableGuid) &&
1708 (VariableStoreHeader->Format == VARIABLE_STORE_FORMATTED) &&
1709 (VariableStoreHeader->State == VARIABLE_STORE_HEALTHY)
1715 for ( Variable = (VARIABLE_HEADER *) HEADER_ALIGN (VariableStoreHeader + 1)
1716 ; (Variable < GetEndPointer (VariableStoreHeader) && (Variable != NULL))