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.c429 VLAN_TCI *NewVariable; in VlanConfigSet() local
498 NewVariable = NULL; in VlanConfigSet()
506 NewVariable = AllocateZeroPool ((NumberOfVlan + 1) * sizeof (VLAN_TCI)); in VlanConfigSet()
507 if (NewVariable == NULL) { in VlanConfigSet()
513 CopyMem (NewVariable, OldVariable, NumberOfVlan * sizeof (VLAN_TCI)); in VlanConfigSet()
528 NewVariable = OldVariable; in VlanConfigSet()
532 NewVariable[Index].Bits.Vid = VlanId; in VlanConfigSet()
533 NewVariable[Index].Bits.Priority = Priority; in VlanConfigSet()
535 Status = MnpSetVlanVariable (MnpDeviceData, NumberOfVlan, NewVariable); in VlanConfigSet()
536 FreePool (NewVariable); in VlanConfigSet()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/TerminalDxe/
DTerminal.c1461 EFI_DEVICE_PATH_PROTOCOL *NewVariable; in TerminalUpdateConsoleDevVariable() local
1478 NewVariable = AppendDevicePathInstance (Variable, TempDevicePath); in TerminalUpdateConsoleDevVariable()
1479 ASSERT (NewVariable != NULL); in TerminalUpdateConsoleDevVariable()
1488 Variable = NewVariable; in TerminalUpdateConsoleDevVariable()
1555 EFI_DEVICE_PATH_PROTOCOL *NewVariable; in TerminalRemoveConsoleDevVariable() local
1571 NewVariable = NULL; in TerminalRemoveConsoleDevVariable()
1609 SavedNewVariable = NewVariable; in TerminalRemoveConsoleDevVariable()
1610 NewVariable = AppendDevicePathInstance (NewVariable, Instance); in TerminalRemoveConsoleDevVariable()
1625 VariableSize = GetDevicePathSize (NewVariable); in TerminalRemoveConsoleDevVariable()
1632 NewVariable in TerminalRemoveConsoleDevVariable()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariable.c1004 IN VARIABLE_HEADER *NewVariable, in Reclaim() argument
1061 if (NewVariable != NULL) { in Reclaim()
1172 if (NewVariable != NULL) { in Reclaim()
1181 …if ((NewVariable->Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) == EFI_VARIABLE_HARDWARE_ERROR_… in Reclaim()
1183 …} else if ((NewVariable->Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) != EFI_VARIABLE_HARDWARE… in Reclaim()
1185 if (IsUserVariable (NewVariable)) { in Reclaim()
1200 CopyMem (CurrPtr, (UINT8 *) NewVariable, NewVariableSize); in Reclaim()