Home
last modified time | relevance | path

Searched refs:CurrentFile (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DFvLib.c118 IN EFI_FFS_FILE_HEADER *CurrentFile, in GetNextFile() argument
166 if (CurrentFile == NULL) { in GetNextFile()
167 CurrentFile = (EFI_FFS_FILE_HEADER *) ((UINTN) mFvHeader + mFvHeader->HeaderLength); in GetNextFile()
172 Status = VerifyFfsFile (CurrentFile); in GetNextFile()
183 if ((UINTN) CurrentFile + GetLength (CurrentFile->Size) > (UINTN) mFvHeader + mFvLength) { in GetNextFile()
188 *NextFile = CurrentFile; in GetNextFile()
195 if (((UINTN) CurrentFile < (UINTN) mFvHeader + mFvHeader->HeaderLength) || in GetNextFile()
196 ((UINTN) CurrentFile + GetLength (CurrentFile->Size) > (UINTN) mFvHeader + mFvLength) in GetNextFile()
203 …*NextFile = (EFI_FFS_FILE_HEADER *) (((UINTN) CurrentFile + GetLength (CurrentFile->Size) + 0x07) … in GetNextFile()
253 EFI_FFS_FILE_HEADER *CurrentFile; in GetFileByName() local
[all …]
DFvLib.h47 IN EFI_FFS_FILE_HEADER *CurrentFile,
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DFvLib.c112 IN EFI_FFS_FILE_HEADER *CurrentFile, in GetNextFile() argument
160 if (CurrentFile == NULL) { in GetNextFile()
161 CurrentFile = (EFI_FFS_FILE_HEADER *) ((UINTN) mFvHeader + mFvHeader->HeaderLength); in GetNextFile()
166 Status = VerifyFfsFile (CurrentFile); in GetNextFile()
177 if ((UINTN) CurrentFile + GetFfsFileLength(CurrentFile) > (UINTN) mFvHeader + mFvLength) { in GetNextFile()
182 *NextFile = CurrentFile; in GetNextFile()
189 if (((UINTN) CurrentFile < (UINTN) mFvHeader + mFvHeader->HeaderLength) || in GetNextFile()
190 ((UINTN) CurrentFile + GetFfsFileLength(CurrentFile) > (UINTN) mFvHeader + mFvLength) in GetNextFile()
197 …extFile = (EFI_FFS_FILE_HEADER *) ((((UINTN) CurrentFile - (UINTN) mFvHeader + GetFfsFileLength(Cu… in GetNextFile()
247 EFI_FFS_FILE_HEADER *CurrentFile; in GetFileByName() local
[all …]
DFvLib.h43 IN EFI_FFS_FILE_HEADER *CurrentFile,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/
DGuidChk.c2069 GUID_RECORD *CurrentFile; in CheckDuplicates() local
2092 CurrentFile = gGuidList; in CheckDuplicates()
2093 while (CurrentFile != NULL) { in CheckDuplicates()
2097 (UINT32) CurrentFile->Guid.Data1, in CheckDuplicates()
2098 (UINT32) CurrentFile->Guid.Data2, in CheckDuplicates()
2099 (UINT32) CurrentFile->Guid.Data3, in CheckDuplicates()
2100 (UINT32) CurrentFile->Guid.Data4[0], in CheckDuplicates()
2101 (UINT32) CurrentFile->Guid.Data4[1], in CheckDuplicates()
2102 (UINT32) CurrentFile->Guid.Data4[2], in CheckDuplicates()
2103 (UINT32) CurrentFile->Guid.Data4[3], in CheckDuplicates()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/
DVolInfo.c475 EFI_FFS_FILE_HEADER *CurrentFile; in PrintFvInfo() local
489 Status = FvBufFindNextFile (Fv, &Key, (VOID **) &CurrentFile); in PrintFvInfo()
497 while (CurrentFile != NULL) { in PrintFvInfo()
506 Status = PrintFileInfo (Fv, CurrentFile, ErasePolarity); in PrintFvInfo()
514 Status = FvBufFindNextFile (Fv, &Key, (VOID **) &CurrentFile); in PrintFvInfo()
516 CurrentFile = NULL; in PrintFvInfo()