Home | History | Annotate | Download | only in EnhancedFatDxe

Lines Matching refs:OFile

70   @retval EFI_DEVICE_ERROR  - Can not find the OFile for the file

86 @param OFile - The open file.
96 IN FAT_OFILE *OFile,
101 return FatGetDirEntInfo (OFile->Volume, OFile->DirEnt, BufferSize, Buffer);
274 @param OFile - The open file.
296 IN FAT_OFILE *OFile,
313 Parent = OFile->Parent;
314 DirEnt = OFile->DirEnt;
352 OFile->PreserveLastModification = TRUE;
383 if (!IsListEmpty (&OFile->ChildHead) || Parent == OFile) {
391 Status = FatRemoveDirEnt (OFile->Parent, DirEnt);
406 DirEnt->OFile = OFile;
407 OFile->DirEnt = DirEnt;
408 OFile->Parent = Parent;
409 RemoveEntryList (&OFile->ChildLink);
410 InsertHeadList (&Parent->ChildHead, &OFile->ChildLink);
414 if (OFile->ODir != NULL) {
418 FatResetODirCursor (OFile);
419 ASSERT (OFile->Parent != NULL);
420 for (DotOFile = OFile; DotOFile != OFile->Parent->Parent; DotOFile = DotOFile->Parent) {
421 Status = FatGetNextDirEnt (OFile, &DirEnt);
427 Status = FatStoreDirEnt (OFile, DirEnt);
436 OFile->Archive = TRUE;
437 } else if (Parent != OFile) {
446 if (NewInfo->FileSize != OFile->FileSize) {
447 if (OFile->ODir != NULL || ReadOnly) {
454 if (NewInfo->FileSize > OFile->FileSize) {
455 Status = FatExpandOFile (OFile, NewInfo->FileSize);
457 Status = FatTruncateOFile (OFile, (UINTN) NewInfo->FileSize);
464 FatUpdateDirEntClusterSizeInfo (OFile);
467 OFile->Dirty = TRUE;
468 return FatOFileFlush (OFile);
482 @retval EFI_DEVICE_ERROR - Can not find the OFile for the file
495 FAT_OFILE *OFile;
500 OFile = IFile->OFile;
501 Volume = OFile->Volume;
503 Status = OFile->Error;
522 Status = Volume->ReadOnly ? EFI_WRITE_PROTECTED : FatSetFileInfo (Volume, IFile, OFile, *BufferSize, Buffer);
534 Status = FatGetFileInfo (OFile, BufferSize, Buffer);
563 @retval EFI_DEVICE_ERROR - Can not find the OFile for the file.
588 @retval EFI_DEVICE_ERROR - Can not find the OFile for the file.