Lines Matching refs:NextVariable
936 VARIABLE_HEADER *NextVariable;
948 NextVariable = GetNextVariablePtr (Variable);
949 VariableSize = (UINTN) NextVariable - (UINTN) Variable;
959 Variable = NextVariable;
1010 VARIABLE_HEADER *NextVariable;
1049 NextVariable = GetNextVariablePtr (Variable);
1054 VariableSize = (UINTN) NextVariable - (UINTN) Variable;
1058 Variable = NextVariable;
1099 NextVariable = GetNextVariablePtr (Variable);
1101 VariableSize = (UINTN) NextVariable - (UINTN) Variable;
1113 Variable = NextVariable;
1121 NextVariable = GetNextVariablePtr (Variable);
1151 VariableSize = (UINTN) NextVariable - (UINTN) Variable;
1166 Variable = NextVariable;
1236 NextVariable = GetNextVariablePtr (Variable);
1237 VariableSize = (UINTN) NextVariable - (UINTN) Variable;
1247 Variable = NextVariable;
1741 VARIABLE_HEADER *NextVariable;
1808 NextVariable = GetNextVariablePtr (VariablePtrTrack.CurrPtr);
1809 OriginalVarSize = (UINTN) NextVariable - (UINTN) VariablePtrTrack.CurrPtr;
2179 VARIABLE_HEADER *NextVariable;
2278 NextVariable = GetEndPointer ((VARIABLE_STORE_HEADER *) ((UINTN) mVariableModuleGlobal->VariableGlobal.VolatileVariableBase));
2280 SetMem (NextVariable, ScratchSize, 0xff);
2390 // NOTE: From 0 to DataOffset of NextVariable is reserved for Variable Header and Name.
2391 // From DataOffset of NextVariable is to save the existing variable data.
2394 BufferForMerge = (UINT8 *) ((UINTN) NextVariable + DataOffset);
2425 // BufferForMerge(from DataOffset of NextVariable) has included the merged existing and new data.
2487 NextVariable->StartId = VARIABLE_DATA;
2489 // NextVariable->State = VAR_ADDED;
2491 NextVariable->Reserved = 0;
2493 AuthVariable = (AUTHENTICATED_VARIABLE_HEADER *) NextVariable;
2521 NextVariable->Attributes = Attributes & (~EFI_VARIABLE_APPEND_WRITE);
2526 (UINT8 *) ((UINTN) NextVariable + VarNameOffset),
2534 // NextVariable during EFI_VARIABLE_APPEND_WRITE operation preparation.
2538 (UINT8 *) ((UINTN) NextVariable + VarDataOffset),
2544 CopyMem (GetVendorGuidPtr (NextVariable), VendorGuid, sizeof (EFI_GUID));
2546 // There will be pad bytes after Data, the NextVariable->NameSize and
2547 // NextVariable->DataSize should not include pad size so that variable
2550 SetNameSizeOfVariable (NextVariable, VarNameSize);
2551 SetDataSizeOfVariable (NextVariable, DataSize);
2568 IsCommonUserVariable = IsUserVariable (NextVariable);
2593 NextVariable,
2634 (UINT8 *) NextVariable
2644 NextVariable->State = VAR_HEADER_VALID_ONLY;
2652 &NextVariable->State
2668 (UINT8 *) NextVariable + GetVariableHeaderSize ()
2677 NextVariable->State = VAR_ADDED;
2685 &NextVariable->State
2705 CopyMem ((UINT8 *)mNvVariableCache + CacheOffset, (UINT8 *)NextVariable, VarSize);
2722 NextVariable,
2738 NextVariable->State = VAR_ADDED;
2746 (UINT8 *) NextVariable
3133 VARIABLE_HEADER *NextVariable;
3269 NextVariable = GetStartPointer ((VARIABLE_STORE_HEADER *) (UINTN) Point);
3270 while (IsValidVariableHeader (NextVariable, GetEndPointer ((VARIABLE_STORE_HEADER *) (UINTN) Point))) {
3271 NextVariable = GetNextVariablePtr (NextVariable);
3273 mVariableModuleGlobal->NonVolatileLastVariableOffset = (UINTN) NextVariable - (UINTN) Point;
3362 VARIABLE_HEADER *NextVariable;
3425 NextVariable = GetNextVariablePtr (Variable);
3426 VariableSize = (UINT64) (UINTN) NextVariable - (UINT64) (UINTN) Variable;
3478 Variable = NextVariable;
3675 VARIABLE_HEADER *NextVariable;
3817 NextVariable = GetNextVariablePtr (Variable);
3818 VariableSize = (UINTN) NextVariable - (UINTN) Variable;
3825 Variable = NextVariable;