/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/ |
D | UefiDevicePathLib.c | 89 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in GlueDuplicateDevicePath() local 103 NewDevicePath = AllocateCopyPool (Size, DevicePath); in GlueDuplicateDevicePath() 105 return NewDevicePath; in GlueDuplicateDevicePath() 137 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in GlueAppendDevicePath() local 159 NewDevicePath = AllocatePool (Size); in GlueAppendDevicePath() 161 if (NewDevicePath != NULL) { in GlueAppendDevicePath() 162 NewDevicePath = CopyMem (NewDevicePath, FirstDevicePath, Size1); in GlueAppendDevicePath() 166 DevicePath2 = (EFI_DEVICE_PATH_PROTOCOL *) ((CHAR8 *) NewDevicePath + in GlueAppendDevicePath() 171 return NewDevicePath; in GlueAppendDevicePath() 201 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in GlueAppendDevicePathNode() local [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ |
D | DevicePath.c | 233 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in EfiDuplicateDevicePath() local 251 NewDevicePath = EfiLibAllocateCopyPool (Size, DevicePath); in EfiDuplicateDevicePath() 253 return NewDevicePath; in EfiDuplicateDevicePath() 282 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in EfiAppendDevicePath() local 306 NewDevicePath = EfiLibAllocateCopyPool (Size, Src1); in EfiAppendDevicePath() 308 if (NewDevicePath != NULL) { in EfiAppendDevicePath() 313 …SecondDevicePath = (EFI_DEVICE_PATH_PROTOCOL *) ((CHAR8 *) NewDevicePath + (Size1 - sizeof (EFI_DE… in EfiAppendDevicePath() 317 return NewDevicePath; in EfiAppendDevicePath() 345 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in EfiAppendDevicePathNode() local 367 NewDevicePath = EfiAppendDevicePath (Src1, Temp); in EfiAppendDevicePathNode() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/ |
D | DevicePathUtilities.c | 457 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in UefiDevicePathLibAppendDevicePath() local 483 NewDevicePath = AllocatePool (Size); in UefiDevicePathLibAppendDevicePath() 485 if (NewDevicePath != NULL) { in UefiDevicePathLibAppendDevicePath() 486 NewDevicePath = CopyMem (NewDevicePath, FirstDevicePath, Size1); in UefiDevicePathLibAppendDevicePath() 490 DevicePath2 = (EFI_DEVICE_PATH_PROTOCOL *) ((CHAR8 *) NewDevicePath + in UefiDevicePathLibAppendDevicePath() 495 return NewDevicePath; in UefiDevicePathLibAppendDevicePath() 535 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in UefiDevicePathLibAppendDevicePathNode() local 559 NewDevicePath = AppendDevicePath (DevicePath, TempDevicePath); in UefiDevicePathLibAppendDevicePathNode() 563 return NewDevicePath; in UefiDevicePathLibAppendDevicePathNode() 596 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in UefiDevicePathLibAppendDevicePathInstance() local [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/ |
D | RtDevicePath.c | 330 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in RtEfiDuplicateDevicePath() local 348 NewDevicePath = InternalAllocateCopyPool (Size, DevicePath); in RtEfiDuplicateDevicePath() 350 return NewDevicePath; in RtEfiDuplicateDevicePath() 379 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in RtEfiAppendDevicePath() local 403 NewDevicePath = InternalAllocateCopyPool (Size, Src1); in RtEfiAppendDevicePath() 405 if (NewDevicePath != NULL) { in RtEfiAppendDevicePath() 410 …SecondDevicePath = (EFI_DEVICE_PATH_PROTOCOL *) ((CHAR8 *) NewDevicePath + (Size1 - sizeof (EFI_DE… in RtEfiAppendDevicePath() 414 return NewDevicePath; in RtEfiAppendDevicePath() 442 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in RtEfiAppendDevicePathNode() local 464 NewDevicePath = RtEfiAppendDevicePath (Src1, Temp); in RtEfiAppendDevicePathNode() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/ |
D | DriverEntryPoint.c | 90 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in SmmAppendDevicePath() local 103 Status = gBS->AllocatePool (EfiBootServicesData, Size, (VOID **) &NewDevicePath); in SmmAppendDevicePath() 110 gBS->CopyMem ((VOID *) NewDevicePath, (VOID *) FirstDevicePath, Size1); in SmmAppendDevicePath() 114 …DevicePath2 = (EFI_DEVICE_PATH_PROTOCOL *) ((CHAR8 *) NewDevicePath + (Size1 - sizeof (EFI_DEVICE_… in SmmAppendDevicePath() 118 return NewDevicePath; in SmmAppendDevicePath()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/ |
D | BmConsole.c | 430 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in EfiBootManagerUpdateConsoleVariable() local 451 NewDevicePath = VarConsole; in EfiBootManagerUpdateConsoleVariable() 458 NewDevicePath = BmDelPartMatchInstance (VarConsole, ExclusiveDevicePath); in EfiBootManagerUpdateConsoleVariable() 464 if (!BmMatchDevicePaths (NewDevicePath, CustomizedConDevicePath)) { in EfiBootManagerUpdateConsoleVariable() 468 NewDevicePath = BmDelPartMatchInstance (NewDevicePath, CustomizedConDevicePath); in EfiBootManagerUpdateConsoleVariable() 473 TempNewDevicePath = NewDevicePath; in EfiBootManagerUpdateConsoleVariable() 474 NewDevicePath = AppendDevicePathInstance (NewDevicePath, CustomizedConDevicePath); in EfiBootManagerUpdateConsoleVariable() 489 GetDevicePathSize (NewDevicePath), in EfiBootManagerUpdateConsoleVariable() 490 NewDevicePath in EfiBootManagerUpdateConsoleVariable() 493 if (VarConsole == NewDevicePath) { in EfiBootManagerUpdateConsoleVariable() [all …]
|
D | BmMisc.c | 38 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in BmDelPartMatchInstance() local 43 NewDevicePath = NULL; in BmDelPartMatchInstance() 60 TempNewDevicePath = NewDevicePath; in BmDelPartMatchInstance() 61 NewDevicePath = AppendDevicePathInstance (NewDevicePath, Instance); in BmDelPartMatchInstance() 71 return NewDevicePath; in BmDelPartMatchInstance()
|
D | BmBoot.c | 159 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in BmGetFileBufferByFvFilePath() local 192 …NewDevicePath = AppendDevicePathNode (DevicePathFromHandle (LoadedImage->DeviceHandle), FvFileNode… in BmGetFileBufferByFvFilePath() 193 FileBuffer = BmGetFileBufferByFvFilePath (NewDevicePath, FullPath, FileSize); in BmGetFileBufferByFvFilePath() 194 FreePool (NewDevicePath); in BmGetFileBufferByFvFilePath() 217 NewDevicePath = AppendDevicePathNode (DevicePathFromHandle (FvHandles[Index]), FvFileNode); in BmGetFileBufferByFvFilePath() 218 FileBuffer = BmGetFileBufferByFvFilePath (NewDevicePath, FullPath, FileSize); in BmGetFileBufferByFvFilePath() 219 FreePool (NewDevicePath); in BmGetFileBufferByFvFilePath()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
D | BdsConsole.c | 213 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in BdsLibUpdateConsoleVariable() local 239 NewDevicePath = VarConsole; in BdsLibUpdateConsoleVariable() 246 NewDevicePath = BdsLibDelPartMatchInstance (VarConsole, ExclusiveDevicePath); in BdsLibUpdateConsoleVariable() 252 if (!BdsLibMatchDevicePaths (NewDevicePath, CustomizedConDevicePath)) { in BdsLibUpdateConsoleVariable() 256 NewDevicePath = BdsLibDelPartMatchInstance (NewDevicePath, CustomizedConDevicePath); in BdsLibUpdateConsoleVariable() 261 TempNewDevicePath = NewDevicePath; in BdsLibUpdateConsoleVariable() 262 NewDevicePath = AppendDevicePathInstance (NewDevicePath, CustomizedConDevicePath); in BdsLibUpdateConsoleVariable() 287 DevicePathSize = GetDevicePathSize (NewDevicePath); in BdsLibUpdateConsoleVariable() 293 NewDevicePath in BdsLibUpdateConsoleVariable() 299 if (VarConsole == NewDevicePath) { in BdsLibUpdateConsoleVariable() [all …]
|
D | BdsMisc.c | 877 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in BdsLibDelPartMatchInstance() local 883 NewDevicePath = NULL; in BdsLibDelPartMatchInstance() 902 TempNewDevicePath = NewDevicePath; in BdsLibDelPartMatchInstance() 903 NewDevicePath = AppendDevicePathInstance (NewDevicePath, Instance); in BdsLibDelPartMatchInstance() 913 return NewDevicePath; in BdsLibDelPartMatchInstance()
|
D | BdsBoot.c | 4198 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in BdsLibUpdateFvFileDevicePath() local 4348 NewDevicePath = DevicePathFromHandle (FoundFvHandle); in BdsLibUpdateFvFileDevicePath() 4350 NewDevicePath = AppendDevicePathNode (NewDevicePath, (EFI_DEVICE_PATH_PROTOCOL *) &FvFileNode); in BdsLibUpdateFvFileDevicePath() 4351 ASSERT (NewDevicePath != NULL); in BdsLibUpdateFvFileDevicePath() 4352 *DevicePath = NewDevicePath; in BdsLibUpdateFvFileDevicePath()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
D | BdsConsole.c | 213 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in BdsLibUpdateConsoleVariable() local 239 NewDevicePath = VarConsole; in BdsLibUpdateConsoleVariable() 246 NewDevicePath = BdsLibDelPartMatchInstance (VarConsole, ExclusiveDevicePath); in BdsLibUpdateConsoleVariable() 252 if (!BdsLibMatchDevicePaths (NewDevicePath, CustomizedConDevicePath)) { in BdsLibUpdateConsoleVariable() 256 NewDevicePath = BdsLibDelPartMatchInstance (NewDevicePath, CustomizedConDevicePath); in BdsLibUpdateConsoleVariable() 261 TempNewDevicePath = NewDevicePath; in BdsLibUpdateConsoleVariable() 262 NewDevicePath = AppendDevicePathInstance (NewDevicePath, CustomizedConDevicePath); in BdsLibUpdateConsoleVariable() 287 DevicePathSize = GetDevicePathSize (NewDevicePath); in BdsLibUpdateConsoleVariable() 293 NewDevicePath in BdsLibUpdateConsoleVariable() 299 if (VarConsole == NewDevicePath) { in BdsLibUpdateConsoleVariable() [all …]
|
D | BdsMisc.c | 877 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in BdsLibDelPartMatchInstance() local 883 NewDevicePath = NULL; in BdsLibDelPartMatchInstance() 902 TempNewDevicePath = NewDevicePath; in BdsLibDelPartMatchInstance() 903 NewDevicePath = AppendDevicePathInstance (NewDevicePath, Instance); in BdsLibDelPartMatchInstance() 913 return NewDevicePath; in BdsLibDelPartMatchInstance()
|
D | BdsBoot.c | 4315 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in BdsLibUpdateFvFileDevicePath() local 4465 NewDevicePath = DevicePathFromHandle (FoundFvHandle); in BdsLibUpdateFvFileDevicePath() 4467 NewDevicePath = AppendDevicePathNode (NewDevicePath, (EFI_DEVICE_PATH_PROTOCOL *) &FvFileNode); in BdsLibUpdateFvFileDevicePath() 4468 ASSERT (NewDevicePath != NULL); in BdsLibUpdateFvFileDevicePath() 4469 *DevicePath = NewDevicePath; in BdsLibUpdateFvFileDevicePath()
|
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/ |
D | HttpBootConfig.c | 42 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in HttpBootAddBootOption() local 49 NewDevicePath = NULL; in HttpBootAddBootOption() 119 NewDevicePath = AppendDevicePathNode (TmpDevicePath, (EFI_DEVICE_PATH_PROTOCOL*) Node); in HttpBootAddBootOption() 122 if (NewDevicePath == NULL) { in HttpBootAddBootOption() 136 NewDevicePath, in HttpBootAddBootOption() 149 if (NewDevicePath != NULL) { in HttpBootAddBootOption() 150 FreePool (NewDevicePath); in HttpBootAddBootOption()
|
D | HttpBootClient.c | 35 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in HttpBootUpdateDevicePath() local 95 NewDevicePath = AppendDevicePathNode (TmpDevicePath, (EFI_DEVICE_PATH_PROTOCOL*) Node); in HttpBootUpdateDevicePath() 98 if (NewDevicePath == NULL) { in HttpBootUpdateDevicePath() 110 NewDevicePath in HttpBootUpdateDevicePath() 117 Private->Ip4Nic->DevicePath = NewDevicePath; in HttpBootUpdateDevicePath() 126 NewDevicePath in HttpBootUpdateDevicePath() 132 Private->Ip6Nic->DevicePath = NewDevicePath; in HttpBootUpdateDevicePath()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/EntryPoints/ |
D | EdkIIGlueSmmDriverEntryPoint.c | 216 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in SmmAppendDevicePath() local 229 Status = (mBS->AllocatePool) (EfiBootServicesData, Size, (VOID **) &NewDevicePath); in SmmAppendDevicePath() 232 (mBS->CopyMem) ((VOID *) NewDevicePath, (VOID *) FirstDevicePath, Size1); in SmmAppendDevicePath() 236 …DevicePath2 = (EFI_DEVICE_PATH_PROTOCOL *) ((CHAR8 *) NewDevicePath + (Size1 - sizeof (EFI_DEVICE_… in SmmAppendDevicePath() 240 return NewDevicePath; in SmmAppendDevicePath()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdDxe/ |
D | SdDxe.c | 288 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in DiscoverSdDevice() local 295 NewDevicePath = NULL; in DiscoverSdDevice() 316 NewDevicePath = AppendDevicePathNode ( in DiscoverSdDevice() 321 if (NewDevicePath == NULL) { in DiscoverSdDevice() 327 RemainingDevicePath = NewDevicePath; in DiscoverSdDevice() 346 Device->DevicePath = NewDevicePath; in DiscoverSdDevice() 402 if (EFI_ERROR (Status) && (NewDevicePath != NULL)) { in DiscoverSdDevice() 403 FreePool (NewDevicePath); in DiscoverSdDevice()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/ |
D | BdsFilePath.c | 104 OUT EFI_DEVICE_PATH** NewDevicePath in BdsGetDeviceUsb() argument 142 … *NewDevicePath = AppendDevicePath (UsbIoDevicePath, NextDevicePathNode (RemovableDevicePath)); in BdsGetDeviceUsb() 156 … *NewDevicePath = AppendDevicePath (UsbIoDevicePath, NextDevicePathNode (RemovableDevicePath)); in BdsGetDeviceUsb() 182 OUT EFI_DEVICE_PATH** NewDevicePath in BdsGetDeviceHd() argument 217 … *NewDevicePath = AppendDevicePath (PartitionDevicePath, NextDevicePathNode (RemovableDevicePath)); in BdsGetDeviceHd() 299 OUT EFI_DEVICE_PATH** NewDevicePath in TryRemovableDevice() argument 331 Status = RemovableDevice->GetDevice (RemovableDevicePath, DeviceHandle, NewDevicePath); in TryRemovableDevice() 337 Status = RemovableDevice->GetDevice (RemovableDevicePath, DeviceHandle, NewDevicePath); in TryRemovableDevice() 352 EFI_DEVICE_PATH* NewDevicePath; in BdsConnectAndUpdateDevicePath() local 416 Status = TryRemovableDevice (*DevicePath, Handle, &NewDevicePath); in BdsConnectAndUpdateDevicePath() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcDxe/ |
D | EmmcDxe.c | 538 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in DiscoverEmmcDevice() local 547 NewDevicePath = NULL; in DiscoverEmmcDevice() 569 NewDevicePath = AppendDevicePathNode ( in DiscoverEmmcDevice() 573 if (NewDevicePath == NULL) { in DiscoverEmmcDevice() 579 RemainingEmmcDevPath = NewDevicePath; in DiscoverEmmcDevice() 585 Device->DevicePath = NewDevicePath; in DiscoverEmmcDevice() 593 FreePool (NewDevicePath); in DiscoverEmmcDevice() 604 FreePool (NewDevicePath); in DiscoverEmmcDevice()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/ConPlatformDxe/ |
D | ConPlatform.h | 272 OUT EFI_DEVICE_PATH_PROTOCOL **NewDevicePath OPTIONAL,
|
D | ConPlatform.c | 849 OUT EFI_DEVICE_PATH_PROTOCOL **NewDevicePath OPTIONAL, in ConPlatformMatchDevicePaths() 870 if (NewDevicePath == NULL) { in ConPlatformMatchDevicePaths() 917 *NewDevicePath = TempDevicePath1; in ConPlatformMatchDevicePaths()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerUiLib/ |
D | ConsoleOption.c | 423 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in LocateSerialIo() local 573 NewDevicePath = AppendDevicePathNode ( in LocateSerialIo() 590 if (MatchDevicePaths (OutDevicePath, NewDevicePath)) { in LocateSerialIo() 595 if (MatchDevicePaths (InpDevicePath, NewDevicePath)) { in LocateSerialIo() 600 if (MatchDevicePaths (ErrDevicePath, NewDevicePath)) { in LocateSerialIo()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ |
D | ConsoleOption.c | 426 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in LocateSerialIo() local 579 NewDevicePath = AppendDevicePathNode ( in LocateSerialIo() 592 if (BdsLibMatchDevicePaths (OutDevicePath, NewDevicePath)) { in LocateSerialIo() 597 if (BdsLibMatchDevicePaths (InpDevicePath, NewDevicePath)) { in LocateSerialIo() 602 if (BdsLibMatchDevicePaths (ErrDevicePath, NewDevicePath)) { in LocateSerialIo()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PlatformDriOverrideDxe/ |
D | PlatDriOverrideLib.c | 192 EFI_DEVICE_PATH_PROTOCOL *NewDevicePath; in UpdateFvFileDevicePath() local 363 NewDevicePath = DevicePathFromHandle (FoundFvHandle); in UpdateFvFileDevicePath() 365 NewDevicePath = AppendDevicePathNode (NewDevicePath, (EFI_DEVICE_PATH_PROTOCOL *) &FvFileNode); in UpdateFvFileDevicePath() 366 *DevicePath = NewDevicePath; in UpdateFvFileDevicePath()
|