/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/ |
D | Mbr.c | 225 HdDev.PartitionSize = UNPACK_UINT32 (Mbr->Partition[Index].SizeInLBA); in PartitionInstallMbrChildHandles() 238 HdDev.PartitionStart + HdDev.PartitionSize - 1, in PartitionInstallMbrChildHandles() 280 HdDev.PartitionSize = UNPACK_UINT32 (Mbr->Partition[0].SizeInLBA); in PartitionInstallMbrChildHandles() 281 …if ((HdDev.PartitionStart + HdDev.PartitionSize - 1 >= ParentHdDev.PartitionStart + ParentHdDev.Pa… in PartitionInstallMbrChildHandles() 301 HdDev.PartitionStart - ParentHdDev.PartitionStart + HdDev.PartitionSize - 1, in PartitionInstallMbrChildHandles() 322 } while (ExtMbrStartingLba < ParentHdDev.PartitionSize); in PartitionInstallMbrChildHandles()
|
D | ElTorito.c | 237 …CdDev.PartitionSize = (UINT32)(Media->LastBlock - Catalog->Boot.Lba * (SIZE_2KB / Media->BlockSize… in PartitionInstallElToritoChildHandles() 239 … CdDev.PartitionSize = (UINT32)(VolSpaceSize - Catalog->Boot.Lba) * (SIZE_2KB / Media->BlockSize); in PartitionInstallElToritoChildHandles() 242 CdDev.PartitionSize = DivU64x32 ( in PartitionInstallElToritoChildHandles() 261 Catalog->Boot.Lba * (SIZE_2KB / Media->BlockSize) + CdDev.PartitionSize - 1, in PartitionInstallElToritoChildHandles()
|
D | Gpt.c | 391 HdDev.PartitionSize = Entry->EndingLBA - Entry->StartingLBA + 1; in PartitionInstallGptChildHandles() 397 DEBUG ((EFI_D_INFO, " Partition size: %lx\n", (UINT64) HdDev.PartitionSize)); in PartitionInstallGptChildHandles()
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/ |
D | HiKeyFastbootDxe.c | 341 UINTN PartitionSize; in HiKeyFastbootPlatformFlashPartition() local 371 PartitionSize = (Entry->EndingLBA - Entry->StartingLBA + 1) * BlockSize; in HiKeyFastbootPlatformFlashPartition() 372 if (PartitionSize < Size) { in HiKeyFastbootPlatformFlashPartition() 374 DEBUG ((DEBUG_ERROR, "Partition Size:\t%ld\nImage Size:\t%ld\n", PartitionSize, Size)); in HiKeyFastbootPlatformFlashPartition() 502 UINT64 PartitionSize; in HiKeyFastbootPlatformGetVar() local 537 PartitionSize = (Entry->EndingLBA - Entry->StartingLBA + 1) * mFlashBlockIo->Media->BlockSize; in HiKeyFastbootPlatformGetVar() 538 …UG ((DEBUG_ERROR, "Fastboot platform: check for partition-size:%a 0X%llx\n", Name, PartitionSize)); in HiKeyFastbootPlatformGetVar() 539 AsciiSPrint (Value, 12, "0x%llx", PartitionSize); in HiKeyFastbootPlatformGetVar() 617 UINTN PartitionSize; in HiKeyFastbootPlatformFlashPartitionEx() local 641 PartitionSize = (Entry->EndingLBA - Entry->StartingLBA + 1) * mFlashBlockIo->Media->BlockSize; in HiKeyFastbootPlatformFlashPartitionEx() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960FastbootDxe/ |
D | HiKey960FastbootDxe.c | 426 UINTN PartitionSize; in HiKey960FastbootPlatformFlashPartition() local 458 PartitionSize = (Entry->EndingLBA - Entry->StartingLBA + 1) * BlockSize; in HiKey960FastbootPlatformFlashPartition() 459 if (PartitionSize < Size) { in HiKey960FastbootPlatformFlashPartition() 461 DEBUG ((DEBUG_ERROR, "Partition Size:\t%ld\nImage Size:\t%ld\n", PartitionSize, Size)); in HiKey960FastbootPlatformFlashPartition() 556 UINT64 PartitionSize; in HiKey960FastbootPlatformGetVar() local 587 PartitionSize = (Entry->EndingLBA - Entry->StartingLBA + 1) * mFlashBlockIo->Media->BlockSize; in HiKey960FastbootPlatformGetVar() 588 …G ((DEBUG_ERROR, "Fastboot platform: check for partition-size:%a 0X%llx\n", Name, PartitionSize )); in HiKey960FastbootPlatformGetVar() 589 AsciiSPrint (Value, 12, "0x%llx", PartitionSize); in HiKey960FastbootPlatformGetVar() 666 UINTN PartitionSize; in HiKey960FastbootPlatformFlashPartitionEx() local 690 PartitionSize = (Entry->EndingLBA - Entry->StartingLBA + 1) * mFlashBlockIo->Media->BlockSize; in HiKey960FastbootPlatformFlashPartitionEx() [all …]
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ |
D | ArmVExpressFastBoot.c | 339 UINTN PartitionSize; in ArmFastbootPlatformFlashPartition() local 376 PartitionSize = (BlockIo->Media->LastBlock + 1) * BlockIo->Media->BlockSize; in ArmFastbootPlatformFlashPartition() 377 if (PartitionSize < Size) { in ArmFastbootPlatformFlashPartition() 379 DEBUG ((EFI_D_ERROR, "Partition Size:\t%d\nImage Size:\t%d\n", PartitionSize, Size)); in ArmFastbootPlatformFlashPartition()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/ |
D | EfiDevicePath.h | 386 UINT64 PartitionSize; member 403 UINT64 PartitionSize; member
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | DevicePath.h | 970 UINT64 PartitionSize; member 1022 UINT64 PartitionSize; member
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/ |
D | DevicePathToText.c | 1756 UefiDevicePathLibCatPrint (Str, L"0x%lx,0x%lx)", Hd->PartitionStart, Hd->PartitionSize); in DevPathToTextHardDrive() 1788 …ibCatPrint (Str, L"CDROM(0x%x,0x%lx,0x%lx)", Cd->BootEntry, Cd->PartitionStart, Cd->PartitionSize); in DevPathToTextCDROM()
|
D | DevicePathFromText.c | 2986 Strtoi64 (SizeStr, &Hd->PartitionSize); in DevPathFromTextHD() 3020 Strtoi64 (SizeStr, &CDROMDevPath->PartitionSize); in DevPathFromTextCDROM()
|