Home
last modified time | relevance | path

Searched refs:ScratchBuffer (Results 1 – 25 of 30) sorted by relevance

12

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SectionExtractionDxe/
DSectionExtractionDxe.c222 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/
DDxeIpl.c171 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/
DSectionExtractionPei.c158 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/
DEfiDecompress.c48 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/
DDxeLoad.c557 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/
DGuidedSectionExtraction.c137 OUT VOID *ScratchBuffer, OPTIONAL in LzmaGuidedSectionExtraction() argument
160 ScratchBuffer in LzmaGuidedSectionExtraction()
178 ScratchBuffer in LzmaGuidedSectionExtraction()
DF86GuidedSectionExtraction.c139 OUT VOID *ScratchBuffer, OPTIONAL in LzmaArchGuidedSectionExtraction() argument
177 ScratchBuffer in LzmaArchGuidedSectionExtraction()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/
DGuidedSectionExtraction.c137 OUT VOID *ScratchBuffer, OPTIONAL in LzmaGuidedSectionExtraction() argument
160 ScratchBuffer in LzmaGuidedSectionExtraction()
178 ScratchBuffer in LzmaGuidedSectionExtraction()
DF86GuidedSectionExtraction.c139 OUT VOID *ScratchBuffer, OPTIONAL in LzmaArchGuidedSectionExtraction() argument
177 ScratchBuffer in LzmaArchGuidedSectionExtraction()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/SectionExtraction/
DCoreSectionExtraction.c685 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/
DExtractGuidedSectionLib.h106 IN VOID *ScratchBuffer, OPTIONAL
245 IN VOID *ScratchBuffer, OPTIONAL
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/
DRuntimeMemAllocation.c82 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/
DLzmaDecompress.h98 OUT VOID *ScratchBuffer, OPTIONAL
/device/linaro/bootloader/edk2/ArmVirtPkg/PrePi/
DLzmaDecompress.h98 OUT VOID *ScratchBuffer, OPTIONAL
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariableExLib.c189 OUT VOID **ScratchBuffer in VariableExLibGetScratchBuffer() argument
200 …*ScratchBuffer = GetEndPointer ((VARIABLE_STORE_HEADER *) ((UINTN) mVariableModuleGlobal->Variable… in VariableExLibGetScratchBuffer()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/
DPrePiExtractGuidedSectionLib.c169 OUT VOID *ScratchBuffer, OPTIONAL in ExtractGuidedSectionDecode() argument
207 ScratchBuffer, in ExtractGuidedSectionDecode()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/
DFwVol.c300 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/
DDxeExtractGuidedSectionLib.c350 IN VOID *ScratchBuffer, OPTIONAL in ExtractGuidedSectionDecode() argument
381 ScratchBuffer, in ExtractGuidedSectionDecode()
/device/linaro/bootloader/edk2/OvmfPkg/Sec/
DSecMain.c335 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/
DBaseExtractGuidedSectionLib.c358 IN VOID *ScratchBuffer, OPTIONAL in ExtractGuidedSectionDecode() argument
400 ScratchBuffer, in ExtractGuidedSectionDecode()
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/
DAuthVariableLib.h130 OUT VOID **ScratchBuffer
/device/linaro/bootloader/edk2/MdePkg/Library/PeiExtractGuidedSectionLib/
DPeiExtractGuidedSectionLib.c393 IN VOID *ScratchBuffer, OPTIONAL in ExtractGuidedSectionDecode() argument
435 ScratchBuffer, in ExtractGuidedSectionDecode()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/
DSectionExtraction.c734 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/
DDxeCrc32GuidedSectionExtractLib.c121 IN VOID *ScratchBuffer, OPTIONAL in Crc32GuidedSectionHandler() argument
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/
DBaseUefiTianoCustomDecompressLib.c982 IN VOID *ScratchBuffer, OPTIONAL in TianoDecompress() argument
1007 ScratchBuffer, in TianoDecompress()
1028 ScratchBuffer, in TianoDecompress()

12