Searched refs:DirInfo (Results 1 – 4 of 4) sorted by relevance
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
D | Dir.c | 74 EFI_FILE_INFO *DirInfo; in EblDirCmd() local 244 DirInfo = NULL; in EblDirCmd() 246 Status = File->FsFileHandle->Read (File->FsFileHandle, &ReadSize, DirInfo); in EblDirCmd() 249 DirInfo = AllocatePool (ReadSize); in EblDirCmd() 250 if (DirInfo == NULL) { in EblDirCmd() 255 Status = File->FsFileHandle->Read (File->FsFileHandle, &ReadSize, DirInfo); in EblDirCmd() 264 if (StrStr (&DirInfo->FileName[0], MatchSubString) == NULL) { in EblDirCmd() 270 if (StrCmp (&DirInfo->FileName[0], UnicodeFileName) != 0) { in EblDirCmd() 275 if (DirInfo->Attribute & EFI_FILE_DIRECTORY) { in EblDirCmd() 276 AsciiPrint (" <DIR> %s\n", &DirInfo->FileName[0]); in EblDirCmd() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/FileExplorerLib/ |
D | FileExplorer.c | 1062 EFI_FILE_INFO *DirInfo; in LibFindFiles() local 1074 DirInfo = AllocateZeroPool (DirBufferSize); in LibFindFiles() 1075 if (DirInfo == NULL) { in LibFindFiles() 1089 Status = FileHandle->Read (FileHandle, &BufferSize, DirInfo); in LibFindFiles() 1095 if (((DirInfo->Attribute & EFI_FILE_DIRECTORY) != 0 && Pass == 2) || in LibFindFiles() 1096 ((DirInfo->Attribute & EFI_FILE_DIRECTORY) == 0 && Pass == 1) in LibFindFiles() 1105 …if (!((DirInfo->Attribute & EFI_FILE_DIRECTORY) != 0 || LibIsSupportedFileType (DirInfo->FileName)… in LibFindFiles() 1120 NewFileContext->FileName = LibAppendFileName (FileName, DirInfo->FileName); in LibFindFiles() 1129 …NewFileContext->IsDir = (BOOLEAN) ((DirInfo->Attribute & EFI_FILE_DIRECTORY) == EFI_FILE_DIRECTORY… in LibFindFiles() 1132 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()
|