Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DFvLib.c25 EFI_FIRMWARE_VOLUME_HEADER *mFvHeader = NULL; variable
62 mFvHeader = (EFI_FIRMWARE_VOLUME_HEADER *) Fv; in InitializeFvLib()
95 if (mFvHeader == NULL || mFvLength == 0) { in GetFvHeader()
105 *FvHeader = mFvHeader; in GetFvHeader()
141 if (mFvHeader == NULL || mFvLength == 0) { in GetNextFile()
153 Status = VerifyFv (mFvHeader); in GetNextFile()
161 CurrentFile = (EFI_FFS_FILE_HEADER *) ((UINTN) mFvHeader + mFvHeader->HeaderLength); in GetNextFile()
177 if ((UINTN) CurrentFile + GetFfsFileLength(CurrentFile) > (UINTN) mFvHeader + mFvLength) { in GetNextFile()
189 if (((UINTN) CurrentFile < (UINTN) mFvHeader + mFvHeader->HeaderLength) || in GetNextFile()
190 ((UINTN) CurrentFile + GetFfsFileLength(CurrentFile) > (UINTN) mFvHeader + mFvLength) in GetNextFile()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DFvLib.c32 EFI_FIRMWARE_VOLUME_HEADER *mFvHeader = NULL; variable
69 mFvHeader = (EFI_FIRMWARE_VOLUME_HEADER *) Fv; in InitializeFvLib()
102 if (mFvHeader == NULL || mFvLength == 0) { in GetFvHeader()
112 *FvHeader = mFvHeader; in GetFvHeader()
147 if (mFvHeader == NULL || mFvLength == 0) { in GetNextFile()
159 Status = VerifyFv (mFvHeader); in GetNextFile()
167 CurrentFile = (EFI_FFS_FILE_HEADER *) ((UINTN) mFvHeader + mFvHeader->HeaderLength); in GetNextFile()
183 if ((UINTN) CurrentFile + GetLength (CurrentFile->Size) > (UINTN) mFvHeader + mFvLength) { in GetNextFile()
195 if (((UINTN) CurrentFile < (UINTN) mFvHeader + mFvHeader->HeaderLength) || in GetNextFile()
196 ((UINTN) CurrentFile + GetLength (CurrentFile->Size) > (UINTN) mFvHeader + mFvLength) in GetNextFile()
[all …]