Home
last modified time | relevance | path

Searched refs:HandleList (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellCommandLib/
DUefiShellCommandLib.c1264 EFI_HANDLE *HandleList; in ShellCommandCreateInitialMappingsAndPaths() local
1272 HandleList = NULL; in ShellCommandCreateInitialMappingsAndPaths()
1301 HandleList = GetHandleListByProtocol(&gEfiSimpleFileSystemProtocolGuid); in ShellCommandCreateInitialMappingsAndPaths()
1302 if (HandleList != NULL) { in ShellCommandCreateInitialMappingsAndPaths()
1306 for (Count = 0 ; HandleList[Count] != NULL ; Count++); in ShellCommandCreateInitialMappingsAndPaths()
1313 SHELL_FREE_NON_NULL (HandleList); in ShellCommandCreateInitialMappingsAndPaths()
1317 for (Count = 0 ; HandleList[Count] != NULL ; Count++) { in ShellCommandCreateInitialMappingsAndPaths()
1318 DevicePathList[Count] = DevicePathFromHandle(HandleList[Count]); in ShellCommandCreateInitialMappingsAndPaths()
1330 for (Count = 0 ; HandleList[Count] != NULL ; Count++) { in ShellCommandCreateInitialMappingsAndPaths()
1353 SHELL_FREE_NON_NULL(HandleList); in ShellCommandCreateInitialMappingsAndPaths()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/
DDevices.c140 EFI_HANDLE *HandleList; in ShellCommandRunDevices() local
221 HandleList = GetHandleListByProtocol(NULL); in ShellCommandRunDevices()
222 ASSERT(HandleList != NULL); in ShellCommandRunDevices()
223 for (HandleListWalker = HandleList in ShellCommandRunDevices()
259 if (HandleList != NULL) { in ShellCommandRunDevices()
260 FreePool(HandleList); in ShellCommandRunDevices()
DDh.c727 IN CONST EFI_HANDLE *HandleList, in DoDhForHandleList() argument
739 …for (HandleWalker = HandleList ; HandleWalker != NULL && *HandleWalker != NULL && ShellStatus == S… in DoDhForHandleList()
775 EFI_HANDLE *HandleList; in DoDhForAll() local
778 HandleList = GetHandleListByProtocol(NULL); in DoDhForAll()
781 HandleList, in DoDhForAll()
787 FreePool(HandleList); in DoDhForAll()
815 EFI_HANDLE *HandleList; in DoDhByProtocol() local
828 HandleList = GetHandleListByProtocol(Guid); in DoDhByProtocol()
831 HandleList, in DoDhByProtocol()
837 SHELL_FREE_NON_NULL(HandleList); in DoDhByProtocol()
DDrivers.c182 EFI_HANDLE *HandleList; in ShellCommandRunDrivers() local
266 HandleList = GetHandleListByProtocol(&gEfiDriverBindingProtocolGuid); in ShellCommandRunDrivers()
267 … for (HandleWalker = HandleList ; HandleWalker != NULL && *HandleWalker != NULL ; HandleWalker++){ in ShellCommandRunDrivers()
DDrvCfg.c1065 EFI_HANDLE *HandleList; in PrintConfigInfoOnAll() local
1072 HandleList = NULL; in PrintConfigInfoOnAll()
1079 HandleList = GetHandleListByProtocol(&gEfiHiiConfigAccessProtocolGuid); in PrintConfigInfoOnAll()
1080 …for (CurrentHandle = HandleList ; CurrentHandle != NULL && *CurrentHandle != NULL; CurrentHandle++… in PrintConfigInfoOnAll()
1092 SHELL_FREE_NON_NULL(HandleList); in PrintConfigInfoOnAll()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiHandleParsingLib/
DUefiHandleParsingLib.c2968 EFI_HANDLE *HandleList; in GetHandleListByProtocol() local
2973 HandleList = NULL; in GetHandleListByProtocol()
2979 Status = gBS->LocateHandle(AllHandles, NULL, NULL, &Size, HandleList); in GetHandleListByProtocol()
2981 HandleList = AllocateZeroPool(Size + sizeof(EFI_HANDLE)); in GetHandleListByProtocol()
2982 if (HandleList == NULL) { in GetHandleListByProtocol()
2985 Status = gBS->LocateHandle(AllHandles, NULL, NULL, &Size, HandleList); in GetHandleListByProtocol()
2986 HandleList[Size/sizeof(EFI_HANDLE)] = NULL; in GetHandleListByProtocol()
2989 Status = gBS->LocateHandle(ByProtocol, (EFI_GUID*)ProtocolGuid, NULL, &Size, HandleList); in GetHandleListByProtocol()
2991 HandleList = AllocateZeroPool(Size + sizeof(EFI_HANDLE)); in GetHandleListByProtocol()
2992 if (HandleList == NULL) { in GetHandleListByProtocol()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShellProtocol.c663 EFI_HANDLE *HandleList; in EfiShellGetDeviceName() local
689 HandleList = NULL; in EfiShellGetDeviceName()
699 &HandleList); in EfiShellGetDeviceName()
705 HandleList[LoopVar], in EfiShellGetDeviceName()
713 HandleList[LoopVar], in EfiShellGetDeviceName()
732 if (HandleList != NULL) { in EfiShellGetDeviceName()
733 FreePool(HandleList); in EfiShellGetDeviceName()