Home
last modified time | relevance | path

Searched refs:EndingLBA (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/
DGpt.c391 HdDev.PartitionSize = Entry->EndingLBA - Entry->StartingLBA + 1; in PartitionInstallGptChildHandles()
396 DEBUG ((EFI_D_INFO, " End LBA : %lx\n", (UINT64) Entry->EndingLBA)); in PartitionInstallGptChildHandles()
399 DEBUG ((EFI_D_INFO, " End : %lx\n", MultU64x32 (Entry->EndingLBA, BlockSize))); in PartitionInstallGptChildHandles()
411 Entry->EndingLBA, in PartitionInstallGptChildHandles()
702 EFI_LBA EndingLBA; in PartitionCheckGptEntry() local
715 EndingLBA = Entry->EndingLBA; in PartitionCheckGptEntry()
716 if (StartingLBA > EndingLBA || in PartitionCheckGptEntry()
719 EndingLBA < PartHeader->FirstUsableLBA || in PartitionCheckGptEntry()
720 EndingLBA > PartHeader->LastUsableLBA in PartitionCheckGptEntry()
739 if (Entry->EndingLBA >= StartingLBA && Entry->StartingLBA <= EndingLBA) { in PartitionCheckGptEntry()
DMbr.c45 UINT32 EndingLBA; in PartitionValidMbr() local
65 EndingLBA = StartingLBA + UNPACK_UINT32 (Mbr->Partition[Index1].SizeInLBA) - 1; in PartitionValidMbr()
66 if (EndingLBA > LastLba) { in PartitionValidMbr()
79 … "PartitionValidMbr: Bad MBR partition size EndingLBA(%1x) > LastLBA(%1x)\n", EndingLBA, LastLba)); in PartitionValidMbr()
90 … (NewEndingLBA >= StartingLBA && UNPACK_UINT32 (Mbr->Partition[Index2].StartingLBA) <= EndingLBA) { in PartitionValidMbr()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/
DHiKeyFastbootDxe.c56 EFI_LBA EndingLBA; member
145 if ((Entry->StartingLBA > EndLBA) && (Entry->EndingLBA <= GptHeader->LastUsableLBA)) { in ReadPartitionEntries()
147 EndLBA = Entry->EndingLBA; in ReadPartitionEntries()
241 Entry->EndingLBA = PartitionEntries[LoopIndex].EndingLBA; in LoadPtable()
371 PartitionSize = (Entry->EndingLBA - Entry->StartingLBA + 1) * BlockSize; in HiKeyFastbootPlatformFlashPartition()
484 Size = (Entry->EndingLBA - Entry->StartingLBA + 1) * mFlashBlockIo->Media->BlockSize; in HiKeyFastbootPlatformErasePartition()
537 PartitionSize = (Entry->EndingLBA - Entry->StartingLBA + 1) * mFlashBlockIo->Media->BlockSize; in HiKeyFastbootPlatformGetVar()
641 PartitionSize = (Entry->EndingLBA - Entry->StartingLBA + 1) * mFlashBlockIo->Media->BlockSize; in HiKeyFastbootPlatformFlashPartitionEx()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960FastbootDxe/
DHiKey960FastbootDxe.c57 EFI_LBA EndingLBA; member
145 if ((Entry->StartingLBA > EndLBA) && (Entry->EndingLBA <= GptHeader->LastUsableLBA)) { in ReadPartitionEntries()
147 EndLBA = Entry->EndingLBA; in ReadPartitionEntries()
241 Entry->EndingLBA = PartitionEntries[LoopIndex].EndingLBA; in LoadPtable()
458 PartitionSize = (Entry->EndingLBA - Entry->StartingLBA + 1) * BlockSize; in HiKey960FastbootPlatformFlashPartition()
538 Size = (Entry->EndingLBA - Entry->StartingLBA + 1) * mFlashBlockIo->Media->BlockSize; in HiKey960FastbootPlatformErasePartition()
587 PartitionSize = (Entry->EndingLBA - Entry->StartingLBA + 1) * mFlashBlockIo->Media->BlockSize; in HiKey960FastbootPlatformGetVar()
690 PartitionSize = (Entry->EndingLBA - Entry->StartingLBA + 1) * mFlashBlockIo->Media->BlockSize; in HiKey960FastbootPlatformFlashPartitionEx()
/device/linaro/bootloader/edk2/FatPkg/FatPei/
DPart.c326 UINT32 EndingLBA; in PartitionValidMbr() local
346 EndingLBA = StartingLBA + UNPACK_UINT32 (Mbr->Partition[Index1].SizeInLBA) - 1; in PartitionValidMbr()
347 if (EndingLBA > LastLba) { in PartitionValidMbr()
368 … (NewEndingLBA >= StartingLBA && UNPACK_UINT32 (Mbr->Partition[Index2].StartingLBA) <= EndingLBA) { in PartitionValidMbr()
/device/linaro/bootloader/edk2/MdePkg/Include/Uefi/
DUefiGpt.h107 EFI_LBA EndingLBA; member