Home | History | Annotate | Download | only in EmuSimpleFileSystemDxe

Lines Matching refs:PrivateFile

54   EMU_EFI_FILE_PRIVATE              *PrivateFile;

84 PrivateFile = EMU_EFI_FILE_PRIVATE_DATA_FROM_THIS (This);
86 return PrivateFile->Io->Open (PrivateFile->Io, NewHandle, FileName, OpenMode, Attributes);
106 EMU_EFI_FILE_PRIVATE *PrivateFile;
113 PrivateFile = EMU_EFI_FILE_PRIVATE_DATA_FROM_THIS (This);
117 Status = PrivateFile->Io->Close (PrivateFile->Io);
119 gBS->FreePool (PrivateFile);
144 EMU_EFI_FILE_PRIVATE *PrivateFile;
153 PrivateFile = EMU_EFI_FILE_PRIVATE_DATA_FROM_THIS (This);
155 Status = PrivateFile->Io->Delete (PrivateFile->Io);
157 gBS->FreePool (PrivateFile);
189 EMU_EFI_FILE_PRIVATE *PrivateFile;
203 PrivateFile = EMU_EFI_FILE_PRIVATE_DATA_FROM_THIS (This);
205 Status = PrivateFile->Io->Read (PrivateFile->Io, BufferSize, Buffer);
239 EMU_EFI_FILE_PRIVATE *PrivateFile;
248 PrivateFile = EMU_EFI_FILE_PRIVATE_DATA_FROM_THIS (This);
250 Status = PrivateFile->Io->Write (PrivateFile->Io, BufferSize, Buffer);
275 EMU_EFI_FILE_PRIVATE *PrivateFile;
284 PrivateFile = EMU_EFI_FILE_PRIVATE_DATA_FROM_THIS (This);
286 Status = PrivateFile->Io->GetPosition (PrivateFile->Io, Position);
312 EMU_EFI_FILE_PRIVATE *PrivateFile;
321 PrivateFile = EMU_EFI_FILE_PRIVATE_DATA_FROM_THIS (This);
323 Status = PrivateFile->Io->SetPosition (PrivateFile->Io, Position);
358 EMU_EFI_FILE_PRIVATE *PrivateFile;
367 PrivateFile = EMU_EFI_FILE_PRIVATE_DATA_FROM_THIS (This);
369 Status = PrivateFile->Io->GetInfo (PrivateFile->Io, InformationType, BufferSize, Buffer);
403 EMU_EFI_FILE_PRIVATE *PrivateFile;
415 PrivateFile = EMU_EFI_FILE_PRIVATE_DATA_FROM_THIS (This);
417 Status = PrivateFile->Io->SetInfo (PrivateFile->Io, InformationType, BufferSize, Buffer);
446 EMU_EFI_FILE_PRIVATE *PrivateFile;
455 PrivateFile = EMU_EFI_FILE_PRIVATE_DATA_FROM_THIS (This);
457 Status = PrivateFile->Io->Flush (PrivateFile->Io);
489 EMU_EFI_FILE_PRIVATE *PrivateFile;
502 PrivateFile = AllocatePool (sizeof (EMU_EFI_FILE_PRIVATE));
503 if (PrivateFile == NULL) {
508 PrivateFile->Signature = EMU_EFI_FILE_PRIVATE_SIGNATURE;
509 PrivateFile->IoThunk = Private->IoThunk;
510 PrivateFile->SimpleFileSystem = This;
511 PrivateFile->EfiFile.Revision = EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_REVISION;
512 PrivateFile->EfiFile.Open = EmuSimpleFileSystemOpen;
513 PrivateFile->EfiFile.Close = EmuSimpleFileSystemClose;
514 PrivateFile->EfiFile.Delete = EmuSimpleFileSystemDelete;
515 PrivateFile->EfiFile.Read = EmuSimpleFileSystemRead;
516 PrivateFile->EfiFile.Write = EmuSimpleFileSystemWrite;
517 PrivateFile->EfiFile.GetPosition = EmuSimpleFileSystemGetPosition;
518 PrivateFile->EfiFile.SetPosition = EmuSimpleFileSystemSetPosition;
519 PrivateFile->EfiFile.GetInfo = EmuSimpleFileSystemGetInfo;
520 PrivateFile->EfiFile.SetInfo = EmuSimpleFileSystemSetInfo;
521 PrivateFile->EfiFile.Flush = EmuSimpleFileSystemFlush;
523 *Root = &PrivateFile->EfiFile;
525 Status = Private->Io->OpenVolume (Private->Io, &PrivateFile->Io);
549 if (PrivateFile) {
550 gBS->FreePool (PrivateFile);