Searched refs:DevicePathList (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellCommandLib/
H A DUefiShellCommandLib.c1010 EFI_DEVICE_PATH_PROTOCOL **DevicePathList; local
1052 DevicePathList = AllocateZeroPool(sizeof(EFI_DEVICE_PATH_PROTOCOL*) * Count);
1053 ASSERT(DevicePathList != NULL);
1056 DevicePathList[Count] = DevicePathFromHandle(HandleList[Count]);
1062 PerformQuickSort(DevicePathList, Count, sizeof(EFI_DEVICE_PATH_PROTOCOL*), DevicePathCompare);
1074 Status = ShellCommandAddMapItemAndUpdatePath(NewDefaultName, DevicePathList[Count], 0, TRUE);
1081 NewConsistName = ShellCommandConsistMappingGenMappingName(DevicePathList[Count], ConsistMappingTable);
1083 Status = ShellCommandAddMapItemAndUpdatePath(NewConsistName, DevicePathList[Count], 0, FALSE);
1092 SHELL_FREE_NON_NULL(DevicePathList);
1109 DevicePathList
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellLevel2CommandsLib/
H A DMap.c134 EFI_DEVICE_PATH_PROTOCOL **DevicePathList; local
159 DevicePathList = AllocateZeroPool(sizeof(EFI_DEVICE_PATH_PROTOCOL*) * Count);
160 ASSERT(DevicePathList != NULL);
163 DevicePathList[Count] = DevicePathFromHandle(HandleList[Count]);
169 PerformQuickSort(DevicePathList, Count, sizeof(EFI_DEVICE_PATH_PROTOCOL*), DevicePathCompare);
180 if (gEfiShellProtocol->GetMapFromDevicePath(&DevicePathList[Count]) != NULL) {
192 Status = gEfiShellProtocol->SetMap(DevicePathList[Count], NewDefaultName);
198 NewConsistName = ShellCommandConsistMappingGenMappingName(DevicePathList[Count], ConsistMappingTable);
200 Status = gEfiShellProtocol->SetMap(DevicePathList[Count], NewConsistName);
209 SHELL_FREE_NON_NULL(DevicePathList);
[all...]

Completed in 283 milliseconds