Lines Matching refs:FvFileInfo
78 IN FV_FILESYSTEM_FILE_INFO *FvFileInfo, in FvFsFindExecutableSection() argument
90 &FvFileInfo->NameGuid, in FvFsFindExecutableSection()
119 IN OUT FV_FILESYSTEM_FILE_INFO *FvFileInfo in FvFsGetFileSize() argument
136 FvFileInfo->FileInfo.FileSize = 0; in FvFsGetFileSize()
138 if (FV_FILETYPE_IS_EXECUTABLE (FvFileInfo->Type)) { in FvFsGetFileSize()
142 …Status = FvFsFindExecutableSection (FvProtocol, FvFileInfo, (UINTN*)&FvFileInfo->FileInfo.FileSize… in FvFsGetFileSize()
146 } else if (FvFileInfo->Type == EFI_FV_FILETYPE_FREEFORM) { in FvFsGetFileSize()
152 &FvFileInfo->NameGuid, in FvFsGetFileSize()
156 (UINTN*)&FvFileInfo->FileInfo.FileSize, in FvFsGetFileSize()
168 &FvFileInfo->NameGuid, in FvFsGetFileSize()
170 (UINTN*)&FvFileInfo->FileInfo.FileSize, in FvFsGetFileSize()
182 &FvFileInfo->NameGuid, in FvFsGetFileSize()
184 (UINTN*)&FvFileInfo->FileInfo.FileSize, in FvFsGetFileSize()
221 IN FV_FILESYSTEM_FILE_INFO *FvFileInfo, in FvFsReadFile() argument
231 if (FV_FILETYPE_IS_EXECUTABLE (FvFileInfo->Type)) { in FvFsReadFile()
235 Status = FvFsFindExecutableSection (FvProtocol, FvFileInfo, BufferSize, Buffer); in FvFsReadFile()
236 } else if (FvFileInfo->Type == EFI_FV_FILETYPE_FREEFORM) { in FvFsReadFile()
242 &FvFileInfo->NameGuid, in FvFsReadFile()
255 &FvFileInfo->NameGuid, in FvFsReadFile()
269 &FvFileInfo->NameGuid, in FvFsReadFile()
299 IN FV_FILESYSTEM_FILE_INFO *FvFileInfo, in FvFsGetFileInfo() argument
306 InfoSize = (UINTN)FvFileInfo->FileInfo.Size; in FvFsGetFileInfo()
315 CopyMem (FileInfo, &FvFileInfo->FileInfo, InfoSize); in FvFsGetFileInfo()
484 FV_FILESYSTEM_FILE_INFO *FvFileInfo; in FvSimpleFileSystemOpen() local
524 NewFile->FvFileInfo = File->FvFileInfo; in FvSimpleFileSystemOpen()
542 FvFileInfo = NULL; in FvSimpleFileSystemOpen()
546 FvFileInfo = FVFS_FILE_INFO_FROM_LINK (FvFileInfoLink); in FvSimpleFileSystemOpen()
547 …if (mUnicodeCollation->StriColl (mUnicodeCollation, &FvFileInfo->FileInfo.FileName[0], FileName) =… in FvSimpleFileSystemOpen()
571 FvFileInfo = FVFS_FILE_INFO_FROM_LINK (FvFileInfoLink); in FvSimpleFileSystemOpen()
572 …if (mUnicodeCollation->StriColl (mUnicodeCollation, &FvFileInfo->FileInfo.FileName[0], FileNameWit… in FvSimpleFileSystemOpen()
588 NewFile->FvFileInfo = FvFileInfo; in FvSimpleFileSystemOpen()
666 if (File->FvFileInfo == Instance->Root->FvFileInfo) { in FvSimpleFileSystemRead()
697 FileSize = (UINTN)File->FvFileInfo->FileInfo.FileSize; in FvSimpleFileSystemRead()
704 Status = FvFsReadFile (File->Instance->FvProtocol, File->FvFileInfo, &FileSize, &FileBuffer); in FvSimpleFileSystemRead()
754 if (File->FvFileInfo == Instance->Root->FvFileInfo) { in FvSimpleFileSystemWrite()
786 if (File->FvFileInfo == Instance->Root->FvFileInfo) { in FvSimpleFileSystemGetPosition()
820 if (File->FvFileInfo == Instance->Root->FvFileInfo) { in FvSimpleFileSystemSetPosition()
831 File->Position = File->FvFileInfo->FileInfo.FileSize; in FvSimpleFileSystemSetPosition()
956 return FvFsGetFileInfo (File->FvFileInfo, BufferSize, (EFI_FILE_INFO *) Buffer); in FvSimpleFileSystemGetInfo()