Home
last modified time | relevance | path

Searched refs:NewPrivateFile (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/Nt32Pkg/WinNtSimpleFileSystemDxe/
DWinNtSimpleFileSystem.c868 WIN_NT_EFI_FILE_PRIVATE *NewPrivateFile; in WinNtSimpleFileSystemOpen() local
916 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 …]
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DPosixFileSystem.c369 EMU_EFI_FILE_PRIVATE *NewPrivateFile; in PosixFileOpen() local
389 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()
420NewPrivateFile->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 …]