Home
last modified time | relevance | path

Searched refs:NewVariable (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/MnpDxe/
DMnpVlan.c373 VLAN_TCI *NewVariable; in VlanConfigSet() local
442 NewVariable = NULL; in VlanConfigSet()
450 NewVariable = AllocateZeroPool ((NumberOfVlan + 1) * sizeof (VLAN_TCI)); in VlanConfigSet()
451 if (NewVariable == NULL) { in VlanConfigSet()
457 CopyMem (NewVariable, OldVariable, NumberOfVlan * sizeof (VLAN_TCI)); in VlanConfigSet()
472 NewVariable = OldVariable; in VlanConfigSet()
476 NewVariable[Index].Bits.Vid = VlanId; in VlanConfigSet()
477 NewVariable[Index].Bits.Priority = Priority; in VlanConfigSet()
479 Status = MnpSetVlanVariable (MnpDeviceData, NumberOfVlan, NewVariable); in VlanConfigSet()
480 FreePool (NewVariable); in VlanConfigSet()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/TerminalDxe/
DTerminal.c1442 EFI_DEVICE_PATH_PROTOCOL *NewVariable; in TerminalUpdateConsoleDevVariable() local
1459 NewVariable = AppendDevicePathInstance (Variable, TempDevicePath); in TerminalUpdateConsoleDevVariable()
1460 ASSERT (NewVariable != NULL); in TerminalUpdateConsoleDevVariable()
1469 Variable = NewVariable; in TerminalUpdateConsoleDevVariable()
1536 EFI_DEVICE_PATH_PROTOCOL *NewVariable; in TerminalRemoveConsoleDevVariable() local
1552 NewVariable = NULL; in TerminalRemoveConsoleDevVariable()
1590 SavedNewVariable = NewVariable; in TerminalRemoveConsoleDevVariable()
1591 NewVariable = AppendDevicePathInstance (NewVariable, Instance); in TerminalRemoveConsoleDevVariable()
1606 VariableSize = GetDevicePathSize (NewVariable); in TerminalRemoveConsoleDevVariable()
1613 NewVariable in TerminalRemoveConsoleDevVariable()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariable.c967 IN VARIABLE_HEADER *NewVariable, in Reclaim() argument
1024 if (NewVariable != NULL) { in Reclaim()
1135 if (NewVariable != NULL) { in Reclaim()
1144 …if ((NewVariable->Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) == EFI_VARIABLE_HARDWARE_ERROR_… in Reclaim()
1146 …} else if ((NewVariable->Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) != EFI_VARIABLE_HARDWARE… in Reclaim()
1148 if (IsUserVariable (NewVariable)) { in Reclaim()
1163 CopyMem (CurrPtr, (UINT8 *) NewVariable, NewVariableSize); in Reclaim()