Home
last modified time | relevance | path

Searched refs:AllocatePool (Results 1 – 25 of 548) sorted by relevance

12345678910>>...22

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/
DEfiLibAllocate.c48 gBS->AllocatePool (EfiBootServicesData, AllocationSize, &Memory); in EfiLibAllocatePool()
75 gBS->AllocatePool (EfiRuntimeServicesData, AllocationSize, &Memory); in EfiLibAllocateRuntimePool()
166 gBS->AllocatePool (EfiBootServicesData, AllocationSize, &Memory); in EfiLibAllocateCopyPool()
201 gBS->AllocatePool (EfiRuntimeServicesData, AllocationSize, &Memory); in EfiLibAllocateRuntimeCopyPool()
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DMemoryAllocationLib.c35 AllocatePool ( in AllocatePool() function
64 Buffer = AllocatePool (AllocationSize); in AllocateZeroPool()
106 NewBuffer = AllocatePool (NewSize); in ReallocatePool()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DBBSsupport.c71 BbsIndexArray = AllocatePool (BootOrderSize); in OrderLegacyBootOption4SameType()
72 DeviceTypeArray = AllocatePool (BootOrderSize); in OrderLegacyBootOption4SameType()
73 *EnBootOption = AllocatePool (BootOrderSize); in OrderLegacyBootOption4SameType()
74 *DisBootOption = AllocatePool (BootOrderSize); in OrderLegacyBootOption4SameType()
115 NewBootOption = AllocatePool (DevOrderCount * sizeof (UINT16)); in OrderLegacyBootOption4SameType()
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DVariable.c53 VariableName = AllocatePool (VariableNameLen * sizeof (CHAR16)); in EblGetCmd()
65 Value = AllocatePool (Size); in EblGetCmd()
132 VariableName = AllocatePool (VariableNameLen * sizeof (CHAR16)); in EblSetCmd()
178 VariableName = AllocatePool (VariableNameLen * sizeof (CHAR16)); in EblSetCmd()
/device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/
DHashVerify.c104 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
156 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
208 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
260 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
312 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
364 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
DHmacVerify.c99 HmacCtx = AllocatePool (CtxSize); in ValidateCryptHmac()
139 HmacCtx = AllocatePool (CtxSize); in ValidateCryptHmac()
178 HmacCtx = AllocatePool (CtxSize); in ValidateCryptHmac()
DRsaVerify.c138 KeyBuffer = AllocatePool (KeySize); in ValidateCryptRsa()
168 KeyBuffer = AllocatePool (KeySize); in ValidateCryptRsa()
231 KeyBuffer = AllocatePool (KeySize); in ValidateCryptRsa()
308 Sha1Ctx = AllocatePool (CtxSize); in ValidateCryptRsa()
368 Signature = AllocatePool (SigSize); in ValidateCryptRsa()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/
DUefiDevicePathLib.c159 NewDevicePath = AllocatePool (Size); in GlueAppendDevicePath()
212 TempDevicePath = AllocatePool (NodeLength + sizeof (EFI_DEVICE_PATH_PROTOCOL)); in GlueAppendDevicePathNode()
275 NewDevicePath = AllocatePool (SrcSize + InstanceSize); in GlueAppendDevicePathInstance()
404 DevicePath = AllocatePool (NodeLength); in CreateDeviceNode()
514 FileDevicePath = AllocatePool (Size + SIZE_OF_FILEPATH_DEVICE_PATH + EFI_END_DEVICE_PATH_LENGTH); in GlueFileDevicePath()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
DPchInitPeim.c633 …Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (EFI_PEI_PPI_DESCRIPTOR), (void **)&Pch…
636 …Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (PCH_PLATFORM_POLICY_PPI), (void **)&Pc…
639 …Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (PCH_HPET_CONFIG), (void **)&HpetConfig…
642 …Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (PCH_PCIE_CONFIG), (void **)&PcieConfig…
645 …Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (PCH_IOAPIC_CONFIG), (void **)&IoApicCo…
648 …Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (PCH_LPSS_CONFIG), (void **)&LpssConfig…
755 …Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (EFI_PEI_PPI_DESCRIPTOR), (void **)&Pei…
758 …Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (PCH_USB_POLICY_PPI), (void **)&PeiPchU…
762 Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (PCH_USB_CONFIG), (void **)&UsbConfig);
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/
DParseUpdateProfile.c189 CommentItem = AllocatePool (sizeof (COMMENT_LINE)); in ProfileGetComments()
200 CommentItem->ptrComment = AllocatePool (BufferSize + 1); in ProfileGetComments()
268 SectionItem = AllocatePool (sizeof (SECTION_ITEM)); in ProfileGetSection()
283 SectionItem->ptrSection = AllocatePool (Length + 1); in ProfileGetSection()
366 SectionItem = AllocatePool (sizeof (SECTION_ITEM)); in ProfileGetEntry()
381 SectionItem->ptrSection = AllocatePool (PtrSection->SecNameLen + 1); in ProfileGetEntry()
390 SectionItem->ptrEntry = AllocatePool (Length + 1); in ProfileGetEntry()
418 SectionItem->ptrValue = AllocatePool (Length + 1); in ProfileGetEntry()
823 PtrLine = AllocatePool (MaxLineLength); in PreProcessDataFile()
850 PtrLine = AllocatePool (LineLength); in PreProcessDataFile()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Dxe/SaveMemoryConfig/
DSaveMemoryConfig.c84 VariableData = AllocatePool (BufferSize); in SaveMemoryConfigEntryPoint()
95 VariableData = AllocatePool (BufferSize); in SaveMemoryConfigEntryPoint()
/device/linaro/bootloader/edk2/EmbeddedPkg/Universal/MmcDxe/
DDiagnostics.c35 mLogBuffer = AllocatePool ((UINTN)MaxBufferChar * sizeof (CHAR16)); in DiagnosticInitLog()
116 BackBuffer = AllocatePool (BufferSize); in MmcReadWriteDataTest()
117 WriteBuffer = AllocatePool (BufferSize); in MmcReadWriteDataTest()
118 ReadBuffer = AllocatePool (BufferSize); in MmcReadWriteDataTest()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/
DPeiCpuException.c100 ReservedVectors = AllocatePool (sizeof (RESERVED_VECTORS_DATA) * CPU_EXCEPTION_NUM); in InitializeCpuExceptionHandlers()
103 ExceptionHandlerData = AllocatePool (sizeof (EXCEPTION_HANDLER_DATA)); in InitializeCpuExceptionHandlers()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/
DPrePiExtractGuidedSectionLib.c224 …SavedData.ExtractHandlerGuidTable = (GUID *)AllocatePool(PcdGet32(PcdMaximumGuidedExtractHandler) … in ExtractGuidedSectionLibConstructor()
229 …SavedData.ExtractDecodeHandlerTable = (EXTRACT_GUIDED_SECTION_DECODE_HANDLER *)AllocatePool(PcdGe… in ExtractGuidedSectionLibConstructor()
234 …SavedData.ExtractGetInfoHandlerTable = (EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER *)AllocatePool(Pcd… in ExtractGuidedSectionLibConstructor()
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtSimpleFileSystemDxe/
DWinNtSimpleFileSystem.c348 Private = AllocatePool (sizeof (WIN_NT_SIMPLE_FILE_SYSTEM_PRIVATE)); in WinNtSimpleFileSystemDriverBindingStart()
360 Private->VolumeLabel = AllocatePool (StrSize (L"EFI_EMULATED")); in WinNtSimpleFileSystemDriverBindingStart()
557 PrivateFile = AllocatePool (sizeof (WIN_NT_EFI_FILE_PRIVATE)); in WinNtSimpleFileSystemOpenVolume()
563 PrivateFile->FileName = AllocatePool (StrSize (Private->FilePath)); in WinNtSimpleFileSystemOpenVolume()
569 PrivateFile->FilePath = AllocatePool (StrSize (Private->FilePath)); in WinNtSimpleFileSystemOpenVolume()
619 Status = gBS->AllocatePool ( in WinNtSimpleFileSystemOpenVolume()
921 TempFileName = AllocatePool (StrSize (FileName)); in WinNtSimpleFileSystemOpen()
962 NewPrivateFile = AllocatePool (sizeof (WIN_NT_EFI_FILE_PRIVATE)); in WinNtSimpleFileSystemOpen()
970 NewPrivateFile->FilePath = AllocatePool (StrSize (PrivateFile->FileName)); in WinNtSimpleFileSystemOpen()
985 NewPrivateFile->FileName = AllocatePool (Size); in WinNtSimpleFileSystemOpen()
[all …]
/device/linaro/bootloader/edk2/EmulatorPkg/Library/ThunkProtocolList/
DThunkProtocolList.c56 StartString = AllocatePool (StrSize (ConfigString)); in AddThunkProtocol()
77 Private = AllocatePool (sizeof (EMU_IO_THUNK_PROTOCOL_DATA)); in AddThunkProtocol()
/device/linaro/bootloader/edk2/SignedCapsulePkg/Library/IniParsingLib/
DIniParsingLib.c498 CommentItem = AllocatePool (sizeof (COMMENT_LINE)); in ProfileGetComments()
509 CommentItem->PtrComment = AllocatePool (BufferSize + 1); in ProfileGetComments()
586 SectionItem = AllocatePool (sizeof (SECTION_ITEM)); in ProfileGetSection()
601 SectionItem->PtrSection = AllocatePool (Length + 1); in ProfileGetSection()
694 SectionItem = AllocatePool (sizeof (SECTION_ITEM)); in ProfileGetEntry()
709 SectionItem->PtrSection = AllocatePool (PtrSection->SecNameLen + 1); in ProfileGetEntry()
718 SectionItem->PtrEntry = AllocatePool (Length + 1); in ProfileGetEntry()
767 SectionItem->PtrValue = AllocatePool (Length + 1); in ProfileGetEntry()
1040 PtrLine = AllocatePool (MaxLineLength); in PreProcessDataFile()
1067 PtrLine = AllocatePool (LineLength); in PreProcessDataFile()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SectionExtractionDxe/
DSectionExtractionDxe.c253 ScratchBuffer = AllocatePool (ScratchBufferSize); in CustomGuidedSectionExtract()
263 AllocatedOutputBuffer = AllocatePool (OutputBufferSize); in CustomGuidedSectionExtract()
/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/
DPciOptionRomSupport.c190 RomHeader = AllocatePool (sizeof (PCI_EXPANSION_ROM_HEADER)); in LoadOpRomImage()
195 RomPcir = AllocatePool (sizeof (PCI_DATA_STRUCTURE)); in LoadOpRomImage()
278 Image = AllocatePool ((UINT32) RomImageSize); in LoadOpRomImage()
498 DecompressedImageBuffer = AllocatePool (DestinationSize); in ProcessOpRomImage()
500 Scratch = AllocatePool (ScratchSize); in ProcessOpRomImage()
/device/linaro/bootloader/edk2/OvmfPkg/QemuVideoDxe/
DGop.c120 *Info = AllocatePool (sizeof (EFI_GRAPHICS_OUTPUT_MODE_INFORMATION)); in QemuVideoGraphicsOutputQueryMode()
203 AllocatePool (Private->FrameBufferBltConfigureSize); in QemuVideoGraphicsOutputSetMode()
322 Status = gBS->AllocatePool ( in QemuVideoGraphicsOutputConstructor()
331 Status = gBS->AllocatePool ( in QemuVideoGraphicsOutputConstructor()
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/
DMemStorage.c63 Status = gBS->AllocatePool (EfiRuntimeServicesData, sizeof(VS_DEV), (VOID **) &Dev); in MemStorageConstructor()
74 Status = gBS->AllocatePool (EfiRuntimeServicesData, Size, (VOID **) &VAR_DATA_PTR (Dev)); in MemStorageConstructor()
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/
DDnsImpl.c457 Dst->DnsServerList = AllocatePool (Len); in Dns4CopyConfigure()
499 Dst->DnsServerList = AllocatePool (Len); in Dns6CopyConfigure()
811 NewDnsCache = AllocatePool (sizeof (DNS4_CACHE)); in UpdateDns4Cache()
818 NewDnsCache->DnsCache.HostName = AllocatePool (StrSize (DnsCacheEntry.HostName)); in UpdateDns4Cache()
825 NewDnsCache->DnsCache.IpAddress = AllocatePool (sizeof (EFI_IPv4_ADDRESS)); in UpdateDns4Cache()
902 NewDnsCache = AllocatePool (sizeof (DNS6_CACHE)); in UpdateDns6Cache()
909 NewDnsCache->DnsCache.HostName = AllocatePool (StrSize (DnsCacheEntry.HostName)); in UpdateDns6Cache()
916 NewDnsCache->DnsCache.IpAddress = AllocatePool (sizeof (EFI_IPv6_ADDRESS)); in UpdateDns6Cache()
971 NewServerIp = AllocatePool (sizeof (DNS4_SERVER_IP)); in AddDns4ServerIp()
1026 NewServerIp = AllocatePool (sizeof (DNS6_SERVER_IP)); in AddDns6ServerIp()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DCpuS3.c129 mMsrSpinLocks = (MP_MSR_LOCK *) AllocatePool (sizeof (MP_MSR_LOCK) * MsrSpinLockCount); in InitMsrSpinLockByIndex()
829 …DestinationRegisterTableList[Index].RegisterTableEntry = AllocatePool (DestinationRegisterTableLis… in CopyRegisterTable()
882 mAcpiCpuData.MtrrTable = (EFI_PHYSICAL_ADDRESS)(UINTN)AllocatePool (sizeof (MTRR_SETTINGS)); in GetAcpiCpuData()
887 mAcpiCpuData.GdtrProfile = (EFI_PHYSICAL_ADDRESS)(UINTN)AllocatePool (sizeof (IA32_DESCRIPTOR)); in GetAcpiCpuData()
892 mAcpiCpuData.IdtrProfile = (EFI_PHYSICAL_ADDRESS)(UINTN)AllocatePool (sizeof (IA32_DESCRIPTOR)); in GetAcpiCpuData()
897 …mAcpiCpuData.PreSmmInitRegisterTable = (EFI_PHYSICAL_ADDRESS)(UINTN)AllocatePool (mAcpiCpuData.Num… in GetAcpiCpuData()
906 …mAcpiCpuData.RegisterTable = (EFI_PHYSICAL_ADDRESS)(UINTN)AllocatePool (mAcpiCpuData.NumberOfCpus … in GetAcpiCpuData()
921 …mGdtForAp = AllocatePool ((Gdtr->Limit + 1) + (Idtr->Limit + 1) + mAcpiCpuData.ApMachineCheckHand… in GetAcpiCpuData()
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/
DBaseMemAllocation.c25 return AllocatePool ((UINTN) size); in malloc()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiDhcp.c58 TmpStr = (CHAR8 *) AllocatePool (Length + 1); in IScsiDhcpExtractRootPath()
213 OptionList = AllocatePool (OptionCount * sizeof (EFI_DHCP4_PACKET_OPTION *)); in IScsiDhcpSelectOffer()
291 OptionList = AllocatePool (OptionCount * sizeof (EFI_DHCP4_PACKET_OPTION *)); in IScsiParseDhcpAck()
404 ParaList = AllocatePool (sizeof (EFI_DHCP4_PACKET_OPTION) + 3); in IScsiDoDhcp()

12345678910>>...22