Lines Matching refs:FfsFileHeader
112 EFI_FFS_FILE_HEADER *FfsFileHeader; in GetFfsFile() local
121 FfsFileHeader = (EFI_FFS_FILE_HEADER *)((UINT8 *)FwVolHeader + FwVolHeader->HeaderLength); in GetFfsFile()
132 FileState = GetFileState (ErasePolarity, FfsFileHeader); in GetFfsFile()
138 FfsFileHeader = (EFI_FFS_FILE_HEADER *)((UINT8 *)FfsFileHeader + sizeof(EFI_FFS_FILE_HEADER)); in GetFfsFile()
143 if (CalculateHeaderChecksum (FfsFileHeader) != 0) { in GetFfsFile()
148 if (FfsFileHeader->Type == FileType) { in GetFfsFile()
149 *FileHeader = FfsFileHeader; in GetFfsFile()
153 FileLength = *(UINT32 *)(FfsFileHeader->Size) & 0x00FFFFFF; in GetFfsFile()
157 FfsFileHeader = (EFI_FFS_FILE_HEADER *)((UINT8 *)FfsFileHeader + FileOccupiedSize); in GetFfsFile()
161 FileLength = *(UINT32 *)(FfsFileHeader->Size) & 0x00FFFFFF; in GetFfsFile()
164 FfsFileHeader = (EFI_FFS_FILE_HEADER *)((UINT8 *)FfsFileHeader + FileOccupiedSize); in GetFfsFile()