Home
last modified time | relevance | path

Searched refs:SizeOfPartitionEntry (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/
DGpt.c326 …try = AllocatePool (PrimaryHeader->NumberOfPartitionEntries * PrimaryHeader->SizeOfPartitionEntry); in PartitionInstallGptChildHandles()
336 … PrimaryHeader->NumberOfPartitionEntries * (PrimaryHeader->SizeOfPartitionEntry), in PartitionInstallGptChildHandles()
369 …ntry = (EFI_PARTITION_ENTRY *) ((UINT8 *) PartEntry + Index * PrimaryHeader->SizeOfPartitionEntry); in PartitionInstallGptChildHandles()
494 (PartHdr->SizeOfPartitionEntry < sizeof (EFI_PARTITION_ENTRY)) in PartitionValidGptTable()
504 if (PartHdr->NumberOfPartitionEntries > DivU64x32 (MAX_UINTN, PartHdr->SizeOfPartitionEntry)) { in PartitionValidGptTable()
547 Ptr = AllocatePool (PartHeader->NumberOfPartitionEntries * PartHeader->SizeOfPartitionEntry); in PartitionCheckGptEntryArrayCRC()
557 PartHeader->NumberOfPartitionEntries * PartHeader->SizeOfPartitionEntry, in PartitionCheckGptEntryArrayCRC()
565 Size = PartHeader->NumberOfPartitionEntries * PartHeader->SizeOfPartitionEntry; in PartitionCheckGptEntryArrayCRC()
641 Ptr = AllocatePool (PartHeader->NumberOfPartitionEntries * PartHeader->SizeOfPartitionEntry); in PartitionRestoreGptTable()
652 PartHeader->NumberOfPartitionEntries * PartHeader->SizeOfPartitionEntry, in PartitionRestoreGptTable()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpm2MeasureBootLib/
DDxeTpm2MeasureBootLib.c180 …NT8 *)AllocatePool (PrimaryHeader->NumberOfPartitionEntries * PrimaryHeader->SizeOfPartitionEntry); in Tcg2MeasureGptTable()
189 PrimaryHeader->NumberOfPartitionEntries * PrimaryHeader->SizeOfPartitionEntry, in Tcg2MeasureGptTable()
207 …tionEntry = (EFI_PARTITION_ENTRY *)((UINT8 *)PartitionEntry + PrimaryHeader->SizeOfPartitionEntry); in Tcg2MeasureGptTable()
214 + NumberOfPartition * PrimaryHeader->SizeOfPartitionEntry); in Tcg2MeasureGptTable()
242 (UINT8 *)&GptData->Partitions + NumberOfPartition * PrimaryHeader->SizeOfPartitionEntry, in Tcg2MeasureGptTable()
244 PrimaryHeader->SizeOfPartitionEntry in Tcg2MeasureGptTable()
248 …itionEntry =(EFI_PARTITION_ENTRY *)((UINT8 *)PartitionEntry + PrimaryHeader->SizeOfPartitionEntry); in Tcg2MeasureGptTable()
/device/linaro/bootloader/edk2/DuetPkg/BootSector/
DGpt.S125 movl %es:84(%di), %eax # EAX = SizeOfPartitionEntry
126 … mulb GptPartitionIndicator(%bp) # EAX = SizeOfPartitionEntry * GptPartitionIndicator
127 … movl %eax, %edx # EDX = SizeOfPartitionEntry * GptPartitionIndicator
128 …shrl $BLOCK_SHIFT, %eax # EAX = (SizeOfPartitionEntry * GptPartitionIndicator) /…
130 … # = (SizeOfPartitionEntry * GptPartitionIndicator) % BLOCK_SIZE
136 … # (SizeOfPartitionEntry * GptPartitionIndicator) / BLOCK_SIZE)
148 …popl %edx # EDX = (SizeOfPartitionEntry * GptPartitionIndicator) %…
DGpt.asm123 mov eax, dword ptr es:[di + 84] ; EAX = SizeOfPartitionEntry
124 … mul byte ptr [bp+GptPartitionIndicator] ; EAX = SizeOfPartitionEntry * GptPartitionIndicator
125 … mov edx, eax ; EDX = SizeOfPartitionEntry * GptPartitionIndicator
126 …shr eax, BLOCK_SHIFT ; EAX = (SizeOfPartitionEntry * GptPartitionIndicator) /…
128 … ; = (SizeOfPartitionEntry * GptPartitionIndicator) % BLOCK_SIZE
134 … ; (SizeOfPartitionEntry * GptPartitionIndicator) / BLOCK_SIZE)
146 …pop edx ; EDX = (SizeOfPartitionEntry * GptPartitionIndicator) %…
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/
DDxeTpmMeasureBootLib.c180 …NT8 *)AllocatePool (PrimaryHeader->NumberOfPartitionEntries * PrimaryHeader->SizeOfPartitionEntry); in TcgMeasureGptTable()
189 PrimaryHeader->NumberOfPartitionEntries * PrimaryHeader->SizeOfPartitionEntry, in TcgMeasureGptTable()
207 …tionEntry = (EFI_PARTITION_ENTRY *)((UINT8 *)PartitionEntry + PrimaryHeader->SizeOfPartitionEntry); in TcgMeasureGptTable()
214 + NumberOfPartition * PrimaryHeader->SizeOfPartitionEntry); in TcgMeasureGptTable()
240 (UINT8 *)&GptData->Partitions + NumberOfPartition * PrimaryHeader->SizeOfPartitionEntry, in TcgMeasureGptTable()
242 PrimaryHeader->SizeOfPartitionEntry in TcgMeasureGptTable()
246 …itionEntry =(EFI_PARTITION_ENTRY *)((UINT8 *)PartitionEntry + PrimaryHeader->SizeOfPartitionEntry); in TcgMeasureGptTable()
/device/linaro/bootloader/edk2/MdePkg/Include/Uefi/
DUefiGpt.h75 UINT32 SizeOfPartitionEntry; member
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/
DArmVExpressFastBoot.c114 EntrySize = GptHeader->SizeOfPartitionEntry; in ReadPartitionEntries()