Home
last modified time | relevance | path

Searched refs:PadSize (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
DFwPadFile.c435 UINTN PadSize; in FvCreateNewFileInsidePadFile() local
461 &PadSize, in FvCreateNewFileInsidePadFile()
506 if (PadSize != 0) { in FvCreateNewFileInsidePadFile()
510 FvFillPadFile (PadFileHeader, PadSize); in FvCreateNewFileInsidePadFile()
517 FileHeader = (EFI_FFS_FILE_HEADER *) ((UINT8 *) PadFileHeader + PadSize); in FvCreateNewFileInsidePadFile()
541 if (PadAreaLength > (BufferSize + PadSize)) { in FvCreateNewFileInsidePadFile()
542 if ((PadAreaLength - BufferSize - PadSize) >= sizeof (EFI_FFS_FILE_HEADER)) { in FvCreateNewFileInsidePadFile()
547 FvFillPadFile (TailPadFileHeader, PadAreaLength - BufferSize - PadSize); in FvCreateNewFileInsidePadFile()
562 PadAreaLength - BufferSize - PadSize in FvCreateNewFileInsidePadFile()
680 IN UINTN *PadSize, in FvCreateMultipleFilesInsidePadFile() argument
[all …]
DFwVolWrite.c153 UINTN PadSize; in CalculatePadFileSize() local
162 PadSize = 0; in CalculatePadFileSize()
166 PadSize++; in CalculatePadFileSize()
172 if ((PadSize == 0) || (PadSize >= sizeof (EFI_FFS_FILE_HEADER))) { in CalculatePadFileSize()
173 return PadSize; in CalculatePadFileSize()
180 PadSize = sizeof (EFI_FFS_FILE_HEADER); in CalculatePadFileSize()
184 PadSize++; in CalculatePadFileSize()
187 return PadSize; in CalculatePadFileSize()
317 OUT UINTN *PadSize, in FvLocateFreeSpaceEntry() argument
341 *PadSize = PadFileSize; in FvLocateFreeSpaceEntry()
[all …]
DFwVolDriver.h673 OUT UINTN *PadSize,
698 OUT UINTN *PadSize,
725 OUT UINTN *PadSize,
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/
DGenFvInternalLib.c974 UINT32 PadSize; in AdjustInternalFfsPadding() local
1019 PadSize = GetSectionFileLength (PadSection.CommonHeader); in AdjustInternalFfsPadding()
1020 if (Misalignment > PadSize - sizeof (EFI_FREEFORM_SUBTYPE_GUID_SECTION)) { in AdjustInternalFfsPadding()
1028 Remainder = (UINT8 *) PadSection.CommonHeader + PadSize; in AdjustInternalFfsPadding()
1038 PadSize -= Misalignment; in AdjustInternalFfsPadding()
1039 PadSection.CommonHeader->Size[0] = (UINT8) (PadSize & 0xff); in AdjustInternalFfsPadding()
1040 PadSection.CommonHeader->Size[1] = (UINT8) ((PadSize & 0xff00) >> 8); in AdjustInternalFfsPadding()
1041 PadSection.CommonHeader->Size[2] = (UINT8) ((PadSize & 0xff0000) >> 16); in AdjustInternalFfsPadding()