Lines Matching refs:VariableStoreHeader
310 VARIABLE_STORE_HEADER *VariableStoreHeader;
317 VariableStoreHeader = (VARIABLE_STORE_HEADER *) mGlobal->VariableBase[StorageType];
322 Variable = (VARIABLE_HEADER *) (VariableStoreHeader + 1);
334 ValidBufferSize = sizeof (VARIABLE_STORE_HEADER) + VariableStoreHeader->Size;
350 CopyMem (CurrPtr, VariableStoreHeader, sizeof (VARIABLE_STORE_HEADER));
356 Variable = (VARIABLE_HEADER *) (VariableStoreHeader + 1);
458 VARIABLE_STORE_HEADER *VariableStoreHeader;
478 VariableStoreHeader = (VARIABLE_STORE_HEADER *) mGlobal->VariableBase[Index];
484 Variable = (VARIABLE_HEADER *) (VariableStoreHeader + 1);
490 PtrTrack->EndPtr = GetEndPointer (VariableStoreHeader);
1618 VARIABLE_STORE_HEADER *VariableStoreHeader;
1656 VariableStoreHeader = (VARIABLE_STORE_HEADER *) mGlobal->VariableBase[
1663 *MaximumVariableStorageSize = VariableStoreHeader->Size - sizeof (VARIABLE_STORE_HEADER);
1673 ASSERT (PcdGet32(PcdHwErrStorageSize) < VariableStoreHeader->Size);
1674 *MaximumVariableStorageSize = VariableStoreHeader->Size - sizeof (VARIABLE_STORE_HEADER) - PcdGet32(PcdHwErrStorageSize);
1686 Variable = (VARIABLE_HEADER *) (VariableStoreHeader + 1);
1691 while ((Variable < GetEndPointer (VariableStoreHeader)) && IsValidVariableHeader (Variable)) {
1767 VARIABLE_STORE_HEADER *VariableStoreHeader;
1862 VariableStoreHeader = (VARIABLE_STORE_HEADER *) VAR_DATA_PTR (Dev);
1863 if (GetVariableStoreStatus (VariableStoreHeader) == EfiValid) {
1864 if (~VariableStoreHeader->Size == 0) {
1865 VariableStoreHeader->Size = (UINT32) VariableStoreEntry.Length;
1871 Variable = (VARIABLE_HEADER *) (VariableStoreHeader + 1);
1884 mGlobal->LastVariableOffset[NonVolatile] = (UINTN) Variable - (UINTN) VariableStoreHeader;
1885 mGlobal->VariableBase[NonVolatile] = VariableStoreHeader;
1890 if ((VariableStoreHeader->Size - mGlobal->LastVariableOffset[NonVolatile]) < VARIABLE_RECLAIM_THRESHOLD) {
1906 VariableStoreHeader = (VARIABLE_STORE_HEADER *) VAR_DATA_PTR (Dev);