Searched refs:FFS_FILE2_SIZE (Results 1 – 15 of 15) sorted by relevance
533 …WholeFileSize = IS_FFS_FILE2 (CacheFfsHeader) ? FFS_FILE2_SIZE (CacheFfsHeader): FFS_FILE_SIZE (Ca… in FvCheck()552 ASSERT (FFS_FILE2_SIZE (CacheFfsHeader) > 0x00FFFFFF); in FvCheck()555 FfsHeader = (EFI_FFS_FILE_HEADER *) ((UINT8 *) FfsHeader + FFS_FILE2_SIZE (CacheFfsHeader)); in FvCheck()586 FfsHeader = (EFI_FFS_FILE_HEADER *) ((UINT8 *) FfsHeader + FFS_FILE2_SIZE (CacheFfsHeader)); in FvCheck()
212 *Size = FFS_FILE2_SIZE (FfsFileHeader) - sizeof (EFI_FFS_FILE_HEADER2); in FvGetNextFile()324 … WholeFileSize = IS_FFS_FILE2 (FfsHeader) ? FFS_FILE2_SIZE (FfsHeader): FFS_FILE_SIZE (FfsHeader); in FvReadFile()
219 …heckSum8 ((CONST UINT8 *) FfsHeader + sizeof (EFI_FFS_FILE_HEADER2), FFS_FILE2_SIZE (FfsHeader) - … in IsValidFfsFile()
281 … CalculateSum8 ((UINT8 *) FfsHeader + sizeof (EFI_FFS_FILE_HEADER2), FFS_FILE2_SIZE (FfsHeader) - … in VerifyFileChecksum()404 FileLength = FFS_FILE2_SIZE (FfsHeader); in GetNextPossibleFileHeader()
568 ASSERT (FFS_FILE2_SIZE (Ptr) > 0x00FFFFFF); in FvCheck()571 Ptr = Ptr + FFS_FILE2_SIZE (Ptr); in FvCheck()606 Ptr = Ptr + FFS_FILE2_SIZE (Ptr); in FvCheck()
233 *Size = FFS_FILE2_SIZE (FfsFileHeader) - sizeof (EFI_FFS_FILE_HEADER2); in FvGetNextFile()395 FileSize = FFS_FILE2_SIZE (FfsHeader) - sizeof (EFI_FFS_FILE_HEADER2); in FvReadFile()
37 …CalculateCheckSum8 ((UINT8 *) PadFileHeader + sizeof (EFI_FFS_FILE_HEADER2), FFS_FILE2_SIZE (PadFi… in SetPadFileChecksum()358 Ptr = (UINT8 *) FileHeader + FFS_FILE2_SIZE (FileHeader); in FvAdjustFfsFile()499 PadAreaLength = FFS_FILE2_SIZE (OldPadFileHeader) - sizeof (EFI_FFS_FILE_HEADER); in FvCreateNewFileInsidePadFile()707 PadAreaLength = FFS_FILE2_SIZE (OldPadFileHeader) - sizeof (EFI_FFS_FILE_HEADER2); in FvCreateMultipleFilesInsidePadFile()
397 PadAreaLength = FFS_FILE2_SIZE (FileHeader) - HeaderSize; in FvLocatePadFile()472 PadAreaLength = FFS_FILE2_SIZE (FileHeader) - HeaderSize; in FvSearchSuitablePadFile()
63 Size = FFS_FILE2_SIZE (File); in FindImageBase()
185 #define FFS_FILE2_SIZE(FfsFileHeaderPtr) \ macro
315 FileLength = FFS_FILE2_SIZE (*FileHeader); in FindFileEx()360 FileLength = FFS_FILE2_SIZE (FfsFileHeader); in FindFileEx()422 FileLength = FFS_FILE2_SIZE (FfsFileHeader); in FindFileEx()1675 ASSERT (FFS_FILE2_SIZE (FileHeader) > 0x00FFFFFF); in PeiFfsFvPpiGetFileInfo()1680 FileInfo->BufferSize = FFS_FILE2_SIZE (FileHeader) - sizeof (EFI_FFS_FILE_HEADER2); in PeiFfsFvPpiGetFileInfo()1894 ASSERT (FFS_FILE2_SIZE (FfsFileHeader) > 0x00FFFFFF); in PeiFfsFvPpiFindSectionByType2()1900 FileSize = FFS_FILE2_SIZE (FfsFileHeader) - sizeof (EFI_FFS_FILE_HEADER2); in PeiFfsFvPpiFindSectionByType2()
220 FfsSize = FFS_FILE2_SIZE(FfsHeader); in GetFfsByName()