Home
last modified time | relevance | path

Searched refs:GetDevicePathSize (Results 1 – 25 of 72) sorted by relevance

123

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PlatformDriOverrideDxe/
DPlatDriOverrideLib.c133 DevicePathSize = GetDevicePathSize (DevicePath); in CheckExistInStack()
134 if (DevicePathSize == GetDevicePathSize (DevicePathStackItem->DevicePath)) { in CheckExistInStack()
746 VariableIndex = VariableIndex + GetDevicePathSize (ControllerDevicePath); in InitOverridesMapping()
773 VariableIndex = VariableIndex + GetDevicePathSize (DriverDevicePath); in InitOverridesMapping()
846 DevicePathSize = GetDevicePathSize (OverrideItem->ControllerDevicePath); in GetOneItemNeededSize()
858 DevicePathSize = GetDevicePathSize (DriverImageInfo->DriverImagePath); in GetOneItemNeededSize()
1052 …CopyMem (VariableIndex, OverrideItem->ControllerDevicePath, GetDevicePathSize (OverrideItem->Contr… in SaveOverridesMapping()
1053 …VariableIndex += GetDevicePathSize (OverrideItem->ControllerDevicePath); // pass ControllerDeviceP… in SaveOverridesMapping()
1065 …CopyMem (VariableIndex, DriverImageInfo->DriverImagePath, GetDevicePathSize (DriverImageInfo->Driv… in SaveOverridesMapping()
1066 …VariableIndex += GetDevicePathSize (DriverImageInfo->DriverImagePath); // pass DriverImageDevicePa… in SaveOverridesMapping()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerLib/
DVariable.c328 GetDevicePathSize (OutDevicePath), in Var_UpdateAllConsoleOption()
340 GetDevicePathSize (InpDevicePath), in Var_UpdateAllConsoleOption()
352 GetDevicePathSize (ErrDevicePath), in Var_UpdateAllConsoleOption()
455 GetDevicePathSize (ConDevicePath), in Var_UpdateConsoleOption()
565 BufferSize += GetDevicePathSize (CallbackData->LoadContext->FilePathList); in Var_UpdateDriverOption()
594 *((UINT16 *) Ptr) = (UINT16) GetDevicePathSize (CallbackData->LoadContext->FilePathList); in Var_UpdateDriverOption()
617 GetDevicePathSize (CallbackData->LoadContext->FilePathList) in Var_UpdateDriverOption()
620 …NewLoadContext->FilePathList = AllocateZeroPool (GetDevicePathSize (CallbackData->LoadContext->Fil… in Var_UpdateDriverOption()
626 GetDevicePathSize (CallbackData->LoadContext->FilePathList) in Var_UpdateDriverOption()
635 Ptr += (UINT8) GetDevicePathSize (CallbackData->LoadContext->FilePathList); in Var_UpdateDriverOption()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/
DUefiDevicePathLib.c95 Size = GetDevicePathSize (DevicePath); in GlueDuplicateDevicePath()
155 Size1 = GetDevicePathSize (FirstDevicePath); in GlueAppendDevicePath()
156 Size2 = GetDevicePathSize (SecondDevicePath); in GlueAppendDevicePath()
272 SrcSize = GetDevicePathSize (DevicePath); in GlueAppendDevicePathInstance()
273 InstanceSize = GetDevicePathSize (DevicePathInstance); in GlueAppendDevicePathInstance()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DVariable.c340 GetDevicePathSize (OutDevicePath), in Var_UpdateAllConsoleOption()
355 GetDevicePathSize (InpDevicePath), in Var_UpdateAllConsoleOption()
370 GetDevicePathSize (ErrDevicePath), in Var_UpdateAllConsoleOption()
476 GetDevicePathSize (ConDevicePath), in Var_UpdateConsoleOption()
586 BufferSize += GetDevicePathSize (CallbackData->LoadContext->FilePathList); in Var_UpdateDriverOption()
615 *((UINT16 *) Ptr) = (UINT16) GetDevicePathSize (CallbackData->LoadContext->FilePathList); in Var_UpdateDriverOption()
638 GetDevicePathSize (CallbackData->LoadContext->FilePathList) in Var_UpdateDriverOption()
641 …NewLoadContext->FilePathList = AllocateZeroPool (GetDevicePathSize (CallbackData->LoadContext->Fil… in Var_UpdateDriverOption()
647 GetDevicePathSize (CallbackData->LoadContext->FilePathList) in Var_UpdateDriverOption()
665 Ptr += (UINT8) GetDevicePathSize (CallbackData->LoadContext->FilePathList); in Var_UpdateDriverOption()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/
DDevicePathUtilities.c394 Size = GetDevicePathSize (DevicePath); in UefiDevicePathLibDuplicateDevicePath()
462 Size1 = GetDevicePathSize (FirstDevicePath); in UefiDevicePathLibAppendDevicePath()
463 Size2 = GetDevicePathSize (SecondDevicePath); in UefiDevicePathLibAppendDevicePath()
596 SrcSize = GetDevicePathSize (DevicePath); in UefiDevicePathLibAppendDevicePathInstance()
597 InstanceSize = GetDevicePathSize (DevicePathInstance); in UefiDevicePathLibAppendDevicePathInstance()
DUefiDevicePathLibOptionalDevicePathProtocol.c77 GetDevicePathSize ( in GetDevicePathSize() function
82 return mDevicePathLibDevicePathUtilities->GetDevicePathSize (DevicePath); in GetDevicePathSize()
DUefiDevicePathLib.c40 GetDevicePathSize ( in GetDevicePathSize() function
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/
DUsbUtility.c784 Size = GetDevicePathSize (UsbDevicePathBeginPtr); in GetUsbDPFromFullDP()
785 Size -= GetDevicePathSize (UsbDevicePathEndPtr); in GetUsbDPFromFullDP()
845 UsbDpDevicePathSize = GetDevicePathSize (UsbDP); in SearchUsbDPInList()
846 if (UsbDpDevicePathSize == GetDevicePathSize (ListItem->DevicePath)) { in SearchUsbDPInList()
1246 FirstDevicePathSize = GetDevicePathSize (WantedListItem->DevicePath); in UsbBusIsWantedUsbIO()
1247 if (FirstDevicePathSize == GetDevicePathSize (DevicePathPtr)) { in UsbBusIsWantedUsbIO()
1251 GetDevicePathSize (DevicePathPtr)) == 0 in UsbBusIsWantedUsbIO()
1344 (GetDevicePathSize (Bus->DevicePath) - sizeof (EFI_DEVICE_PATH_PROTOCOL)) in UsbBusRecursivelyConnectWantedUsbIo()
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserProfileManagerDxe/
DModifyAccessPolicy.c287 Size = GetDevicePathSize (DevicePath); in IsLoadForbidden()
293 DPSize = GetDevicePathSize (Dp); in IsLoadForbidden()
515 DPSize = GetDevicePathSize (Dp); in DisplayLoadForbid()
597 DPSize = GetDevicePathSize (Dp); in DeleteFromForbidLoad()
607 DPSize = GetDevicePathSize (Dp); in DeleteFromForbidLoad()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
DPciHotPlugSupport.c62 Size1 = GetDevicePathSize (DevicePath1); in EfiCompareDevicePath()
63 Size2 = GetDevicePathSize (DevicePath2); in EfiCompareDevicePath()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DevicePathDxe/
DDevicePath.c26 GetDevicePathSize,
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/
DBdsMisc.c282 if (CompareMem (OptionDevicePath, DevicePath, GetDevicePathSize (OptionDevicePath)) == 0) { in BdsLibRegisterNewOption()
304 OptionSize += GetDevicePathSize (DevicePath); in BdsLibRegisterNewOption()
311 *(UINT16 *) TempPtr = (UINT16) GetDevicePathSize (DevicePath); in BdsLibRegisterNewOption()
315 CopyMem (TempPtr, DevicePath, GetDevicePathSize (DevicePath)); in BdsLibRegisterNewOption()
685 Option->DevicePath = AllocateZeroPool (GetDevicePathSize (DevicePath)); in BdsLibVariableToOption()
687 CopyMem (Option->DevicePath, DevicePath, GetDevicePathSize (DevicePath)); in BdsLibVariableToOption()
891 SingleDpSize = GetDevicePathSize (Single) - END_DEVICE_PATH_LENGTH; in BdsLibDelPartMatchInstance()
DBdsBoot.c356 CurrentBbsDevPathSize = (UINT16) (GetDevicePathSize (CurrentBbsDevPath)); in BdsCreateLegacyBootOption()
1748 …(CompareMem (OptionToCheck->DevicePath, BootOption->DevicePath, GetDevicePathSize (OptionToCheck->… in IsBootOptionValidNVVarialbe()
2006 ParentSize = (ParentDevicePath == NULL) ? 0 : GetDevicePathSize (ParentDevicePath); in BdsFindUsbDevice()
2029 Size = GetDevicePathSize (UsbIoDevicePath); in BdsFindUsbDevice()
2322 Option->DevicePath = AllocateZeroPool (GetDevicePathSize (DevicePath)); in BdsLibBootViaBootOption()
2324 CopyMem (Option->DevicePath, DevicePath, GetDevicePathSize (DevicePath)); in BdsLibBootViaBootOption()
2606 GetDevicePathSize (CachedDevicePath), in BdsExpandPartitionPartialDevicePathToFull()
2705 GetDevicePathSize (CachedDevicePath), in BdsExpandPartitionPartialDevicePathToFull()
2853 DevicePathSize = GetDevicePathSize (DevicePath); in BdsLibDeleteOptionFromHandle()
2883 OptionDevicePathSize = GetDevicePathSize (OptionDevicePath); in BdsLibDeleteOptionFromHandle()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/
DBdsMisc.c282 if (CompareMem (OptionDevicePath, DevicePath, GetDevicePathSize (OptionDevicePath)) == 0) { in BdsLibRegisterNewOption()
304 OptionSize += GetDevicePathSize (DevicePath); in BdsLibRegisterNewOption()
311 *(UINT16 *) TempPtr = (UINT16) GetDevicePathSize (DevicePath); in BdsLibRegisterNewOption()
315 CopyMem (TempPtr, DevicePath, GetDevicePathSize (DevicePath)); in BdsLibRegisterNewOption()
685 Option->DevicePath = AllocateZeroPool (GetDevicePathSize (DevicePath)); in BdsLibVariableToOption()
687 CopyMem (Option->DevicePath, DevicePath, GetDevicePathSize (DevicePath)); in BdsLibVariableToOption()
891 SingleDpSize = GetDevicePathSize (Single) - END_DEVICE_PATH_LENGTH; in BdsLibDelPartMatchInstance()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/DevicePathUtilities/
DDevicePathUtilities.h213 EFI_DEVICE_PATH_UTILS_GET_DEVICE_PATH_SIZE GetDevicePathSize; member
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DDevicePathUtilities.h180 EFI_DEVICE_PATH_UTILS_GET_DEVICE_PATH_SIZE GetDevicePathSize; member
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeDeferImageLoadLib/
DDxeDeferImageLoadLib.c441 DevicePathSize = GetDevicePathSize (DevicePath1); in CheckDevicePath()
442 if (DevicePathSize > GetDevicePathSize (DevicePath2)) { in CheckDevicePath()
502 OffSet += GetDevicePathSize (Path); in IsDevicePathInList()
693 PathSize = GetDevicePathSize (ImageDevicePath); in PutDefferedImageInfo()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmLoadOption.c217 + GetDevicePathSize (Option->FilePath) in EfiBootManagerLoadOptionToVariable()
227 WriteUnaligned16 ((UINT16 *) Ptr, (UINT16) GetDevicePathSize (Option->FilePath)); in EfiBootManagerLoadOptionToVariable()
233 CopyMem (Ptr, Option->FilePath, GetDevicePathSize (Option->FilePath)); in EfiBootManagerLoadOptionToVariable()
234 Ptr += GetDevicePathSize (Option->FilePath); in EfiBootManagerLoadOptionToVariable()
537 … (CompareMem (Key->FilePath, Array[Index].FilePath, GetDevicePathSize (Key->FilePath)) == 0) && in EfiBootManagerFindLoadOption()
1276 …if (FileBuffer != NULL && CompareMem (LoadOption->FilePath, FilePath, GetDevicePathSize (FilePath)… in EfiBootManagerProcessLoadOption()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/
DEdkIIGlueDevicePathLib.h27 #define GetDevicePathSize(_DEVICEPATH) GlueGetDevicePathSize(_DEVICEPATH) macro
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DDispatcher.c374 FilePathSize = GetDevicePathSize (HandleFilePath) - sizeof(EFI_DEVICE_PATH_PROTOCOL); in SmmLoadImage()
586 …Status = gBS->AllocatePool (EfiBootServicesData, GetDevicePathSize (FilePath), (VOID **)&DriverEnt… in SmmLoadImage()
594 CopyMem (DriverEntry->LoadedImage->FilePath, FilePath, GetDevicePathSize (FilePath)); in SmmLoadImage()
1322 GetDevicePathSize ((EFI_DEVICE_PATH_PROTOCOL *)&mFvDevicePath), in SmmDriverDispatchHandler()
1326 …CopyMem (mSmmCoreLoadedImage->FilePath, &mFvDevicePath, GetDevicePathSize ((EFI_DEVICE_PATH_PROTOC… in SmmDriverDispatchHandler()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Bds/
DBdsHelper.c353 Size = GetDevicePathSize (AlignedDevicePath); in GetUnalignedDevicePathSize()
356 Size = GetDevicePathSize (DevicePath); in GetUnalignedDevicePathSize()
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/
DUefiDevicePathLib.c380 GetDevicePathSize ( in GetDevicePathSize() function
384 return mDevicePathLibDevicePathUtilities->GetDevicePathSize (DevicePath); in GetDevicePathSize()
/device/linaro/bootloader/edk2/EmbeddedPkg/Application/AndroidFastboot/Arm/
DBootAndroidBootImg.c122 BdsLoadOptions->FilePathListLength = GetDevicePathSize (BdsLoadOptions->FilePathList); in BootAndroidBootImg()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/BootManagerPolicyDxe/
DBootManagerPolicyDxe.c74 GetDevicePathSize (Devices), in ConnectAllAndCreateNetworkDeviceList()
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DDevicePathLib.h248 GetDevicePathSize (

123