Home | History | Annotate | Download | only in EnhancedFatDxe

Lines Matching refs:Position

20   Get the file's position of the file.

24 @param Position - The file's position of the file.
35 OUT UINT64 *Position
52 *Position = IFile->Position;
58 Set the file's position of the file.
61 @param Position - The file's position of the file.
65 @retval EFI_UNSUPPORTED - Set a directory with a not-zero position.
72 IN UINT64 Position
88 // If this is a directory, we can only set back to position 0
91 if (Position != 0) {
101 // Set the position
103 if (Position == (UINT64)-1) {
104 Position = OFile->FileSize;
107 // Set the position
109 IFile->Position = Position;
140 CurrentPos = ((UINT32) IFile->Position) / sizeof (FAT_DIRECTORY_ENTRY);
152 // We seek the next directory entry's position
169 // Update IFile's Position
173 // Update IFile->Position, if everything is all right
176 IFile->Position = (UINT64) (CurrentPos * sizeof (FAT_DIRECTORY_ENTRY));
234 // If position is at EOF, then return device error
236 if (IFile->Position > OFile->FileSize) {
283 EndPosition = IFile->Position + *BufferSize;
286 // The position goes beyond the end of file
313 Status = FatAccessOFile (OFile, IoMode, (UINTN) IFile->Position, BufferSize, Buffer, Task);
314 IFile->Position += *BufferSize;
451 @param Position - The position where data will be accessed.
464 IN UINTN Position,
482 // Seek the OFile to the file position
484 Status = FatOFilePosition (OFile, Position, BufferSize);
503 Position += Len;
513 ASSERT (Position <= OFile->FileSize);