Lines Matching refs:CurrPtr
1027 PtrTrack->CurrPtr = Variable[Index];
1060 PtrTrack->CurrPtr = Variable[Index];
1089 PtrTrack->CurrPtr = InDeletedVariable;
1094 PtrTrack->CurrPtr = 0x0;
1136 UINT8 *CurrPtr;
1191 CurrPtr = (UINT8 *) GetStartPointer ((EFI_PHYSICAL_ADDRESS) ValidBuffer);
1201 CopyMem (CurrPtr, (UINT8 *) Variable, VariableSize);
1202 CurrPtr += VariableSize;
1250 CopyMem (CurrPtr, (UINT8 *) Variable, VariableSize);
1257 ((AUTHENTICATED_VARIABLE_HEADER *) CurrPtr)->State = VAR_ADDED;
1259 CurrPtr += VariableSize;
1275 CopyMem ((UINT8 *) (UINTN) VariableBase, ValidBuffer, (UINTN) (CurrPtr - (UINT8 *) ValidBuffer));
1285 (UINTN) (CurrPtr - (UINT8 *) ValidBuffer)
1289 *LastVariableOffset = (UINTN) (CurrPtr - (UINT8 *) ValidBuffer);
1725 GetVariableDataPtr ((EFI_PHYSICAL_ADDRESS) Variable.CurrPtr, Variable.Volatile, VariableGlobal, Instance, (CHAR16 *) Data);
1732 (UINTN) &(((AUTHENTICATED_VARIABLE_HEADER *)Variable.CurrPtr)->DataSize),
1889 if (Variable->CurrPtr != 0) {
1891 Valid = IsValidVariableHeader (Variable->CurrPtr, Variable->Volatile, VariableGlobal, Instance, &VariableHeader);
1933 (UINTN) &(((AUTHENTICATED_VARIABLE_HEADER *)Variable->CurrPtr)->State),
1950 GetVariableDataPtr (Variable->CurrPtr, Variable->Volatile, VariableGlobal, Instance, (CHAR16 *) NextVariable);
1971 (UINTN) &(((AUTHENTICATED_VARIABLE_HEADER *)Variable->CurrPtr)->State),
2066 Status = Reclaim (VariableGlobal->NonVolatileVariableBase, &(Global->NonVolatileLastVariableOffset), FALSE, VirtualMode, Global, Variable->CurrPtr);
2176 Status = Reclaim (VariableGlobal->VolatileVariableBase, &Global->VolatileLastVariableOffset, TRUE, VirtualMode, Global, Variable->CurrPtr);
2214 if (!Reclaimed && !EFI_ERROR (Status) && Variable->CurrPtr != 0) {
2215 State = ((AUTHENTICATED_VARIABLE_HEADER *)Variable->CurrPtr)->State;
2223 (UINTN) &(((AUTHENTICATED_VARIABLE_HEADER *)Variable->CurrPtr)->State),
2313 if (Variable.CurrPtr == 0x0 || EFI_ERROR (Status)) {
2320 Valid = IsValidVariableHeader (Variable.CurrPtr, Variable.Volatile, VariableGlobal, Instance, &VariableHeader);
2339 Variable.CurrPtr,
2423 if (Variable.CurrPtr == 0x0 || EFI_ERROR (Status)) {
2431 Variable.CurrPtr = GetNextVariablePtr (
2432 Variable.CurrPtr,
2440 if (Variable.CurrPtr >= Variable.EndPtr || Variable.CurrPtr == 0x0) {
2460 Variable.CurrPtr = Variable.StartPtr;
2461 if (!IsValidVariableHeader (Variable.CurrPtr, Variable.Volatile, VariableGlobal, Instance, NULL)) {
2468 if (IsValidVariableHeader (Variable.CurrPtr, Variable.Volatile, VariableGlobal, Instance, &VariableHeader)) {
2476 Variable.CurrPtr,
2497 Variable.CurrPtr = GetNextVariablePtr (
2498 Variable.CurrPtr,
3020 EFI_PHYSICAL_ADDRESS CurrPtr;
3129 CurrPtr = mVariableModuleGlobal->VariableGlobal[Physical].NonVolatileVariableBase;
3150 if (CurrPtr >= (EFI_PHYSICAL_ADDRESS) FwVolHeader &&
3151 CurrPtr < ((EFI_PHYSICAL_ADDRESS) FwVolHeader + FwVolHeader->FvLength)) {
3159 VariableStoreHeader = (VARIABLE_STORE_HEADER *) CurrPtr;
3186 mVariableModuleGlobal->VariableGlobal[Physical].NonVolatileVariableBase = (EFI_PHYSICAL_ADDRESS) ((UINTN) CurrPtr);
3190 Variable = GetStartPointer (CurrPtr);
3210 mVariableModuleGlobal->NonVolatileLastVariableOffset = (UINTN) Variable - (UINTN) CurrPtr;