/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/ |
H A D | GuidedSectionExtraction.c | 113 If ScratchBuffer is NULL and this decode operation requires a scratch buffer, then ASSERT().
119 @param[out] ScratchBuffer A caller allocated buffer that may be required by this function
137 OUT VOID *ScratchBuffer, OPTIONAL
160 ScratchBuffer
178 ScratchBuffer
134 LzmaGuidedSectionExtraction( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, OUT VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
|
H A D | F86GuidedSectionExtraction.c | 115 If ScratchBuffer is NULL and this decode operation requires a scratch buffer, then ASSERT().
121 @param[out] ScratchBuffer A caller allocated buffer that may be required by this function
139 OUT VOID *ScratchBuffer, OPTIONAL
177 ScratchBuffer
136 LzmaArchGuidedSectionExtraction( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, OUT VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/ |
H A D | GuidedSectionExtraction.c | 113 If ScratchBuffer is NULL and this decode operation requires a scratch buffer, then ASSERT().
119 @param[out] ScratchBuffer A caller allocated buffer that may be required by this function
137 OUT VOID *ScratchBuffer, OPTIONAL
160 ScratchBuffer
178 ScratchBuffer
134 LzmaGuidedSectionExtraction( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, OUT VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
|
H A D | F86GuidedSectionExtraction.c | 115 If ScratchBuffer is NULL and this decode operation requires a scratch buffer, then ASSERT().
121 @param[out] ScratchBuffer A caller allocated buffer that may be required by this function
139 OUT VOID *ScratchBuffer, OPTIONAL
177 ScratchBuffer
136 LzmaArchGuidedSectionExtraction( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, OUT VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SectionExtractionPei/ |
H A D | SectionExtractionPei.c | 158 UINT8 *ScratchBuffer;
local 166 ScratchBuffer = NULL;
187 ScratchBuffer = AllocatePages (EFI_SIZE_TO_PAGES (ScratchBufferSize));
188 if (ScratchBuffer == NULL) {
212 ScratchBuffer,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/ |
H A D | DxeCrc32GuidedSectionExtractLib.c | 47 @param ScratchBufferSize The size of ScratchBuffer.
108 @param ScratchBuffer A pointer to a caller-allocated buffer for function internal use.
121 IN VOID *ScratchBuffer, OPTIONAL
118 Crc32GuidedSectionHandler( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SectionExtractionDxe/ |
H A D | SectionExtractionDxe.c | 222 VOID *ScratchBuffer;
local 231 ScratchBuffer = NULL;
253 ScratchBuffer = AllocatePool (ScratchBufferSize);
254 if (ScratchBuffer == NULL) {
265 FreePool (ScratchBuffer);
277 ScratchBuffer,
287 if (ScratchBuffer != NULL) {
288 FreePool (ScratchBuffer);
311 if (ScratchBuffer != NULL) {
312 FreePool (ScratchBuffer);
[all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/ |
H A D | EfiDecompress.c | 48 VOID *ScratchBuffer;
local 60 ScratchBuffer = NULL;
146 ScratchBuffer = AllocateZeroPool(ScratchSize);
147 if (OutBuffer == NULL || ScratchBuffer == NULL) {
150 Status = Decompress->Decompress (Decompress, InBuffer, (UINT32) InSize, OutBuffer, OutSize, ScratchBuffer, ScratchSize);
183 SHELL_FREE_NON_NULL(ScratchBuffer);
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/ |
H A D | PrePiExtractGuidedSectionLib.c | 169 OUT VOID *ScratchBuffer, OPTIONAL
207 ScratchBuffer,
166 ExtractGuidedSectionDecode( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, OUT VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PeiCrc32GuidedSectionExtractLib/ |
H A D | PeiCrc32GuidedSectionExtractLib.c | 128 @param ScratchBufferSize The size of ScratchBuffer.
189 @param ScratchBuffer A pointer to a caller-allocated buffer for function internal use.
202 IN VOID *ScratchBuffer, OPTIONAL
199 Crc32GuidedSectionHandler( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseExtractGuidedSectionLib/ |
H A D | BaseExtractGuidedSectionLib.c | 337 If ScratchBuffer is NULL and this decode operation requires a scratch buffer, then ASSERT().
342 @param[in] ScratchBuffer A caller allocated buffer that may be required by this function as a scratch buffer to perform the decode operation.
358 IN VOID *ScratchBuffer, OPTIONAL
400 ScratchBuffer,
355 ExtractGuidedSectionDecode( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeExtractGuidedSectionLib/ |
H A D | DxeExtractGuidedSectionLib.c | 329 If ScratchBuffer is NULL and this decode operation requires a scratch buffer, then ASSERT().
334 @param[in] ScratchBuffer A caller allocated buffer that may be required by this function as a scratch buffer to perform the decode operation.
350 IN VOID *ScratchBuffer, OPTIONAL
381 ScratchBuffer,
347 ExtractGuidedSectionDecode( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
|
/device/linaro/bootloader/edk2/MdePkg/Library/PeiExtractGuidedSectionLib/ |
H A D | PeiExtractGuidedSectionLib.c | 372 If ScratchBuffer is NULL and this decode operation requires a scratch buffer, then ASSERT().
377 @param[in] ScratchBuffer A caller allocated buffer that may be required by this function as a scratch buffer to perform the decode operation.
393 IN VOID *ScratchBuffer, OPTIONAL
435 ScratchBuffer,
390 ExtractGuidedSectionDecode( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/ |
H A D | DxeRsa2048Sha256GuidedSectionExtractLib.c | 58 @param ScratchBufferSize The size of ScratchBuffer.
119 @param ScratchBuffer A pointer to a caller-allocated buffer for function internal use.
132 IN VOID *ScratchBuffer, OPTIONAL
129 Rsa2048Sha256GuidedSectionHandler( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/ |
H A D | PeiRsa2048Sha256GuidedSectionExtractLib.c | 56 @param ScratchBufferSize The size of ScratchBuffer.
117 @param ScratchBuffer A pointer to a caller-allocated buffer for function internal use.
130 IN VOID *ScratchBuffer, OPTIONAL
127 Rsa2048Sha256GuidedSectionHandler( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
|
/device/linaro/bootloader/edk2/IntelFspPkg/FspDxeIpl/ |
H A D | DxeIpl.c | 171 UINT8 *ScratchBuffer;
local 179 ScratchBuffer = NULL;
200 ScratchBuffer = AllocatePages (EFI_SIZE_TO_PAGES (ScratchBufferSize));
201 if (ScratchBuffer == NULL) {
225 ScratchBuffer,
274 UINT8 *ScratchBuffer;
local 324 ScratchBuffer = AllocatePages (EFI_SIZE_TO_PAGES (ScratchBufferSize));
325 if (ScratchBuffer == NULL) {
346 ScratchBuffer
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/ |
H A D | RuntimeMemAllocation.c | 71 Initializes pre-allocated memory pointed by ScratchBuffer for subsequent
74 @param[in, out] ScratchBuffer Pointer to user-supplied memory buffer.
82 IN OUT UINT8 *ScratchBuffer,
92 if (ScratchBuffer == NULL) {
100 mRTPageTable = (RT_MEMORY_PAGE_TABLE *)ScratchBuffer;
116 mRTPageTable->DataAreaBase = ScratchBuffer + sizeof (RT_MEMORY_PAGE_TABLE) +
81 InitializeScratchMemory( IN OUT UINT8 *ScratchBuffer, IN UINTN ScratchBufferSize ) argument
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/ |
H A D | FwVol.c | 300 VOID *ScratchBuffer;
local 350 ScratchBuffer = (VOID *)(UINTN)AllocatePages (EFI_SIZE_TO_PAGES (ScratchBufferSize));
351 if (ScratchBuffer == NULL) {
373 ScratchBuffer
379 ScratchBuffer,
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/ |
H A D | BaseUefiTianoCustomDecompressLib.c | 958 If ScratchBuffer is NULL and this decode operation requires a scratch buffer, then ASSERT().
964 @param[in] ScratchBuffer A caller allocated buffer that may be required by this function
982 IN VOID *ScratchBuffer, OPTIONAL
1007 ScratchBuffer,
1028 ScratchBuffer,
979 TianoDecompress( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/ |
H A D | DxeLoad.c | 557 UINT8 *ScratchBuffer;
local 565 ScratchBuffer = NULL;
586 ScratchBuffer = AllocatePages (EFI_SIZE_TO_PAGES (ScratchBufferSize));
587 if (ScratchBuffer == NULL) {
611 ScratchBuffer,
660 UINT8 *ScratchBuffer;
local 711 ScratchBuffer = AllocatePages (EFI_SIZE_TO_PAGES (ScratchBufferSize));
712 if (ScratchBuffer == NULL) {
733 ScratchBuffer
|
/device/linaro/bootloader/edk2/OvmfPkg/Sec/ |
H A D | SecMain.c | 335 VOID *ScratchBuffer;
local 367 ScratchBuffer = ALIGN_POINTER ((UINT8*) OutputBuffer + OutputBufferSize, SIZE_1MB);
369 DEBUG ((EFI_D_VERBOSE, "%a: OutputBuffer@%p+0x%x ScratchBuffer@%p+0x%x "
371 OutputBufferSize, ScratchBuffer, ScratchBufferSize,
373 ASSERT ((UINTN)ScratchBuffer + ScratchBufferSize ==
379 ScratchBuffer,
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/ |
H A D | SectionExtraction.c | 734 VOID *ScratchBuffer;
local 842 ScratchBuffer = AllocatePool (ScratchSize);
843 if (ScratchBuffer == NULL) {
855 ScratchBuffer,
858 FreePool (ScratchBuffer);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/SectionExtraction/ |
H A D | CoreSectionExtraction.c | 685 VOID *ScratchBuffer;
local 793 ScratchBuffer = AllocatePool (ScratchSize);
794 if (ScratchBuffer == NULL) {
806 ScratchBuffer,
809 CoreFreePool (ScratchBuffer);
1511 VOID *ScratchBuffer;
local 1520 ScratchBuffer = NULL;
1542 ScratchBuffer = AllocatePool (ScratchBufferSize);
1543 if (ScratchBuffer == NULL) {
1554 FreePool (ScratchBuffer);
[all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/ |
H A D | VolInfo.c | 1654 UINT8 *ScratchBuffer;
local 1859 ScratchBuffer = malloc (ScratchSize);
1860 if (ScratchBuffer == NULL) {
1866 free (ScratchBuffer);
1875 ScratchBuffer,
1878 free (ScratchBuffer);
|