/device/linaro/bootloader/edk2/MdePkg/Library/UefiFileHandleLib/ |
D | UefiFileHandleLib.c | 52 IN EFI_FILE_HANDLE FileHandle in FileHandleGetInfo() argument 59 if (FileHandle == NULL) { in FileHandleGetInfo() 68 Status = FileHandle->GetInfo(FileHandle, in FileHandleGetInfo() 80 Status = FileHandle->GetInfo(FileHandle, in FileHandleGetInfo() 117 IN EFI_FILE_HANDLE FileHandle, in FileHandleSetInfo() argument 122 if (FileHandle == NULL || FileInfo == NULL) { in FileHandleSetInfo() 129 return (FileHandle->SetInfo(FileHandle, in FileHandleSetInfo() 167 IN EFI_FILE_HANDLE FileHandle, in FileHandleRead() argument 172 if (FileHandle == NULL) { in FileHandleRead() 179 return (FileHandle->Read(FileHandle, BufferSize, Buffer)); in FileHandleRead() [all …]
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/UefiShell/ |
D | daShell.c | 105 SHELL_FILE_HANDLE FileHandle; in da_ShellSeek() local 107 FileHandle = (SHELL_FILE_HANDLE)filp->devdata; in da_ShellSeek() 113 Status = ShellSetFilePosition( FileHandle, 0xFFFFFFFFFFFFFFFFULL); in da_ShellSeek() 117 Status = ShellGetFilePosition( FileHandle, (UINT64 *)&CurPos); in da_ShellSeek() 128 Status = ShellSetFilePosition( FileHandle, (UINT64)(CurPos + offset)); in da_ShellSeek() 131 Status = ShellGetFilePosition( FileHandle, (UINT64 *)&CurPos); in da_ShellSeek() 167 SHELL_FILE_HANDLE FileHandle; in da_ShellMkdir() local 177 Status = ShellCreateDirectory( NewPath, &FileHandle); in da_ShellMkdir() 179 FileInfo = ShellGetFileInfo( FileHandle); in da_ShellMkdir() 184 Status = ShellSetFileInfo( FileHandle, FileInfo); in da_ShellMkdir() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/ |
D | FileHandleLib.h | 52 IN EFI_FILE_HANDLE FileHandle 77 IN EFI_FILE_HANDLE FileHandle, 113 IN EFI_FILE_HANDLE FileHandle, 145 IN EFI_FILE_HANDLE FileHandle, 164 IN EFI_FILE_HANDLE FileHandle 184 IN EFI_FILE_HANDLE FileHandle 209 IN EFI_FILE_HANDLE FileHandle, 231 IN EFI_FILE_HANDLE FileHandle, 252 IN EFI_FILE_HANDLE FileHandle 350 IN EFI_FILE_HANDLE FileHandle, [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | FileHandleLib.h | 40 IN EFI_FILE_HANDLE FileHandle 65 IN EFI_FILE_HANDLE FileHandle, 101 IN EFI_FILE_HANDLE FileHandle, 133 IN EFI_FILE_HANDLE FileHandle, 152 IN EFI_FILE_HANDLE FileHandle 172 IN EFI_FILE_HANDLE FileHandle 197 IN EFI_FILE_HANDLE FileHandle, 219 IN EFI_FILE_HANDLE FileHandle, 239 IN EFI_FILE_HANDLE FileHandle 333 IN EFI_FILE_HANDLE FileHandle, [all …]
|
D | PeimEntryPoint.h | 40 IN EFI_PEI_FILE_HANDLE FileHandle, 60 IN EFI_PEI_FILE_HANDLE FileHandle, 83 IN EFI_PEI_FILE_HANDLE FileHandle, 105 IN EFI_PEI_FILE_HANDLE FileHandle,
|
/device/linaro/bootloader/edk2/ArmPkg/Library/SemihostLib/ |
D | SemihostLib.c | 34 OUT UINTN *FileHandle in SemihostFileOpen() argument 40 if (FileHandle == NULL) { in SemihostFileOpen() 58 *FileHandle = Result; in SemihostFileOpen() 65 IN UINTN FileHandle, in SemihostFileSeek() argument 72 SeekBlock.Handle = FileHandle; in SemihostFileSeek() 88 IN UINTN FileHandle, in SemihostFileRead() argument 100 ReadBlock.Handle = FileHandle; in SemihostFileRead() 116 IN UINTN FileHandle, in SemihostFileWrite() argument 127 WriteBlock.Handle = FileHandle; in SemihostFileWrite() 141 IN UINTN FileHandle in SemihostFileClose() argument [all …]
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/ |
D | MkDir.c | 36 SHELL_FILE_HANDLE FileHandle; in ShellCommandRunMkDir() local 92 FileHandle = NULL; in ShellCommandRunMkDir() 94 &FileHandle, in ShellCommandRunMkDir() 99 ShellCloseFile(&FileHandle); in ShellCommandRunMkDir() 104 ASSERT(FileHandle == NULL); in ShellCommandRunMkDir() 108 Status = ShellCreateDirectory(NewDirName, &FileHandle); in ShellCommandRunMkDir() 109 if (FileHandle != NULL) { in ShellCommandRunMkDir() 110 gEfiShellProtocol->CloseFile(FileHandle); in ShellCommandRunMkDir()
|
D | Parse.c | 31 SHELL_FILE_HANDLE FileHandle; in IsStdInDataAvailable() local 38 FileHandle = NULL; in IsStdInDataAvailable() 41 if (ShellOpenFileByName (L">i", &FileHandle, EFI_FILE_MODE_READ, 0) == EFI_SUCCESS) { in IsStdInDataAvailable() 43 gEfiShellProtocol->GetFilePosition (FileHandle, &OriginalFilePosition); in IsStdInDataAvailable() 44 Status = gEfiShellProtocol->ReadFile (FileHandle, &CharSize, &CharBuffer); in IsStdInDataAvailable() 48 gEfiShellProtocol->SetFilePosition(FileHandle, OriginalFilePosition); in IsStdInDataAvailable() 51 if (FileHandle == NULL) { in IsStdInDataAvailable() 259 SHELL_FILE_HANDLE FileHandle; in PerformParsing() local 275 Status = ShellOpenFileByName(FileName, &FileHandle, EFI_FILE_MODE_READ, 0); in PerformParsing() 279 } else if (!EFI_ERROR (FileHandleIsDirectory (FileHandle))) { in PerformParsing() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/ |
D | SecureBootConfigMisc.c | 35 IN EFI_FILE_HANDLE FileHandle, in ReadFileContent() argument 47 if ((FileHandle == NULL) || (FileSize == NULL)) { in ReadFileContent() 56 Status = FileHandle->SetPosition (FileHandle, (UINT64) -1); in ReadFileContent() 61 Status = FileHandle->GetPosition (FileHandle, &SourceFileSize); in ReadFileContent() 66 Status = FileHandle->SetPosition (FileHandle, 0); in ReadFileContent() 80 Status = FileHandle->Read (FileHandle, &BufferSize, Buffer); in ReadFileContent() 102 IN EFI_FILE_HANDLE FileHandle in CloseFile() argument 105 if (FileHandle != NULL) { in CloseFile() 106 FileHandle->Close (FileHandle); in CloseFile()
|
/device/linaro/bootloader/edk2/MdePkg/Library/PeimEntryPoint/ |
D | PeimEntryPoint.c | 38 IN EFI_PEI_FILE_HANDLE FileHandle, in _ModuleEntryPoint() argument 52 ProcessLibraryConstructorList (FileHandle, PeiServices); in _ModuleEntryPoint() 57 return ProcessModuleEntryPointList (FileHandle, PeiServices); in _ModuleEntryPoint() 76 IN EFI_PEI_FILE_HANDLE FileHandle, in EfiMain() argument 80 return _ModuleEntryPoint (FileHandle, PeiServices); in EfiMain()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmShellCmdRunAxf/ |
D | BootMonFsLoader.c | 45 IN CONST EFI_FILE_HANDLE FileHandle in BootMonFsCheckFile() argument 53 ASSERT (FileHandle != NULL); in BootMonFsCheckFile() 58 Status = FileHandle->GetInfo (FileHandle, &gArmBootMonFsFileInfoGuid, in BootMonFsCheckFile() 106 IN CONST EFI_FILE_HANDLE FileHandle, in BootMonFsLoadFile() argument 119 ASSERT (FileHandle != NULL); in BootMonFsLoadFile() 127 Status = FileHandle->GetInfo (FileHandle, &gArmBootMonFsFileInfoGuid, in BootMonFsLoadFile()
|
D | RunAxf.c | 95 SHELL_FILE_HANDLE FileHandle; in ShellDynCmdRunAxfHandler() local 111 FileHandle = NULL; in ShellDynCmdRunAxfHandler() 152 Status = ShellOpenFileByName (FileName, &FileHandle, EFI_FILE_MODE_READ, 0); in ShellDynCmdRunAxfHandler() 167 Status = ShellOpenFileByName (TmpFileName, &FileHandle, in ShellDynCmdRunAxfHandler() 175 FileHandle = NULL; in ShellDynCmdRunAxfHandler() 179 if (FileHandle != NULL) { in ShellDynCmdRunAxfHandler() 180 Info = ShellGetFileInfo (FileHandle); in ShellDynCmdRunAxfHandler() 196 Status = ShellReadFile (FileHandle, &FileSize, FileData); in ShellDynCmdRunAxfHandler() 230 Status = BootMonFsCheckFile ((EFI_FILE_HANDLE)FileHandle); in ShellDynCmdRunAxfHandler() 233 Status = BootMonFsLoadFile ((EFI_FILE_HANDLE)FileHandle, in ShellDynCmdRunAxfHandler() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/ |
D | PrePiLib.c | 100 IN EFI_PEI_FILE_HANDLE FileHandle, in LoadDxeCoreFromFfsFile() argument 114 Status = FfsFindSectionData (EFI_SECTION_PE32, FileHandle, &PeCoffImage); in LoadDxeCoreFromFfsFile() 127 Status = FfsGetFileInfo (FileHandle, &FvFileInfo); in LoadDxeCoreFromFfsFile() 186 EFI_PEI_FILE_HANDLE FileHandle = NULL; in LoadDxeCoreFromFv() local 194 Status = FfsFindNextFile (EFI_FV_FILETYPE_DXE_CORE, VolumeHandle, &FileHandle); in LoadDxeCoreFromFv() 197 Status = FfsAnyFvFindFirstFile (EFI_FV_FILETYPE_DXE_CORE, &VolumeHandle, &FileHandle); in LoadDxeCoreFromFv() 201 return LoadDxeCoreFromFfsFile (FileHandle, StackSize); in LoadDxeCoreFromFv() 216 EFI_PEI_FILE_HANDLE FileHandle; in DecompressFirstFv() local 218 …Status = FfsAnyFvFindFirstFile (EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE, &VolumeHandle, &FileHandle); in DecompressFirstFv() 220 Status = FfsProcessFvFile (FileHandle); in DecompressFirstFv()
|
D | FwVol.c | 121 IN EFI_PEI_FILE_HANDLE FileHandle, in FileHandleToVolume() argument 137 if (((UINT64) (UINTN) FileHandle > (UINT64) (UINTN) FwVolHeader ) && \ in FileHandleToVolume() 138 … ((UINT64) (UINTN) FileHandle <= ((UINT64) (UINTN) FwVolHeader + FwVolHeader->FvLength - 1))) { in FileHandleToVolume() 167 IN OUT EFI_PEI_FILE_HANDLE *FileHandle in FindFileEx() argument 182 FileHeader = (EFI_FFS_FILE_HEADER **)FileHandle; in FindFileEx() 433 IN EFI_PEI_FILE_HANDLE FileHandle, in FfsFindSectionData() argument 441 FfsFileHeader = (EFI_FFS_FILE_HEADER *)(FileHandle); in FfsFindSectionData() 483 IN OUT EFI_PEI_FILE_HANDLE *FileHandle in FfsFindNextFile() argument 486 return FindFileEx (VolumeHandle, NULL, SearchType, FileHandle); in FfsFindNextFile() 556 OUT EFI_PEI_FILE_HANDLE *FileHandle in FfsFindFileByName() argument [all …]
|
/device/linaro/bootloader/edk2/ArmPkg/Include/Library/ |
D | SemihostLib.h | 42 OUT UINTN *FileHandle 47 IN UINTN FileHandle, 53 IN UINTN FileHandle, 60 IN UINTN FileHandle, 67 IN UINTN FileHandle 72 IN UINTN FileHandle,
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/PyUtility/ |
D | PyUtility.c | 34 HANDLE FileHandle; in SaveFileToDisk() local 48 FileHandle = CreateFile( in SaveFileToDisk() 57 if (FileHandle == INVALID_HANDLE_VALUE) { in SaveFileToDisk() 62 while (WriteFile(FileHandle, Data, DataLength, &WriteBytes, NULL)) { in SaveFileToDisk() 90 CloseHandle(FileHandle); in SaveFileToDisk()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/FwVol/ |
D | FwVol.c | 201 IN EFI_PEI_FILE_HANDLE FileHandle in FileHandleToVolume() argument 219 if (((UINT64) (UINTN) FileHandle > (UINT64) (UINTN) FwVolHeader ) && \ in FileHandleToVolume() 220 … ((UINT64) (UINTN) FileHandle <= ((UINT64) (UINTN) FwVolHeader + FwVolHeader->FvLength - 1))) { in FileHandleToVolume() 262 IN OUT EFI_PEI_FILE_HANDLE *FileHandle, in FindFileEx() argument 283 FileHeader = (EFI_FFS_FILE_HEADER **)FileHandle; in FindFileEx() 545 EFI_PEI_FILE_HANDLE FileHandle; in FirmwareVolmeInfoPpiNotifyCallback() local 642 FileHandle = NULL; in FirmwareVolmeInfoPpiNotifyCallback() 648 &FileHandle in FirmwareVolmeInfoPpiNotifyCallback() 654 FileHandle, in FirmwareVolmeInfoPpiNotifyCallback() 666 …DEBUG ((EFI_D_INFO, "Found firmware volume Image File %p in FV[%d] %p\n", FileHandle, CurFvCount, … in FirmwareVolmeInfoPpiNotifyCallback() [all …]
|
D | FwVol.h | 97 IN OUT EFI_PEI_FILE_HANDLE *FileHandle 131 OUT EFI_PEI_FILE_HANDLE *FileHandle 158 IN EFI_PEI_FILE_HANDLE FileHandle, 191 IN EFI_PEI_FILE_HANDLE FileHandle, 219 IN EFI_PEI_FILE_HANDLE FileHandle, 246 IN EFI_PEI_FILE_HANDLE FileHandle, 307 IN OUT EFI_PEI_FILE_HANDLE *FileHandle,
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | Shell.h | 195 IN SHELL_FILE_HANDLE FileHandle 239 OUT SHELL_FILE_HANDLE *FileHandle 257 IN SHELL_FILE_HANDLE FileHandle 399 IN SHELL_FILE_HANDLE FileHandle 592 IN SHELL_FILE_HANDLE FileHandle 629 IN SHELL_FILE_HANDLE FileHandle, 647 IN SHELL_FILE_HANDLE FileHandle, 842 OUT SHELL_FILE_HANDLE *FileHandle, 889 OUT SHELL_FILE_HANDLE *FileHandle 911 OUT SHELL_FILE_HANDLE *FileHandle [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/PeiServicesLib/ |
D | PeiServicesLib.c | 269 IN OUT EFI_PEI_FILE_HANDLE *FileHandle in PeiServicesFfsFindNextFile() argument 275 return (*PeiServices)->FfsFindNextFile (PeiServices, SearchType, VolumeHandle, FileHandle); in PeiServicesFfsFindNextFile() 294 IN EFI_PEI_FILE_HANDLE FileHandle, in PeiServicesFfsFindSectionData() argument 301 return (*PeiServices)->FfsFindSectionData (PeiServices, SectionType, FileHandle, SectionData); in PeiServicesFfsFindSectionData() 323 IN EFI_PEI_FILE_HANDLE FileHandle, in PeiServicesFfsFindSectionData3() argument 331 …return (*PeiServices)->FindSectionData3 (PeiServices, SectionType, SectionInstance, FileHandle, Se… in PeiServicesFfsFindSectionData3() 450 IN EFI_PEI_FILE_HANDLE FileHandle in PeiServicesRegisterForShadow() argument 453 return (*GetPeiServicesTablePointer())->RegisterForShadow (FileHandle); in PeiServicesRegisterForShadow() 477 IN CONST EFI_PEI_FILE_HANDLE FileHandle, in PeiServicesFfsGetFileInfo() argument 481 return (*GetPeiServicesTablePointer())->FfsGetFileInfo (FileHandle, FileInfo); in PeiServicesFfsGetFileInfo() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/ |
D | PatchPcdValue.py | 51 FileHandle = open(FileName, 'rb') 52 FileHandle.seek (0, 2) 53 FileLength = FileHandle.tell() 54 FileHandle.close() 87 FileHandle = open(FileName, 'rb') 89 ByteArray.fromfile(FileHandle, FileLength) 90 FileHandle.close() 200 FileHandle = open(FileName, 'wb') 201 ByteArray.tofile(FileHandle) 202 FileHandle.close()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Ppi/ |
D | FirmwareVolume.h | 90 IN OUT EFI_PEI_FILE_HANDLE *FileHandle 125 OUT EFI_PEI_FILE_HANDLE *FileHandle 152 IN EFI_PEI_FILE_HANDLE FileHandle, 179 IN EFI_PEI_FILE_HANDLE FileHandle, 229 IN EFI_PEI_FILE_HANDLE FileHandle, 262 IN EFI_PEI_FILE_HANDLE FileHandle,
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/SecPeiServicesLib/ |
D | PeiServicesLib.c | 28 IN OUT EFI_PEI_FILE_HANDLE *FileHandle 34 IN EFI_PEI_FILE_HANDLE FileHandle, 287 IN OUT EFI_PEI_FILE_HANDLE *FileHandle in PeiServicesFfsFindNextFile() argument 290 return SecFfsFindNextFile (SearchType, VolumeHandle, FileHandle); in PeiServicesFfsFindNextFile() 309 IN EFI_PEI_FILE_HANDLE FileHandle, in PeiServicesFfsFindSectionData() argument 313 return SecFfsFindSectionData (SectionType, FileHandle, SectionData); in PeiServicesFfsFindSectionData() 424 IN EFI_PEI_FILE_HANDLE FileHandle in PeiServicesRegisterForShadow() argument 452 IN CONST EFI_PEI_FILE_HANDLE FileHandle, in PeiServicesFfsGetFileInfo() argument 487 OUT EFI_PEI_FILE_HANDLE *FileHandle in PeiServicesFfsFindFileByName() argument
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/FileExplorerLib/ |
D | FileExplorer.c | 309 if (FileContext->FileHandle != NULL) { in LibDestroyMenuEntry() 310 FileContext->FileHandle->Close (FileContext->FileHandle); in LibDestroyMenuEntry() 743 FileContext->FileHandle = LibOpenRoot (FileContext->DeviceHandle); in LibFindFileSystem() 744 if (FileContext->FileHandle == NULL) { in LibFindFileSystem() 758 …Info = (EFI_FILE_SYSTEM_VOLUME_LABEL *) LibFileInfo (FileContext->FileHandle, &gEfiFileSystemVolum… in LibFindFileSystem() 876 Dir = FileContext->FileHandle; in LibGetFileHandleFromMenu() 925 EFI_FILE_HANDLE FileHandle; in LibGetFileHandleFromDevicePath() local 948 Status = Volume->OpenVolume (Volume, &FileHandle); in LibGetFileHandleFromDevicePath() 957 *RetFileHandle = FileHandle; in LibGetFileHandleFromDevicePath() 990 LastHandle = FileHandle; in LibGetFileHandleFromDevicePath() [all …]
|
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ |
D | ShellLib.h | 58 IN SHELL_FILE_HANDLE FileHandle 83 IN SHELL_FILE_HANDLE FileHandle, 122 OUT SHELL_FILE_HANDLE *FileHandle, 160 OUT SHELL_FILE_HANDLE *FileHandle, 196 OUT SHELL_FILE_HANDLE *FileHandle 231 IN SHELL_FILE_HANDLE FileHandle, 265 IN SHELL_FILE_HANDLE FileHandle, 285 IN SHELL_FILE_HANDLE *FileHandle 305 IN SHELL_FILE_HANDLE *FileHandle 331 IN SHELL_FILE_HANDLE FileHandle, [all …]
|