/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SectionExtractionDxe/ |
D | SectionExtractionDxe.c | 222 VOID *ScratchBuffer; in CustomGuidedSectionExtract() local 231 ScratchBuffer = NULL; in CustomGuidedSectionExtract() 253 ScratchBuffer = AllocatePool (ScratchBufferSize); in CustomGuidedSectionExtract() 254 if (ScratchBuffer == NULL) { in CustomGuidedSectionExtract() 265 FreePool (ScratchBuffer); in CustomGuidedSectionExtract() 277 ScratchBuffer, in CustomGuidedSectionExtract() 287 if (ScratchBuffer != NULL) { in CustomGuidedSectionExtract() 288 FreePool (ScratchBuffer); in CustomGuidedSectionExtract() 311 if (ScratchBuffer != NULL) { in CustomGuidedSectionExtract() 312 FreePool (ScratchBuffer); in CustomGuidedSectionExtract()
|
/device/linaro/bootloader/edk2/IntelFspPkg/FspDxeIpl/ |
D | DxeIpl.c | 171 UINT8 *ScratchBuffer; in CustomGuidedSectionExtract() local 179 ScratchBuffer = NULL; in CustomGuidedSectionExtract() 200 ScratchBuffer = AllocatePages (EFI_SIZE_TO_PAGES (ScratchBufferSize)); in CustomGuidedSectionExtract() 201 if (ScratchBuffer == NULL) { in CustomGuidedSectionExtract() 225 ScratchBuffer, in CustomGuidedSectionExtract() 274 UINT8 *ScratchBuffer; in Decompress() local 324 ScratchBuffer = AllocatePages (EFI_SIZE_TO_PAGES (ScratchBufferSize)); in Decompress() 325 if (ScratchBuffer == NULL) { in Decompress() 346 ScratchBuffer in Decompress()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SectionExtractionPei/ |
D | SectionExtractionPei.c | 158 UINT8 *ScratchBuffer; in CustomGuidedSectionExtract() local 166 ScratchBuffer = NULL; in CustomGuidedSectionExtract() 187 ScratchBuffer = AllocatePages (EFI_SIZE_TO_PAGES (ScratchBufferSize)); in CustomGuidedSectionExtract() 188 if (ScratchBuffer == NULL) { in CustomGuidedSectionExtract() 212 ScratchBuffer, in CustomGuidedSectionExtract()
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/ |
D | EfiDecompress.c | 48 VOID *ScratchBuffer; in ShellCommandRunEfiDecompress() local 60 ScratchBuffer = NULL; in ShellCommandRunEfiDecompress() 146 ScratchBuffer = AllocateZeroPool(ScratchSize); in ShellCommandRunEfiDecompress() 147 if (OutBuffer == NULL || ScratchBuffer == NULL) { in ShellCommandRunEfiDecompress() 150 …Decompress (Decompress, InBuffer, (UINT32) InSize, OutBuffer, OutSize, ScratchBuffer, ScratchSize); in ShellCommandRunEfiDecompress() 183 SHELL_FREE_NON_NULL(ScratchBuffer); in ShellCommandRunEfiDecompress()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/ |
D | DxeLoad.c | 557 UINT8 *ScratchBuffer; in CustomGuidedSectionExtract() local 565 ScratchBuffer = NULL; in CustomGuidedSectionExtract() 586 ScratchBuffer = AllocatePages (EFI_SIZE_TO_PAGES (ScratchBufferSize)); in CustomGuidedSectionExtract() 587 if (ScratchBuffer == NULL) { in CustomGuidedSectionExtract() 611 ScratchBuffer, in CustomGuidedSectionExtract() 660 UINT8 *ScratchBuffer; in Decompress() local 711 ScratchBuffer = AllocatePages (EFI_SIZE_TO_PAGES (ScratchBufferSize)); in Decompress() 712 if (ScratchBuffer == NULL) { in Decompress() 733 ScratchBuffer in Decompress()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/ |
D | GuidedSectionExtraction.c | 137 OUT VOID *ScratchBuffer, OPTIONAL in LzmaGuidedSectionExtraction() argument 160 ScratchBuffer in LzmaGuidedSectionExtraction() 178 ScratchBuffer in LzmaGuidedSectionExtraction()
|
D | F86GuidedSectionExtraction.c | 139 OUT VOID *ScratchBuffer, OPTIONAL in LzmaArchGuidedSectionExtraction() argument 177 ScratchBuffer in LzmaArchGuidedSectionExtraction()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/ |
D | GuidedSectionExtraction.c | 137 OUT VOID *ScratchBuffer, OPTIONAL in LzmaGuidedSectionExtraction() argument 160 ScratchBuffer in LzmaGuidedSectionExtraction() 178 ScratchBuffer in LzmaGuidedSectionExtraction()
|
D | F86GuidedSectionExtraction.c | 139 OUT VOID *ScratchBuffer, OPTIONAL in LzmaArchGuidedSectionExtraction() argument 177 ScratchBuffer in LzmaArchGuidedSectionExtraction()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/SectionExtraction/ |
D | CoreSectionExtraction.c | 685 VOID *ScratchBuffer; in CreateChildNode() local 793 ScratchBuffer = AllocatePool (ScratchSize); in CreateChildNode() 794 if (ScratchBuffer == NULL) { in CreateChildNode() 806 ScratchBuffer, in CreateChildNode() 809 CoreFreePool (ScratchBuffer); in CreateChildNode() 1511 VOID *ScratchBuffer; in CustomGuidedSectionExtract() local 1520 ScratchBuffer = NULL; in CustomGuidedSectionExtract() 1542 ScratchBuffer = AllocatePool (ScratchBufferSize); in CustomGuidedSectionExtract() 1543 if (ScratchBuffer == NULL) { in CustomGuidedSectionExtract() 1554 FreePool (ScratchBuffer); in CustomGuidedSectionExtract() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | ExtractGuidedSectionLib.h | 106 IN VOID *ScratchBuffer, OPTIONAL 245 IN VOID *ScratchBuffer, OPTIONAL
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/ |
D | RuntimeMemAllocation.c | 82 IN OUT UINT8 *ScratchBuffer, in InitializeScratchMemory() argument 92 if (ScratchBuffer == NULL) { in InitializeScratchMemory() 100 mRTPageTable = (RT_MEMORY_PAGE_TABLE *)ScratchBuffer; in InitializeScratchMemory() 116 mRTPageTable->DataAreaBase = ScratchBuffer + sizeof (RT_MEMORY_PAGE_TABLE) + in InitializeScratchMemory()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePi/ |
D | LzmaDecompress.h | 98 OUT VOID *ScratchBuffer, OPTIONAL
|
/device/linaro/bootloader/edk2/ArmVirtPkg/PrePi/ |
D | LzmaDecompress.h | 98 OUT VOID *ScratchBuffer, OPTIONAL
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/ |
D | VariableExLib.c | 189 OUT VOID **ScratchBuffer in VariableExLibGetScratchBuffer() argument 200 …*ScratchBuffer = GetEndPointer ((VARIABLE_STORE_HEADER *) ((UINTN) mVariableModuleGlobal->Variable… in VariableExLibGetScratchBuffer()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/ |
D | PrePiExtractGuidedSectionLib.c | 169 OUT VOID *ScratchBuffer, OPTIONAL in ExtractGuidedSectionDecode() argument 207 ScratchBuffer, in ExtractGuidedSectionDecode()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/ |
D | FwVol.c | 300 VOID *ScratchBuffer; in FfsProcessSection() local 350 ScratchBuffer = (VOID *)(UINTN)AllocatePages (EFI_SIZE_TO_PAGES (ScratchBufferSize)); in FfsProcessSection() 351 if (ScratchBuffer == NULL) { in FfsProcessSection() 373 ScratchBuffer in FfsProcessSection() 379 ScratchBuffer, in FfsProcessSection()
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeExtractGuidedSectionLib/ |
D | DxeExtractGuidedSectionLib.c | 350 IN VOID *ScratchBuffer, OPTIONAL in ExtractGuidedSectionDecode() argument 381 ScratchBuffer, in ExtractGuidedSectionDecode()
|
/device/linaro/bootloader/edk2/OvmfPkg/Sec/ |
D | SecMain.c | 335 VOID *ScratchBuffer; in DecompressMemFvs() local 367 ScratchBuffer = ALIGN_POINTER ((UINT8*) OutputBuffer + OutputBufferSize, SIZE_1MB); in DecompressMemFvs() 371 OutputBufferSize, ScratchBuffer, ScratchBufferSize, in DecompressMemFvs() 373 ASSERT ((UINTN)ScratchBuffer + ScratchBufferSize == in DecompressMemFvs() 379 ScratchBuffer, in DecompressMemFvs()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseExtractGuidedSectionLib/ |
D | BaseExtractGuidedSectionLib.c | 358 IN VOID *ScratchBuffer, OPTIONAL in ExtractGuidedSectionDecode() argument 400 ScratchBuffer, in ExtractGuidedSectionDecode()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/ |
D | AuthVariableLib.h | 130 OUT VOID **ScratchBuffer
|
/device/linaro/bootloader/edk2/MdePkg/Library/PeiExtractGuidedSectionLib/ |
D | PeiExtractGuidedSectionLib.c | 393 IN VOID *ScratchBuffer, OPTIONAL in ExtractGuidedSectionDecode() argument 435 ScratchBuffer, in ExtractGuidedSectionDecode()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/ |
D | SectionExtraction.c | 734 VOID *ScratchBuffer; in CreateChildNode() local 842 ScratchBuffer = AllocatePool (ScratchSize); in CreateChildNode() 843 if (ScratchBuffer == NULL) { in CreateChildNode() 855 ScratchBuffer, in CreateChildNode() 858 FreePool (ScratchBuffer); in CreateChildNode()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/ |
D | DxeCrc32GuidedSectionExtractLib.c | 121 IN VOID *ScratchBuffer, OPTIONAL in Crc32GuidedSectionHandler() argument
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/ |
D | BaseUefiTianoCustomDecompressLib.c | 982 IN VOID *ScratchBuffer, OPTIONAL in TianoDecompress() argument 1007 ScratchBuffer, in TianoDecompress() 1028 ScratchBuffer, in TianoDecompress()
|