Searched refs:PadFileSize (Results 1 – 3 of 3) sorted by relevance
323 UINTN PadFileSize; in FvLocateFreeSpaceEntry() local333 PadFileSize = CalculatePadFileSize ( in FvLocateFreeSpaceEntry()339 if (FreeSpaceListEntry->Length >= Size + PadFileSize) { in FvLocateFreeSpaceEntry()341 *PadSize = PadFileSize; in FvLocateFreeSpaceEntry()378 UINTN PadFileSize; in FvLocatePadFile() local403 PadFileSize = CalculatePadFileSize ( in FvLocatePadFile()409 if (PadAreaLength >= (Size + PadFileSize)) { in FvLocatePadFile()410 *PadSize = PadFileSize; in FvLocatePadFile()770 UINTN PadFileSize; in FvCreateNewFile() local793 &PadFileSize, in FvCreateNewFile()[all …]
560 UINTN PadFileSize; in AddPadFile() local580 PadFileSize = ExtHeader->ExtHeaderSize; in AddPadFile()581 if (PadFileSize + sizeof (EFI_FFS_FILE_HEADER) >= MAX_FFS_SIZE) { in AddPadFile()584 PadFileSize += CurFfsHeaderSize; in AddPadFile()596 …PadFileSize = (UINTN) FvImage->CurrentFilePointer - (UINTN) FvImage->FileImage + sizeof (EFI_FFS_F… in AddPadFile()600 while ((PadFileSize % DataAlignment) != 0) { in AddPadFile()601 PadFileSize++; in AddPadFile()606 PadFileSize -= NextFfsHeaderSize; in AddPadFile()610 PadFileSize -= (UINTN) FvImage->CurrentFilePointer - (UINTN) FvImage->FileImage; in AddPadFile()616 if (((UINTN) FvImage->CurrentFilePointer + PadFileSize) > (UINTN) FvEnd) { in AddPadFile()[all …]
1260 UINTN PadFileSize; in AddPadFile() local1306 …PadFileSize = (UINTN) FvImage->CurrentFilePointer - (UINTN) FvImage->FileImage + (sizeof (EFI_FFS_… in AddPadFile()1311 while ((PadFileSize % DataAlignment) != 0) { in AddPadFile()1312 PadFileSize++; in AddPadFile()1317 PadFileSize -= sizeof (EFI_FFS_FILE_HEADER); in AddPadFile()1322 PadFileSize -= (UINTN) FvImage->CurrentFilePointer - (UINTN) FvImage->FileImage; in AddPadFile()1327 PadFile->Size[0] = (UINT8) (PadFileSize & 0xFF); in AddPadFile()1328 PadFile->Size[1] = (UINT8) ((PadFileSize >> 8) & 0xFF); in AddPadFile()1329 PadFile->Size[2] = (UINT8) ((PadFileSize >> 16) & 0xFF); in AddPadFile()1340 PadFile->IntegrityCheck.Checksum.File = CalculateChecksum8 ((UINT8 *) PadFile, PadFileSize); in AddPadFile()[all …]