Searched refs:NewPrivateFile (Results 1 – 2 of 2) sorted by relevance
868 WIN_NT_EFI_FILE_PRIVATE *NewPrivateFile; in WinNtSimpleFileSystemOpen() local916 NewPrivateFile = NULL; in WinNtSimpleFileSystemOpen()962 NewPrivateFile = AllocatePool (sizeof (WIN_NT_EFI_FILE_PRIVATE)); in WinNtSimpleFileSystemOpen()963 if (NewPrivateFile == NULL) { in WinNtSimpleFileSystemOpen()968 CopyMem (NewPrivateFile, PrivateFile, sizeof (WIN_NT_EFI_FILE_PRIVATE)); in WinNtSimpleFileSystemOpen()970 NewPrivateFile->FilePath = AllocatePool (StrSize (PrivateFile->FileName)); in WinNtSimpleFileSystemOpen()971 if (NewPrivateFile->FilePath == NULL) { in WinNtSimpleFileSystemOpen()977 StrCpy (NewPrivateFile->FilePath, PrivateFile->FileName); in WinNtSimpleFileSystemOpen()979 StrCpy (NewPrivateFile->FilePath, PrivateFile->FilePath); in WinNtSimpleFileSystemOpen()982 Size = StrSize (NewPrivateFile->FilePath); in WinNtSimpleFileSystemOpen()[all …]
369 EMU_EFI_FILE_PRIVATE *NewPrivateFile; in PosixFileOpen() local389 NewPrivateFile = NULL; in PosixFileOpen()401 NewPrivateFile = EMU_EFI_FILE_PRIVATE_DATA_FROM_THIS (Root); in PosixFileOpen()413 NewPrivateFile = malloc (sizeof (EMU_EFI_FILE_PRIVATE)); in PosixFileOpen()414 if (NewPrivateFile == NULL) { in PosixFileOpen()418 CopyMem (NewPrivateFile, PrivateFile, sizeof (EMU_EFI_FILE_PRIVATE)); in PosixFileOpen()420 …NewPrivateFile->FileName = malloc (AsciiStrSize (PrivateFile->FileName) + 1 + StrLen (FileName) + … in PosixFileOpen()421 if (NewPrivateFile->FileName == NULL) { in PosixFileOpen()426 AsciiStrCpy (NewPrivateFile->FileName, PrivateRoot->FilePath); in PosixFileOpen()430 AsciiStrCpy (NewPrivateFile->FileName, PrivateFile->FileName); in PosixFileOpen()[all …]