Lines Matching refs:NextVariable
260 VARIABLE_HEADER *NextVariable;
267 NextVariable = GetNextVariablePtr (Variable);
268 while (IsValidVariableHeader (NextVariable)) {
269 if ((NextVariable->State == VAR_ADDED) || (NextVariable->State == (VAR_ADDED & VAR_IN_DELETED_TRANSITION))) {
273 if (CompareGuid (VendorGuid, &NextVariable->VendorGuid)) {
274 if (CompareMem (VariableName, GET_VARIABLE_NAME_PTR (NextVariable), StrSize (VariableName)) == 0) {
279 NextVariable = GetNextVariablePtr (NextVariable);
309 VARIABLE_HEADER *NextVariable;
361 NextVariable = GetNextVariablePtr (Variable);
367 VariableSize = (UINTN) NextVariable - (UINTN) Variable;
382 VariableSize = (UINTN) NextVariable - (UINTN) Variable;
399 Variable = NextVariable;
1082 VARIABLE_HEADER *NextVariable;
1196 NextVariable = (VARIABLE_HEADER *) mGlobal->Scratch;
1198 NextVariable->StartId = VARIABLE_DATA;
1199 NextVariable->Attributes = Attributes;
1200 NextVariable->State = VAR_ADDED;
1201 NextVariable->Reserved = 0;
1205 (UINT8 *) ((UINTN) NextVariable + VarNameOffset),
1211 (UINT8 *) ((UINTN) NextVariable + VarDataOffset),
1215 CopyMem (&NextVariable->VendorGuid, VendorGuid, sizeof (EFI_GUID));
1217 // There will be pad bytes after Data, the NextVariable->NameSize and
1218 // NextVariable->DataSize should not include pad size so that variable
1221 NextVariable->NameSize = (UINT32)VarNameSize;
1222 NextVariable->DataSize = (UINT32)DataSize;
1266 NextVariable
1616 VARIABLE_HEADER *NextVariable;
1692 NextVariable = GetNextVariablePtr (Variable);
1693 VariableSize = (UINT64) (UINTN) NextVariable - (UINT64) (UINTN) Variable;
1724 Variable = NextVariable;
1766 VARIABLE_HEADER *NextVariable;
1874 NextVariable = GetNextVariablePtr (Variable);
1875 VariableSize = NextVariable - Variable;
1876 if ((NextVariable->Attributes & (EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_HARDWARE_ERROR_RECORD)) == (EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_HARDWARE_ERROR_RECORD)) {
1881 Variable = NextVariable;