Home
last modified time | relevance | path

Searched refs:PrivateFile (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/Nt32Pkg/WinNtSimpleFileSystemDxe/
DWinNtSimpleFileSystem.c544 WIN_NT_EFI_FILE_PRIVATE *PrivateFile; in WinNtSimpleFileSystemOpenVolume() local
557 PrivateFile = AllocatePool (sizeof (WIN_NT_EFI_FILE_PRIVATE)); in WinNtSimpleFileSystemOpenVolume()
558 if (PrivateFile == NULL) { in WinNtSimpleFileSystemOpenVolume()
563 PrivateFile->FileName = AllocatePool (StrSize (Private->FilePath)); in WinNtSimpleFileSystemOpenVolume()
564 if (PrivateFile->FileName == NULL) { in WinNtSimpleFileSystemOpenVolume()
569 PrivateFile->FilePath = AllocatePool (StrSize (Private->FilePath)); in WinNtSimpleFileSystemOpenVolume()
570 if (PrivateFile->FilePath == NULL) { in WinNtSimpleFileSystemOpenVolume()
575 StrCpy (PrivateFile->FilePath, Private->FilePath); in WinNtSimpleFileSystemOpenVolume()
576 StrCpy (PrivateFile->FileName, PrivateFile->FilePath); in WinNtSimpleFileSystemOpenVolume()
577 PrivateFile->Signature = WIN_NT_EFI_FILE_PRIVATE_SIGNATURE; in WinNtSimpleFileSystemOpenVolume()
[all …]
/device/linaro/bootloader/edk2/EmulatorPkg/EmuSimpleFileSystemDxe/
DEmuSimpleFileSystem.c54 EMU_EFI_FILE_PRIVATE *PrivateFile; in EmuSimpleFileSystemOpen() local
84 PrivateFile = EMU_EFI_FILE_PRIVATE_DATA_FROM_THIS (This); in EmuSimpleFileSystemOpen()
86 return PrivateFile->Io->Open (PrivateFile->Io, NewHandle, FileName, OpenMode, Attributes); in EmuSimpleFileSystemOpen()
106 EMU_EFI_FILE_PRIVATE *PrivateFile; in EmuSimpleFileSystemClose() local
113 PrivateFile = EMU_EFI_FILE_PRIVATE_DATA_FROM_THIS (This); in EmuSimpleFileSystemClose()
117 Status = PrivateFile->Io->Close (PrivateFile->Io); in EmuSimpleFileSystemClose()
119 gBS->FreePool (PrivateFile); in EmuSimpleFileSystemClose()
144 EMU_EFI_FILE_PRIVATE *PrivateFile; in EmuSimpleFileSystemDelete() local
153 PrivateFile = EMU_EFI_FILE_PRIVATE_DATA_FROM_THIS (This); in EmuSimpleFileSystemDelete()
155 Status = PrivateFile->Io->Delete (PrivateFile->Io); in EmuSimpleFileSystemDelete()
[all …]
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DPosixFileSystem.c121 EMU_EFI_FILE_PRIVATE *PrivateFile; in PosixOpenVolume() local
126 PrivateFile = malloc (sizeof (EMU_EFI_FILE_PRIVATE)); in PosixOpenVolume()
127 if (PrivateFile == NULL) { in PosixOpenVolume()
131 PrivateFile->FileName = malloc (AsciiStrSize (Private->FilePath)); in PosixOpenVolume()
132 if (PrivateFile->FileName == NULL) { in PosixOpenVolume()
135 AsciiStrCpy (PrivateFile->FileName, Private->FilePath); in PosixOpenVolume()
137 PrivateFile->Signature = EMU_EFI_FILE_PRIVATE_SIGNATURE; in PosixOpenVolume()
138 PrivateFile->Thunk = Private->Thunk; in PosixOpenVolume()
139 PrivateFile->SimpleFileSystem = This; in PosixOpenVolume()
140 PrivateFile->IsRootDirectory = TRUE; in PosixOpenVolume()
[all …]