Searched refs:DirInfo (Results 1 – 5 of 5) sorted by relevance
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
D | Dir.c | 74 EFI_FILE_INFO *DirInfo; in EblDirCmd() local 243 DirInfo = NULL; in EblDirCmd() 245 Status = File->FsFileHandle->Read (File->FsFileHandle, &ReadSize, DirInfo); in EblDirCmd() 248 DirInfo = AllocatePool (ReadSize); in EblDirCmd() 249 if (DirInfo == NULL) { in EblDirCmd() 254 Status = File->FsFileHandle->Read (File->FsFileHandle, &ReadSize, DirInfo); in EblDirCmd() 263 if (StrStr (&DirInfo->FileName[0], MatchSubString) == NULL) { in EblDirCmd() 269 if (StrCmp (&DirInfo->FileName[0], UnicodeFileName) != 0) { in EblDirCmd() 274 if (DirInfo->Attribute & EFI_FILE_DIRECTORY) { in EblDirCmd() 275 AsciiPrint (" <DIR> %s\n", &DirInfo->FileName[0]); in EblDirCmd() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/ |
D | SecureBootConfigFileExplorer.c | 846 EFI_FILE_INFO *DirInfo; in FindFiles() local 877 DirInfo = FileInfo (NewDir); in FindFiles() 878 if (DirInfo == NULL) { in FindFiles() 882 if ((DirInfo->Attribute & EFI_FILE_DIRECTORY) == 0) { in FindFiles() 892 DirInfo = AllocateZeroPool (DirBufferSize); in FindFiles() 893 if (DirInfo == NULL) { in FindFiles() 906 Status = NewDir->Read (NewDir, &BufferSize, DirInfo); in FindFiles() 911 if (((DirInfo->Attribute & EFI_FILE_DIRECTORY) != 0 && Pass == 2) || in FindFiles() 912 ((DirInfo->Attribute & EFI_FILE_DIRECTORY) == 0 && Pass == 1) in FindFiles() 930 DirInfo->FileName in FindFiles() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/FileExplorerLib/ |
D | FileExplorer.c | 1041 EFI_FILE_INFO *DirInfo; in LibFindFiles() local 1053 DirInfo = AllocateZeroPool (DirBufferSize); in LibFindFiles() 1054 if (DirInfo == NULL) { in LibFindFiles() 1067 Status = FileHandle->Read (FileHandle, &BufferSize, DirInfo); in LibFindFiles() 1072 if (((DirInfo->Attribute & EFI_FILE_DIRECTORY) != 0 && Pass == 2) || in LibFindFiles() 1073 ((DirInfo->Attribute & EFI_FILE_DIRECTORY) == 0 && Pass == 1) in LibFindFiles() 1082 …if (!((DirInfo->Attribute & EFI_FILE_DIRECTORY) != 0 || LibIsSupportedFileType (DirInfo->FileName)… in LibFindFiles() 1096 NewFileContext->FileName = LibAppendFileName (FileName, DirInfo->FileName); in LibFindFiles() 1100 …NewFileContext->IsDir = (BOOLEAN) ((DirInfo->Attribute & EFI_FILE_DIRECTORY) == EFI_FILE_DIRECTORY… in LibFindFiles() 1103 BufferSize = StrLen (DirInfo->FileName) * 2 + 6; in LibFindFiles() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ |
D | BootOption.c | 551 EFI_FILE_INFO *DirInfo; in BOpt_FindFiles() local 582 DirInfo = EfiLibFileInfo (NewDir); in BOpt_FindFiles() 583 if (DirInfo == NULL) { in BOpt_FindFiles() 587 if ((DirInfo->Attribute & EFI_FILE_DIRECTORY) == 0) { in BOpt_FindFiles() 597 DirInfo = AllocateZeroPool (DirBufferSize); in BOpt_FindFiles() 598 if (DirInfo == NULL) { in BOpt_FindFiles() 610 Status = NewDir->Read (NewDir, &BufferSize, DirInfo); in BOpt_FindFiles() 615 if (((DirInfo->Attribute & EFI_FILE_DIRECTORY) != 0 && Pass == 2) || in BOpt_FindFiles() 616 ((DirInfo->Attribute & EFI_FILE_DIRECTORY) == 0 && Pass == 1) in BOpt_FindFiles() 625 …if (!(BOpt_IsEfiImageName (DirInfo->FileName) || (DirInfo->Attribute & EFI_FILE_DIRECTORY) != 0)) { in BOpt_FindFiles() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiFileHandleLib/ |
D | UefiFileHandleLib.c | 404 EFI_FILE_INFO *DirInfo; in FileHandleIsDirectory() local 413 DirInfo = FileHandleGetInfo (DirHandle); in FileHandleIsDirectory() 418 if (DirInfo == NULL) { in FileHandleIsDirectory() 424 if ((DirInfo->Attribute & EFI_FILE_DIRECTORY) == 0) { in FileHandleIsDirectory() 428 FreePool (DirInfo); in FileHandleIsDirectory() 434 FreePool (DirInfo); in FileHandleIsDirectory()
|