Home
last modified time | relevance | path

Searched refs:PartitionSize (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/
DMbr.c225 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()
DElTorito.c237 …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()
DGpt.c391 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/
DHiKeyFastbootDxe.c341 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/
DHiKey960FastbootDxe.c426 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/
DArmVExpressFastBoot.c339 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/
DEfiDevicePath.h386 UINT64 PartitionSize; member
403 UINT64 PartitionSize; member
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DDevicePath.h970 UINT64 PartitionSize; member
1022 UINT64 PartitionSize; member
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/
DDevicePathToText.c1756 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()
DDevicePathFromText.c2986 Strtoi64 (SizeStr, &Hd->PartitionSize); in DevPathFromTextHD()
3020 Strtoi64 (SizeStr, &CDROMDevPath->PartitionSize); in DevPathFromTextCDROM()