Searched defs:ScratchSize (Results 1 - 11 of 11) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellDebug1CommandsLib/
H A DEfiDecompress.c46 UINT32 ScratchSize; local
133 Status = Decompress->GetInfo(Decompress, InBuffer, (UINT32)InSize, &OutSize, &ScratchSize);
137 ScratchBuffer = AllocateZeroPool(ScratchSize);
141 Status = Decompress->Decompress(Decompress, InBuffer, (UINT32)InSize, OutBuffer, OutSize, ScratchBuffer, ScratchSize);
H A DLoadPciRom.c218 UINT32 ScratchSize; local
296 &ScratchSize
301 Scratch = AllocateZeroPool (ScratchSize);
310 ScratchSize
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/PciBusDxe/
H A DPciOptionRomSupport.c53 UINT32 ScratchSize; local
124 &ScratchSize
136 Scratch = AllocatePool (ScratchSize);
148 ScratchSize
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VolInfo/
H A DVolInfo.c1239 UINT32 ScratchSize; local
1339 Status = GetInfoFunction (CompressedBuffer, CompressedLength, &DstSize, &ScratchSize);
1350 ScratchBuffer = malloc (ScratchSize);
1361 ScratchSize
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/
H A DSectionExtraction.c682 UINT32 ScratchSize; local
778 &ScratchSize
789 ScratchBuffer = AllocatePool (ScratchSize);
803 ScratchSize
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/SectionExtraction/
H A DCoreSectionExtraction.c633 UINT32 ScratchSize; local
729 &ScratchSize
740 ScratchBuffer = AllocatePool (ScratchSize);
754 ScratchSize
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DDecompress.c668 OUT UINT32 *ScratchSize
681 ScratchSize - The size of scratch buffer.
692 *ScratchSize = sizeof (SCRATCH_DATA);
710 IN UINT32 ScratchSize
725 ScratchSize - The size of scratch buffer.
746 if (ScratchSize < sizeof (SCRATCH_DATA)) {
803 OUT UINT32 *ScratchSize
816 ScratchSize - The size of scratch buffer.
825 return GetInfo (Source, SrcSize, DstSize, ScratchSize);
833 OUT UINT32 *ScratchSize
938 UINT32 ScratchSize; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Variable/RuntimeDxe/
H A DVariable.c1372 UINTN ScratchSize; local
1530 ScratchSize = MAX (PcdGet32 (PcdMaxVariableSize), PcdGet32 (PcdMaxHardwareErrorVariableSize));
1532 SetMem (NextVariable, ScratchSize, 0xff);
2411 UINTN ScratchSize; local
2449 ScratchSize = MAX (PcdGet32 (PcdMaxVariableSize), PcdGet32 (PcdMaxHardwareErrorVariableSize));
2450 VolatileVariableStore = AllocateRuntimePool (PcdGet32 (PcdVariableStoreSize) + ScratchSize);
2456 SetMem (VolatileVariableStore, PcdGet32 (PcdVariableStoreSize) + ScratchSize, 0xff);
/vbox/src/VBox/Devices/EFI/Firmware/OvmfPkg/Library/PlatformBdsLib/
H A DBdsPlatform.c1694 UINT32 ScratchSize; local
1774 &ScratchSize
1780 Scratch = AllocatePool (ScratchSize);
1789 ScratchSize
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
H A DVariable.c1880 UINTN ScratchSize; local
2011 ScratchSize = MAX (PcdGet32 (PcdMaxVariableSize), PcdGet32 (PcdMaxHardwareErrorVariableSize));
2014 SetMem (NextVariableHeader, ScratchSize, 0xff);
3031 UINTN ScratchSize; local
3061 ScratchSize = MAX (PcdGet32 (PcdMaxVariableSize), PcdGet32 (PcdMaxHardwareErrorVariableSize));
3062 VolatileVariableStore = AllocateRuntimePool (PcdGet32 (PcdVariableStoreSize) + ScratchSize);
3068 SetMem (VolatileVariableStore, PcdGet32 (PcdVariableStoreSize) + ScratchSize, 0xff);
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/RuntimeDxe/
H A DVariable.c1382 UINTN ScratchSize; local
1443 ScratchSize = MAX (PcdGet32 (PcdMaxVariableSize), PcdGet32 (PcdMaxHardwareErrorVariableSize));
1444 ScratchDataSize = ScratchSize - sizeof (VARIABLE_HEADER) - StrSize (VariableName) - GET_PAD_SIZE (StrSize (VariableName));
1629 SetMem (NextVariable, ScratchSize, 0xff);
2573 UINTN ScratchSize; local
2611 ScratchSize = MAX (PcdGet32 (PcdMaxVariableSize), PcdGet32 (PcdMaxHardwareErrorVariableSize));
2612 VolatileVariableStore = AllocateRuntimePool (PcdGet32 (PcdVariableStoreSize) + ScratchSize);
2618 SetMem (VolatileVariableStore, PcdGet32 (PcdVariableStoreSize) + ScratchSize, 0xff);

Completed in 82 milliseconds