/device/linaro/bootloader/edk2/EmulatorPkg/Library/SecPeiServicesLib/ |
D | FwVol.c | 136 UINT32 FileOffset; in SecFfsFindNextFile() local 171 FileOffset = (UINT32) ((UINT8 *) FfsFileHeader - (UINT8 *) FwVolHeader); in SecFfsFindNextFile() 173 while (FileOffset < (FvLength - sizeof (EFI_FFS_FILE_HEADER))) { in SecFfsFindNextFile() 182 FileOffset += sizeof (EFI_FFS_FILE_HEADER); in SecFfsFindNextFile() 199 FileOffset += FileOccupiedSize; in SecFfsFindNextFile() 209 FileOffset += FileOccupiedSize; in SecFfsFindNextFile()
|
/device/linaro/bootloader/edk2/Nt32Pkg/Sec/ |
D | FwVol.c | 140 UINT32 FileOffset; in SecFfsFindNextFile() local 167 FileOffset = (UINT32) ((UINT8 *) FfsFileHeader - (UINT8 *) FwVolHeader); in SecFfsFindNextFile() 169 while (FileOffset < (FvLength - sizeof (EFI_FFS_FILE_HEADER))) { in SecFfsFindNextFile() 178 FileOffset += sizeof (EFI_FFS_FILE_HEADER); in SecFfsFindNextFile() 195 FileOffset += FileOccupiedSize; in SecFfsFindNextFile() 205 FileOffset += FileOccupiedSize; in SecFfsFindNextFile()
|
D | SecMain.h | 479 IN UINTN FileOffset,
|
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugAgentSymbolsBaseLib/ |
D | DebugAgentSymbolsBaseLib.c | 111 UINTN FileOffset; in GetFfsFile() local 122 FileOffset = FwVolHeader->HeaderLength; in GetFfsFile() 130 while (FileOffset < (FvLength - sizeof (EFI_FFS_FILE_HEADER))) { in GetFfsFile() 137 FileOffset += sizeof(EFI_FFS_FILE_HEADER); in GetFfsFile() 156 FileOffset += FileOccupiedSize; in GetFfsFile() 163 FileOffset += FileOccupiedSize; in GetFfsFile()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/DxeHobPeCoffLib/ |
D | DxeHobPeCoff.c | 168 IN UINTN FileOffset, in PeCoffLoaderImageReadFromMemory() argument 175 FileOffset, in PeCoffLoaderImageReadFromMemory()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | PeCoffLib.h | 73 IN UINTN FileOffset, 333 IN UINTN FileOffset,
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/ |
D | FwVol.c | 176 UINT32 FileOffset; in FindFileEx() local 215 FileOffset = (UINT32) ((UINT8 *)FfsFileHeader - (UINT8 *)FwVolHeader); in FindFileEx() 216 ASSERT (FileOffset <= 0xFFFFFFFF); in FindFileEx() 218 while (FileOffset < (FvLength - sizeof (EFI_FFS_FILE_HEADER))) { in FindFileEx() 227 FileOffset += sizeof(EFI_FFS_FILE_HEADER); in FindFileEx() 253 FileOffset += FileOccupiedSize; in FindFileEx() 260 FileOffset += FileOccupiedSize; in FindFileEx()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpm2MeasureBootLib/ |
D | DxeTpm2MeasureBootLib.c | 84 IN UINTN FileOffset, in DxeTpm2MeasureBootLibImageRead() argument 95 if (MAX_ADDRESS - FileOffset < *ReadSize) { in DxeTpm2MeasureBootLibImageRead() 99 EndPosition = FileOffset + *ReadSize; in DxeTpm2MeasureBootLibImageRead() 101 *ReadSize = (UINT32)(mTcg2ImageSize - FileOffset); in DxeTpm2MeasureBootLibImageRead() 104 if (FileOffset >= mTcg2ImageSize) { in DxeTpm2MeasureBootLibImageRead() 108 CopyMem (Buffer, (UINT8 *)((UINTN) FileHandle + FileOffset), *ReadSize); in DxeTpm2MeasureBootLibImageRead()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/ |
D | EdkIIGluePeCoffLib.h | 62 IN UINTN FileOffset, 191 IN UINTN FileOffset,
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmShellCmdRunAxf/ |
D | ArmShellCmdRunAxf.h | 36 UINTN FileOffset; // Where the data is from, Src member
|
D | BootMonFsLoader.c | 141 LoadNode->FileOffset = (UINTN)FileData + Info.Region[Index].Offset; in BootMonFsLoadFile()
|
D | RunAxf.c | 262 CopyMem ((VOID *)LoadNode->MemOffset, (VOID *)LoadNode->FileOffset, in ShellDynCmdRunAxfHandler()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/ |
D | DxeTpmMeasureBootLib.c | 82 IN UINTN FileOffset, in DxeTpmMeasureBootLibImageRead() argument 93 if (MAX_ADDRESS - FileOffset < *ReadSize) { in DxeTpmMeasureBootLibImageRead() 97 EndPosition = FileOffset + *ReadSize; in DxeTpmMeasureBootLibImageRead() 99 *ReadSize = (UINT32)(mTpmImageSize - FileOffset); in DxeTpmMeasureBootLibImageRead() 102 if (FileOffset >= mTpmImageSize) { in DxeTpmMeasureBootLibImageRead() 106 CopyMem (Buffer, (UINT8 *)((UINTN) FileHandle + FileOffset), *ReadSize); in DxeTpmMeasureBootLibImageRead()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/Protocol/ |
D | PeCoffLoader.h | 163 IN UINTN FileOffset,
|
/device/linaro/bootloader/edk2/DuetPkg/FvbRuntimeService/ |
D | FWBlockService.c | 88 UINTN FileOffset; in FlashFdWrite() local 100 FileOffset = 0; in FlashFdWrite() 104 FileOffset = Address - FwhInstance->FvBase[FVB_PHYSICAL] - FwhInstance->Offset; in FlashFdWrite() 109 Status = FileWrite (File, FileOffset, BufferForFile, Length); in FlashFdWrite() 136 UINTN FileOffset; in FlashFdErase() local 149 FileOffset = 0; in FlashFdErase() 153 FileOffset = Address - FwhInstance->FvBase[FVB_PHYSICAL] - FwhInstance->Offset; in FlashFdErase() 158 Status = FileWrite (File, FileOffset, BufferForFile, Length); in FlashFdErase()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Image/ |
D | Image.c | 46 IN UINTN FileOffset, in PeiImageRead() argument 55 Source8 = (CHAR8 *) ((UINTN) FileHandle + FileOffset); in PeiImageRead() 80 IN UINTN FileOffset, in PeiImageReadForShadow() argument 90 Source8 = (CHAR8 *) ((UINTN) FileHandle + FileOffset); in PeiImageReadForShadow()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Guid/PeiPeCoffLoader/ |
D | PeiPeCoffLoader.h | 48 IN UINTN FileOffset,
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | PeCoffLib.h | 42 IN UINTN FileOffset,
|
D | BasePeCoff.c | 435 if (DebugEntry.RVA == 0 && DebugEntry.FileOffset != 0) { in PeCoffLoaderGetImageInfo() 1120 if (DebugEntry->RVA == 0 && DebugEntry->FileOffset != 0) { in PeCoffLoaderLoadImage() 1151 DebugEntry->FileOffset, in PeCoffLoaderLoadImage() 1158 … DebugEntry->FileOffset + sizeof (EFI_TE_IMAGE_HEADER) - TeHdr->StrippedSize, in PeCoffLoaderLoadImage()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/FwVol/ |
D | FwVol.c | 272 UINT32 FileOffset; in FindFileEx() local 327 FileOffset = (UINT32) ((UINT8 *)FfsFileHeader - (UINT8 *)FwVolHeader); in FindFileEx() 328 ASSERT (FileOffset <= 0xFFFFFFFF); in FindFileEx() 330 while (FileOffset < (FvLength - sizeof (EFI_FFS_FILE_HEADER))) { in FindFileEx() 343 FileOffset += sizeof (EFI_FFS_FILE_HEADER2); in FindFileEx() 346 FileOffset += sizeof (EFI_FFS_FILE_HEADER); in FindFileEx() 365 FileOffset += FileOccupiedSize; in FindFileEx() 413 FileOffset += FileOccupiedSize; in FindFileEx() 428 FileOffset += FileOccupiedSize; in FindFileEx()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/ |
D | BasePeCoff.c | 355 if (DebugEntry.RVA == 0 && DebugEntry.FileOffset != 0) { in GluePeCoffLoaderGetImageInfo() 1056 if (DebugEntry->RVA == 0 && DebugEntry->FileOffset != 0) { in GluePeCoffLoaderLoadImage() 1087 DebugEntry->FileOffset, in GluePeCoffLoaderLoadImage() 1094 … DebugEntry->FileOffset + sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize, in GluePeCoffLoaderLoadImage() 1349 IN UINTN FileOffset, in PeCoffLoaderImageReadFromMemory() argument 1354 CopyMem (Buffer, ((UINT8 *)FileHandle) + FileOffset, *ReadSize); in PeCoffLoaderImageReadFromMemory()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/ |
D | PeCoffLoader.c | 553 if (DebugEntry.RVA == 0 && DebugEntry.FileOffset != 0) { in PeCoffLoaderGetImageInfo() 1307 if (DebugEntry->RVA == 0 && DebugEntry->FileOffset != 0) { in PeCoffLoaderLoadImage() 1338 DebugEntry->FileOffset, in PeCoffLoaderLoadImage() 1345 … DebugEntry->FileOffset + sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->StrippedSize, in PeCoffLoaderLoadImage()
|
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
D | Host.h | 246 IN UINTN FileOffset,
|
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/ |
D | BasePeCoff.c | 771 if (DebugEntry.RVA == 0 && DebugEntry.FileOffset != 0) { in PeCoffLoaderGetImageInfo() 1496 if (DebugEntry->RVA == 0 && DebugEntry->FileOffset != 0) { in PeCoffLoaderLoadImage() 1516 DebugEntry->FileOffset - TeStrippedOffset, in PeCoffLoaderLoadImage() 1918 IN UINTN FileOffset, in PeCoffLoaderImageReadFromMemory() argument 1927 CopyMem (Buffer, ((UINT8 *)FileHandle) + FileOffset, *ReadSize); in PeCoffLoaderImageReadFromMemory()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/ |
D | DxeImageVerificationLib.c | 112 IN UINTN FileOffset, in DxeImageVerificationLibImageRead() argument 123 if (MAX_ADDRESS - FileOffset < *ReadSize) { in DxeImageVerificationLibImageRead() 127 EndPosition = FileOffset + *ReadSize; in DxeImageVerificationLibImageRead() 129 *ReadSize = (UINT32)(mImageSize - FileOffset); in DxeImageVerificationLibImageRead() 132 if (FileOffset >= mImageSize) { in DxeImageVerificationLibImageRead() 136 CopyMem (Buffer, (UINT8 *)((UINTN) FileHandle + FileOffset), *ReadSize); in DxeImageVerificationLibImageRead()
|