Home
last modified time | relevance | path

Searched refs:HandleBuffer (Results 1 – 25 of 113) sorted by relevance

12345

/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/
DUpdateDispatcher.c50 EFI_HANDLE *HandleBuffer; in PerformUpdateOnFirmwareVolume() local
57 HandleBuffer = NULL; in PerformUpdateOnFirmwareVolume()
63 &HandleBuffer in PerformUpdateOnFirmwareVolume()
65 if ((EFI_ERROR (Status)) || (NumOfHandles == 0) || (HandleBuffer == NULL)) { in PerformUpdateOnFirmwareVolume()
66 if (HandleBuffer != NULL) { in PerformUpdateOnFirmwareVolume()
67 FreePool (HandleBuffer); in PerformUpdateOnFirmwareVolume()
79 HandleBuffer[Index], in PerformUpdateOnFirmwareVolume()
109 if (HandleBuffer != NULL) { in PerformUpdateOnFirmwareVolume()
110 FreePool (HandleBuffer); in PerformUpdateOnFirmwareVolume()
111 HandleBuffer = NULL; in PerformUpdateOnFirmwareVolume()
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/
DBdsAppLoader.c45 EFI_HANDLE *HandleBuffer; in LocateEfiApplicationInFvByName() local
61 &HandleBuffer in LocateEfiApplicationInFvByName()
76 HandleBuffer[Index], in LocateEfiApplicationInFvByName()
110 …Status = gBS->HandleProtocol (HandleBuffer[Index], &gEfiDevicePathProtocolGuid, (VOID **)&FvDevice… in LocateEfiApplicationInFvByName()
119 FreePool (HandleBuffer); in LocateEfiApplicationInFvByName()
131 FreePool (HandleBuffer); in LocateEfiApplicationInFvByName()
154 EFI_HANDLE *HandleBuffer; in LocateEfiApplicationInFvByGuid() local
173 &HandleBuffer in LocateEfiApplicationInFvByGuid()
188 HandleBuffer[Index], in LocateEfiApplicationInFvByGuid()
225 *DevicePath = FileDevicePath (HandleBuffer[Index], UiSection); in LocateEfiApplicationInFvByGuid()
[all …]
DBdsHelper.c87 EFI_HANDLE *HandleBuffer; in BdsConnectAllDrivers() local
97 &HandleBuffer in BdsConnectAllDrivers()
105 gBS->ConnectController (HandleBuffer[Index], NULL, NULL, TRUE); in BdsConnectAllDrivers()
108 if (HandleBuffer != NULL) { in BdsConnectAllDrivers()
109 FreePool (HandleBuffer); in BdsConnectAllDrivers()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/
DLegacyBbs.c56 EFI_HANDLE *HandleBuffer; in HasMediaInFloppy() local
61 HandleBuffer = NULL; in HasMediaInFloppy()
69 &HandleBuffer in HasMediaInFloppy()
80 ASSERT (HandleBuffer != NULL); in HasMediaInFloppy()
84 HandleBuffer[Index], in HasMediaInFloppy()
98 Status = gBS->DisconnectController (HandleBuffer[Index], NULL, NULL); in HasMediaInFloppy()
104 Status = gBS->ConnectController (HandleBuffer[Index], NULL, NULL, TRUE); in HasMediaInFloppy()
111 HandleBuffer[Index], in HasMediaInFloppy()
120 FreePool (HandleBuffer); in HasMediaInFloppy()
123 FreePool (HandleBuffer); in HasMediaInFloppy()
[all …]
DLegacySio.c39 EFI_HANDLE *HandleBuffer; in LegacyBiosBuildSioDataFromSio() local
66 &HandleBuffer in LegacyBiosBuildSioDataFromSio()
75 Status = gBS->HandleProtocol (HandleBuffer[Index], &gEfiSioProtocolGuid, (VOID **) &Sio); in LegacyBiosBuildSioDataFromSio()
129 DevicePath = DevicePathFromHandle (HandleBuffer[Index]); in LegacyBiosBuildSioDataFromSio()
158 HandleBuffer[Index], in LegacyBiosBuildSioDataFromSio()
202 … Status = gBS->HandleProtocol (HandleBuffer[Index], &gEfiBlockIoProtocolGuid, (VOID **) &BlockIo); in LegacyBiosBuildSioDataFromSio()
233 FreePool (HandleBuffer); in LegacyBiosBuildSioDataFromSio()
257 EFI_HANDLE *HandleBuffer; in LegacyBiosBuildSioDataFromIsaIo() local
279 &HandleBuffer in LegacyBiosBuildSioDataFromIsaIo()
289 Status = gBS->HandleProtocol (HandleBuffer[Index], &gEfiIsaIoProtocolGuid, (VOID **) &IsaIo); in LegacyBiosBuildSioDataFromIsaIo()
[all …]
DLegacyIde.c41 EFI_HANDLE *HandleBuffer; in LegacyBiosBuildIdeData() local
74 &HandleBuffer, in LegacyBiosBuildIdeData()
79 IdeController = HandleBuffer[0]; in LegacyBiosBuildIdeData()
101 &HandleBuffer, in LegacyBiosBuildIdeData()
117 &HandleBuffer in LegacyBiosBuildIdeData()
123 HandleBuffer[Index], in LegacyBiosBuildIdeData()
134 HandleBuffer[Index], in LegacyBiosBuildIdeData()
249 if (HandleBuffer != NULL) { in LegacyBiosBuildIdeData()
250 FreePool (HandleBuffer); in LegacyBiosBuildIdeData()
DLegacyPci.c460 EFI_HANDLE *HandleBuffer; in CreateBridgeTable() local
480 &HandleBuffer in CreateBridgeTable()
487 HandleBuffer[Index], in CreateBridgeTable()
591 FreePool (HandleBuffer); in CreateBridgeTable()
1080 EFI_HANDLE *HandleBuffer; in PciProgramAllInterruptLineRegisters() local
1141 &HandleBuffer in PciProgramAllInterruptLineRegisters()
1147 FreePool (HandleBuffer); in PciProgramAllInterruptLineRegisters()
1160 if ((mVgaInstallationInProgress) && (HandleBuffer[Index] != mVgaHandle)) { in PciProgramAllInterruptLineRegisters()
1172 HandleBuffer[Index], in PciProgramAllInterruptLineRegisters()
1281 HandleBuffer[Index], in PciProgramAllInterruptLineRegisters()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/
DHandle.c66 EFI_HANDLE *HandleBuffer; in EfiLibLocateHandleProtocolByProtocols() local
84 &HandleBuffer in EfiLibLocateHandleProtocolByProtocols()
99 if (*Handle == HandleBuffer[Idx++]) { in EfiLibLocateHandleProtocolByProtocols()
136 *Handle = HandleBuffer[Idx]; in EfiLibLocateHandleProtocolByProtocols()
144 HandleBuffer[Idx], in EfiLibLocateHandleProtocolByProtocols()
156 HandleBuffer[Idx], in EfiLibLocateHandleProtocolByProtocols()
178 gBS->FreePool (HandleBuffer); in EfiLibLocateHandleProtocolByProtocols()
DGetImage.c121 EFI_HANDLE *HandleBuffer; in GetImageEx() local
175 &HandleBuffer in GetImageEx()
186 HandleBuffer[Index], in GetImageEx()
196 gBS->FreePool(HandleBuffer); in GetImageEx()
210 gBS->FreePool(HandleBuffer); in GetImageEx()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmConnect.c31 EFI_HANDLE *HandleBuffer; in BmConnectAllDriversToAllControllers() local
43 &HandleBuffer in BmConnectAllDriversToAllControllers()
47 gBS->ConnectController (HandleBuffer[Index], NULL, NULL, TRUE); in BmConnectAllDriversToAllControllers()
50 if (HandleBuffer != NULL) { in BmConnectAllDriversToAllControllers()
51 FreePool (HandleBuffer); in BmConnectAllDriversToAllControllers()
213 EFI_HANDLE *HandleBuffer; in EfiBootManagerDisconnectAll() local
224 &HandleBuffer in EfiBootManagerDisconnectAll()
227 gBS->DisconnectController (HandleBuffer[Index], NULL, NULL); in EfiBootManagerDisconnectAll()
230 if (HandleBuffer != NULL) { in EfiBootManagerDisconnectAll()
231 FreePool (HandleBuffer); in EfiBootManagerDisconnectAll()
DBmConsole.c41 EFI_HANDLE *HandleBuffer; in BmGetVideoController() local
74 &HandleBuffer in BmGetVideoController()
81 Status = gBS->HandleProtocol (HandleBuffer[Index], &gEfiPciIoProtocolGuid, (VOID **) &PciIo); in BmGetVideoController()
95 VideoController = HandleBuffer[Index]; in BmGetVideoController()
100 FreePool (HandleBuffer); in BmGetVideoController()
641 EFI_HANDLE *HandleBuffer; in EfiBootManagerConnectAllConsoles() local
645 HandleBuffer = NULL; in EfiBootManagerConnectAllConsoles()
656 &HandleBuffer in EfiBootManagerConnectAllConsoles()
661 HandleBuffer[Index], in EfiBootManagerConnectAllConsoles()
668 if (HandleBuffer != NULL) { in EfiBootManagerConnectAllConsoles()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/
DBdsConnect.c224 EFI_HANDLE *HandleBuffer; in BdsLibConnectAllEfi() local
232 &HandleBuffer in BdsLibConnectAllEfi()
239 Status = gBS->ConnectController (HandleBuffer[Index], NULL, NULL, TRUE); in BdsLibConnectAllEfi()
242 if (HandleBuffer != NULL) { in BdsLibConnectAllEfi()
243 FreePool (HandleBuffer); in BdsLibConnectAllEfi()
268 EFI_HANDLE *HandleBuffer; in BdsLibDisconnectAllEfi() local
279 &HandleBuffer in BdsLibDisconnectAllEfi()
286 Status = gBS->DisconnectController (HandleBuffer[Index], NULL, NULL); in BdsLibDisconnectAllEfi()
289 if (HandleBuffer != NULL) { in BdsLibDisconnectAllEfi()
290 FreePool (HandleBuffer); in BdsLibDisconnectAllEfi()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/
DBdsConnect.c224 EFI_HANDLE *HandleBuffer; in BdsLibConnectAllEfi() local
232 &HandleBuffer in BdsLibConnectAllEfi()
239 Status = gBS->ConnectController (HandleBuffer[Index], NULL, NULL, TRUE); in BdsLibConnectAllEfi()
242 if (HandleBuffer != NULL) { in BdsLibConnectAllEfi()
243 FreePool (HandleBuffer); in BdsLibConnectAllEfi()
268 EFI_HANDLE *HandleBuffer; in BdsLibDisconnectAllEfi() local
279 &HandleBuffer in BdsLibDisconnectAllEfi()
286 Status = gBS->DisconnectController (HandleBuffer[Index], NULL, NULL); in BdsLibDisconnectAllEfi()
289 if (HandleBuffer != NULL) { in BdsLibDisconnectAllEfi()
290 FreePool (HandleBuffer); in BdsLibDisconnectAllEfi()
/device/linaro/bootloader/edk2/NetworkPkg/HttpUtilitiesDxe/
DHttpUtilitiesDxe.c36 EFI_HANDLE *HandleBuffer; in HttpUtilitiesDxeUnload() local
41 HandleBuffer = NULL; in HttpUtilitiesDxeUnload()
51 &HandleBuffer in HttpUtilitiesDxeUnload()
62 HandleBuffer[Index], in HttpUtilitiesDxeUnload()
77 HandleBuffer[Index], in HttpUtilitiesDxeUnload()
/device/linaro/bootloader/edk2/MdePkg/Library/DxeServicesLib/
DDxeServicesLib.c237 EFI_HANDLE *HandleBuffer; in GetSectionFromAnyFvByFileType() local
249 HandleBuffer = NULL; in GetSectionFromAnyFvByFileType()
255 &HandleBuffer in GetSectionFromAnyFvByFileType()
266 HandleBuffer[IndexFv], in GetSectionFromAnyFvByFileType()
293 HandleBuffer[IndexFv], in GetSectionFromAnyFvByFileType()
315 if (HandleBuffer != NULL) { in GetSectionFromAnyFvByFileType()
316 FreePool(HandleBuffer); in GetSectionFromAnyFvByFileType()
376 EFI_HANDLE *HandleBuffer; in GetSectionFromAnyFv() local
400 HandleBuffer = NULL; in GetSectionFromAnyFv()
406 &HandleBuffer in GetSectionFromAnyFv()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/FdtDxe/
DFdtDxe.c110 EFI_HANDLE *HandleBuffer; in FdtReadyToBoot() local
137 HandleBuffer = NULL; in FdtReadyToBoot()
143 &HandleBuffer in FdtReadyToBoot()
149 HandleBuffer[Index], in FdtReadyToBoot()
212 EFI_HANDLE *HandleBuffer; in FdtOverrideDevicePath() local
222 HandleBuffer = NULL; in FdtOverrideDevicePath()
228 &HandleBuffer); in FdtOverrideDevicePath()
235 HandleBuffer[Index], in FdtOverrideDevicePath()
242 HandleBuffer[Index], in FdtOverrideDevicePath()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
DMap.c519 EFI_HANDLE *HandleBuffer; in PerformMappingDisplay() local
560 HandleBuffer = NULL; in PerformMappingDisplay()
570 HandleBuffer); in PerformMappingDisplay()
572 HandleBuffer = AllocateZeroPool(BufferSize); in PerformMappingDisplay()
573 if (HandleBuffer == NULL) { in PerformMappingDisplay()
581 HandleBuffer); in PerformMappingDisplay()
588 ; LoopVar < (BufferSize / sizeof(EFI_HANDLE)) && HandleBuffer != NULL in PerformMappingDisplay()
598 HandleBuffer[LoopVar]); in PerformMappingDisplay()
612 HandleBuffer); in PerformMappingDisplay()
614 SHELL_FREE_NON_NULL(HandleBuffer); in PerformMappingDisplay()
[all …]
/device/linaro/bootloader/edk2/EmulatorPkg/ResetRuntimeDxe/
DReset.c40 EFI_HANDLE *HandleBuffer; in EmuResetSystem() local
51 &HandleBuffer in EmuResetSystem()
55 Status = gBS->DisconnectController (HandleBuffer[Index], NULL, NULL); in EmuResetSystem()
58 gBS->FreePool (HandleBuffer); in EmuResetSystem()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/
DDrvCfg.c39 EFI_HII_HANDLE *HandleBuffer; in FindHiiHandleViaDevPath() local
55 HandleBuffer = NULL; in FindHiiHandleViaDevPath()
56 …HiiDb->ListPackageLists(HiiDb, EFI_HII_PACKAGE_DEVICE_PATH, NULL, &HandleBufferSize, HandleBuffer); in FindHiiHandleViaDevPath()
58 HandleBuffer = AllocateZeroPool(HandleBufferSize); in FindHiiHandleViaDevPath()
59 if (HandleBuffer == NULL) { in FindHiiHandleViaDevPath()
62 …iiDb->ListPackageLists (HiiDb, EFI_HII_PACKAGE_DEVICE_PATH, NULL, &HandleBufferSize, HandleBuffer); in FindHiiHandleViaDevPath()
66 SHELL_FREE_NON_NULL(HandleBuffer); in FindHiiHandleViaDevPath()
70 if (HandleBuffer == NULL) { in FindHiiHandleViaDevPath()
74 …for (LoopVariable = 0 ; LoopVariable < (HandleBufferSize/sizeof(HandleBuffer[0])) && *HiiHandle ==… in FindHiiHandleViaDevPath()
77 …Status = HiiDb->ExportPackageLists(HiiDb, HandleBuffer[LoopVariable], &MainBufferSize, MainBuffer); in FindHiiHandleViaDevPath()
[all …]
DDevices.c58 EFI_HANDLE *HandleBuffer; in GetDeviceHandleInfo() local
79 HandleBuffer = NULL; in GetDeviceHandleInfo()
97 Status = PARSE_HANDLE_DATABASE_UEFI_DRIVERS(TheHandle, Devices, &HandleBuffer); in GetDeviceHandleInfo()
98 if (!EFI_ERROR(Status) && Devices != NULL && HandleBuffer != NULL) { in GetDeviceHandleInfo()
100 …if (!EFI_ERROR(gBS->OpenProtocol(HandleBuffer[Count], &gEfiDriverConfigurationProtocolGuid, NULL, … in GetDeviceHandleInfo()
103 …if (!EFI_ERROR(gBS->OpenProtocol(HandleBuffer[Count], &gEfiDriverDiagnosticsProtocolGuid, NULL, NU… in GetDeviceHandleInfo()
106 …if (!EFI_ERROR(gBS->OpenProtocol(HandleBuffer[Count], &gEfiDriverDiagnostics2ProtocolGuid, NULL, N… in GetDeviceHandleInfo()
110 SHELL_FREE_NON_NULL(HandleBuffer); in GetDeviceHandleInfo()
/device/linaro/bootloader/OpenPlatformPkg/Applications/EepromCmd/
DEepromCmd.c126 EFI_HANDLE *HandleBuffer; in EepromList() local
135 &HandleBuffer in EepromList()
145 HandleBuffer[i], in EepromList()
153 Status = gBS->CloseProtocol ( HandleBuffer[i], in EepromList()
170 EFI_HANDLE *HandleBuffer; in EepromLocateProtocol() local
179 &HandleBuffer in EepromLocateProtocol()
186 HandleBuffer[i], in EepromLocateProtocol()
194 *FoundHandle = HandleBuffer[i]; in EepromLocateProtocol()
197 Status = gBS->CloseProtocol ( HandleBuffer[i], in EepromLocateProtocol()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/MemoryOverwriteControl/
DTcgMor.c255 EFI_HANDLE *HandleBuffer; in TPerResetAtEndOfDxe() local
262 HandleBuffer = NULL; in TPerResetAtEndOfDxe()
269 &HandleBuffer in TPerResetAtEndOfDxe()
272 if (EFI_ERROR (Status) || (HandleCount == 0) || (HandleBuffer == NULL)) { in TPerResetAtEndOfDxe()
281 HandleBuffer[Index], in TPerResetAtEndOfDxe()
291 HandleBuffer[Index], in TPerResetAtEndOfDxe()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/AcpiLib/
DAcpiLib.c46 EFI_HANDLE *HandleBuffer; in LocateAndInstallAcpiFromFvConditional() local
77 &HandleBuffer in LocateAndInstallAcpiFromFvConditional()
90 HandleBuffer[Index], in LocateAndInstallAcpiFromFvConditional()
157 gBS->FreePool (HandleBuffer); in LocateAndInstallAcpiFromFvConditional()
/device/linaro/bootloader/edk2/NetworkPkg/Application/VConfig/
DVConfig.c76 OUT EFI_HANDLE **HandleBuffer in LocateNicHandleBuffer() argument
82 *HandleBuffer = NULL; in LocateNicHandleBuffer()
89 HandleBuffer in LocateNicHandleBuffer()
143 EFI_HANDLE *HandleBuffer; in NicNameToHandle() local
150 LocateNicHandleBuffer (&NumberOfHandles, &HandleBuffer); in NicNameToHandle()
160 Handle = HandleBuffer[Index]; in NicNameToHandle()
163 FreePool (HandleBuffer); in NicNameToHandle()
294 EFI_HANDLE *HandleBuffer; in DisplayVlan() local
314 LocateNicHandleBuffer (&NumberOfHandles, &HandleBuffer); in DisplayVlan()
320 ShowNicVlanInfo (HandleBuffer[Index], Index); in DisplayVlan()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/
DGetImage.c121 EFI_HANDLE *HandleBuffer; in GetImageEx() local
175 &HandleBuffer in GetImageEx()
186 HandleBuffer[Index], in GetImageEx()
196 gBS->FreePool(HandleBuffer); in GetImageEx()
210 gBS->FreePool(HandleBuffer); in GetImageEx()

12345