Searched refs:PadSize (Results 1 – 4 of 4) sorted by relevance
435 UINTN PadSize; in FvCreateNewFileInsidePadFile() local461 &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 …]
153 UINTN PadSize; in CalculatePadFileSize() local162 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() argument341 *PadSize = PadFileSize; in FvLocateFreeSpaceEntry()[all …]
673 OUT UINTN *PadSize,698 OUT UINTN *PadSize,725 OUT UINTN *PadSize,
974 UINT32 PadSize; in AdjustInternalFfsPadding() local1019 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()