• Home
  • Raw
  • Download

Lines Matching refs:OFile

39   FAT_OFILE   *OFile;  in FatFlushEx()  local
45 OFile = IFile->OFile; in FatFlushEx()
46 Volume = OFile->Volume; in FatFlushEx()
52 if (EFI_ERROR (OFile->Error)) { in FatFlushEx()
53 return OFile->Error; in FatFlushEx()
86 Status = FatOFileFlush (OFile); in FatFlushEx()
87 Status = FatCleanupVolume (OFile->Volume, OFile, Status, Task); in FatFlushEx()
138 FAT_OFILE *OFile; in FatClose() local
142 OFile = IFile->OFile; in FatClose()
143 Volume = OFile->Volume; in FatClose()
158 FatCleanupVolume (Volume, OFile, EFI_SUCCESS, NULL); in FatClose()
181 FAT_OFILE *OFile; in FatIFileClose() local
184 OFile = IFile->OFile; in FatIFileClose()
185 Volume = OFile->Volume; in FatIFileClose()
199 if (OFile->CheckLink.ForwardLink == NULL) { in FatIFileClose()
200 InsertHeadList (&Volume->CheckRef, &OFile->CheckLink); in FatIFileClose()
222 IN FAT_OFILE *OFile in FatOFileFlush() argument
238 if (EFI_ERROR (OFile->Error)) { in FatOFileFlush()
239 return OFile->Error; in FatOFileFlush()
242 Parent = OFile->Parent; in FatOFileFlush()
243 DirEnt = OFile->DirEnt; in FatOFileFlush()
244 if (OFile->Dirty) { in FatOFileFlush()
250 if (!OFile->PreserveLastModification) { in FatOFileFlush()
254 OFile->PreserveLastModification = FALSE; in FatOFileFlush()
255 if (OFile->Archive) { in FatOFileFlush()
257 OFile->Archive = FALSE; in FatOFileFlush()
272 OFile->Dirty = FALSE; in FatOFileFlush()
277 OFile = Parent; in FatOFileFlush()
278 } while (OFile != NULL); in FatOFileFlush()
296 IN FAT_OFILE *OFile in FatCheckOFileRef() argument
302 if (OFile->CheckLink.ForwardLink != NULL) { in FatCheckOFileRef()
303 RemoveEntryList (&OFile->CheckLink); in FatCheckOFileRef()
304 OFile->CheckLink.ForwardLink = NULL; in FatCheckOFileRef()
307 FatOFileFlush (OFile); in FatCheckOFileRef()
311 if (!IsListEmpty (&OFile->Opens) || !IsListEmpty (&OFile->ChildHead)) { in FatCheckOFileRef()
320 FatCloseDirEnt (OFile->DirEnt); in FatCheckOFileRef()
340 FAT_OFILE *OFile; in FatCheckVolumeRef() local
355 OFile = Parent; in FatCheckVolumeRef()
356 Parent = OFile->Parent; in FatCheckVolumeRef()
357 if (!FatCheckOFileRef (OFile)) { in FatCheckVolumeRef()
383 IN FAT_OFILE *OFile, in FatCleanupVolume() argument
392 if (OFile != NULL) { in FatCleanupVolume()
393 FatSetVolumeError (OFile, EfiStatus); in FatCleanupVolume()
454 IN FAT_OFILE *OFile, in FatSetVolumeError() argument
464 if (!EFI_ERROR (OFile->Error)) { in FatSetVolumeError()
465 OFile->Error = Status; in FatSetVolumeError()
470 for (Link = OFile->ChildHead.ForwardLink; Link != &OFile->ChildHead; Link = Link->ForwardLink) { in FatSetVolumeError()