Searched refs:IFile (Results 1 – 8 of 8) sorted by relevance
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/ |
D | Open.c | 35 FAT_IFILE *IFile; in FatAllocateIFile() local 42 IFile = AllocateZeroPool (sizeof (FAT_IFILE)); in FatAllocateIFile() 43 if (IFile == NULL) { in FatAllocateIFile() 47 IFile->Signature = FAT_IFILE_SIGNATURE; in FatAllocateIFile() 49 CopyMem (&(IFile->Handle), &FatFileInterface, sizeof (EFI_FILE_PROTOCOL)); in FatAllocateIFile() 55 IFile->Handle.Revision = EFI_FILE_PROTOCOL_REVISION2; in FatAllocateIFile() 57 IFile->Handle.Revision = EFI_FILE_PROTOCOL_REVISION; in FatAllocateIFile() 60 IFile->OFile = OFile; in FatAllocateIFile() 61 InsertTailList (&OFile->Opens, &IFile->Link); in FatAllocateIFile() 62 InitializeListHead (&IFile->Tasks); in FatAllocateIFile() [all …]
|
D | ReadWrite.c | 38 FAT_IFILE *IFile; in FatGetPosition() local 41 IFile = IFILE_FROM_FHAND (FHand); in FatGetPosition() 42 OFile = IFile->OFile; in FatGetPosition() 52 *Position = IFile->Position; in FatGetPosition() 75 FAT_IFILE *IFile; in FatSetPosition() local 78 IFile = IFILE_FROM_FHAND (FHand); in FatSetPosition() 79 OFile = IFile->OFile; in FatSetPosition() 85 FatWaitNonblockingTask (IFile); in FatSetPosition() 109 IFile->Position = Position; in FatSetPosition() 127 IN FAT_IFILE *IFile, in FatIFileReadDir() argument [all …]
|
D | Flush.c | 38 FAT_IFILE *IFile; in FatFlushEx() local 44 IFile = IFILE_FROM_FHAND (FHand); in FatFlushEx() 45 OFile = IFile->OFile; in FatFlushEx() 62 if (IFile->ReadOnly) { in FatFlushEx() 67 FatWaitNonblockingTask (IFile); in FatFlushEx() 76 Task = FatCreateTask (IFile, Token); in FatFlushEx() 92 Status = FatQueueTask (IFile, Task); in FatFlushEx() 137 FAT_IFILE *IFile; in FatClose() local 141 IFile = IFILE_FROM_FHAND (FHand); in FatClose() 142 OFile = IFile->OFile; in FatClose() [all …]
|
D | Delete.c | 34 FAT_IFILE *IFile; in FatDelete() local 40 IFile = IFILE_FROM_FHAND (FHand); in FatDelete() 41 OFile = IFile->OFile; in FatDelete() 43 FatWaitNonblockingTask (IFile); in FatDelete() 53 if (IFile->ReadOnly) { in FatDelete() 113 FatIFileClose (IFile); in FatDelete()
|
D | Misc.c | 31 FAT_IFILE *IFile, in FatCreateTask() argument 40 Task->IFile = IFile; in FatCreateTask() 80 FAT_IFILE *IFile in FatWaitNonblockingTask() argument 87 TaskQueueEmpty = IsListEmpty (&IFile->Tasks); in FatWaitNonblockingTask() 129 IN FAT_IFILE *IFile, in FatQueueTask() argument 148 InsertTailList (&IFile->Tasks, &Task->Link); in FatQueueTask() 159 Status = IFile->OFile->Volume->DiskIo2->WriteDiskEx ( in FatQueueTask() 160 IFile->OFile->Volume->DiskIo2, in FatQueueTask() 161 IFile->OFile->Volume->MediaId, in FatQueueTask() 168 Status = IFile->OFile->Volume->DiskIo2->ReadDiskEx ( in FatQueueTask() [all …]
|
D | OpenVolume.c | 38 FAT_IFILE *IFile; in FatOpenVolume() local 53 Status = FatAllocateIFile (Volume->Root, &IFile); in FatOpenVolume() 55 *File = &IFile->Handle; in FatOpenVolume()
|
D | Info.c | 295 IN FAT_IFILE *IFile, in FatSetFileInfo() argument 329 ReadOnly = (BOOLEAN)(IFile->ReadOnly || (DirEnt->Entry.Attributes & EFI_FILE_READ_ONLY)); in FatSetFileInfo() 494 FAT_IFILE *IFile; in FatSetOrGetInfo() local 499 IFile = IFILE_FROM_FHAND (FHand); in FatSetOrGetInfo() 500 OFile = IFile->OFile; in FatSetOrGetInfo() 508 FatWaitNonblockingTask (IFile); in FatSetOrGetInfo() 522 …Status = Volume->ReadOnly ? EFI_WRITE_PROTECTED : FatSetFileInfo (Volume, IFile, OFile, *BufferSiz… in FatSetOrGetInfo()
|
D | Fat.h | 222 FAT_IFILE *IFile; member 838 FAT_IFILE *IFile 1039 FAT_IFILE *IFile, 1064 FAT_IFILE *IFile 1094 IN FAT_IFILE *IFile,
|