• Home
  • Raw
  • Download

Lines Matching refs:FvFileInfo

97   FV_FILESYSTEM_FILE_INFO         *FvFileInfo;  in FvSimpleFileSystemOpenVolume()  local
120 Root->FvFileInfo = AllocateZeroPool (sizeof (FV_FILESYSTEM_FILE_INFO)); in FvSimpleFileSystemOpenVolume()
121 if (Root->FvFileInfo == NULL) { in FvSimpleFileSystemOpenVolume()
124 Root->FvFileInfo->FileInfo.Size = sizeof (EFI_FILE_INFO); in FvSimpleFileSystemOpenVolume()
125 Root->FvFileInfo->FileInfo.Attribute = EFI_FILE_DIRECTORY | EFI_FILE_READ_ONLY; in FvSimpleFileSystemOpenVolume()
187 FvFileInfo = AllocateZeroPool (sizeof (FV_FILESYSTEM_FILE_INFO) + NameLen - sizeof (CHAR16)); in FvSimpleFileSystemOpenVolume()
188 if (FvFileInfo == NULL) { in FvSimpleFileSystemOpenVolume()
192 FvFileInfo->Signature = FVFS_FILE_INFO_SIGNATURE; in FvSimpleFileSystemOpenVolume()
193 InitializeListHead (&FvFileInfo->Link); in FvSimpleFileSystemOpenVolume()
194 CopyMem (&FvFileInfo->NameGuid, &NameGuid, sizeof (EFI_GUID)); in FvSimpleFileSystemOpenVolume()
195 FvFileInfo->Type = FileType; in FvSimpleFileSystemOpenVolume()
201 Status = StrnCpyS (&FvFileInfo->FileInfo.FileName[0], DestMax, Name, StrLen (Name)); in FvSimpleFileSystemOpenVolume()
205 Status = StrnCatS (&FvFileInfo->FileInfo.FileName[0], DestMax, L".efi", StrLen (L".efi")); in FvSimpleFileSystemOpenVolume()
209 FvFileInfo->FileInfo.Size = sizeof (EFI_FILE_INFO) + NameLen - sizeof (CHAR16); in FvSimpleFileSystemOpenVolume()
210 Status = FvFsGetFileSize (FvProtocol, FvFileInfo); in FvSimpleFileSystemOpenVolume()
212 FvFileInfo->FileInfo.PhysicalSize = FvFileInfo->FileInfo.FileSize; in FvSimpleFileSystemOpenVolume()
213 FvFileInfo->FileInfo.Attribute = EFI_FILE_READ_ONLY; in FvSimpleFileSystemOpenVolume()
215 InsertHeadList (&Instance->FileInfoHead, &FvFileInfo->Link); in FvSimpleFileSystemOpenVolume()
562 FV_FILESYSTEM_FILE_INFO *FvFileInfo; in FvSimpleFileSystemDriverStop() local
618 FvFileInfo = FVFS_FILE_INFO_FROM_LINK (DelEntry); in FvSimpleFileSystemDriverStop()
621 FreePool (FvFileInfo); in FvSimpleFileSystemDriverStop()
629 if (Instance->Root->FvFileInfo != NULL) { in FvSimpleFileSystemDriverStop()
630 FreePool (Instance->Root->FvFileInfo); in FvSimpleFileSystemDriverStop()