Home
last modified time | relevance | path

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

12345678910>>...21

/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/CryptoPkg/Application/Cryptest/
DHashVerify.c104 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
144 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
184 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
224 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
264 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
304 HashCtx = AllocatePool (CtxSize); in ValidateCryptDigest()
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()
DHmacVerify.c83 HmacCtx = AllocatePool (CtxSize); in ValidateCryptHmac()
123 HmacCtx = AllocatePool (CtxSize); in ValidateCryptHmac()
/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.c51 VariableName = AllocatePool((AsciiStrLen (AsciiVariableName) + 1) * sizeof (CHAR16)); in EblGetCmd()
63 Value = AllocatePool (Size); in EblGetCmd()
128 VariableName = AllocatePool((AsciiStrLen (AsciiVariableSetting) + 1) * sizeof (CHAR16)); in EblSetCmd()
173 VariableName = AllocatePool((AsciiStrLen (AsciiVariableName) + 1) * sizeof (CHAR16)); in EblSetCmd()
/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.c630 …Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (EFI_PEI_PPI_DESCRIPTOR), (void **)&Pch…
633 …Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (PCH_PLATFORM_POLICY_PPI), (void **)&Pc…
636 …Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (PCH_HPET_CONFIG), (void **)&HpetConfig…
639 …Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (PCH_PCIE_CONFIG), (void **)&PcieConfig…
642 …Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (PCH_IOAPIC_CONFIG), (void **)&IoApicCo…
645 …Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (PCH_LPSS_CONFIG), (void **)&LpssConfig…
751 …Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (EFI_PEI_PPI_DESCRIPTOR), (void **)&Pei…
754 …Status = (*PeiServices)->AllocatePool (PeiServices, sizeof (PCH_USB_POLICY_PPI), (void **)&PeiPchU…
758 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/UefiCpuPkg/PiSmmCpuDxeSmm/
DPiSmmCpuDxeSmm.c625 …DestinationRegisterTableList[Index].RegisterTableEntry = AllocatePool (DestinationRegisterTableLis… in CopyRegisterTable()
685 mAcpiCpuData.MtrrTable = (EFI_PHYSICAL_ADDRESS)(UINTN)AllocatePool (sizeof (MTRR_SETTINGS)); in SmmReadyToLockEventNotify()
690 mAcpiCpuData.GdtrProfile = (EFI_PHYSICAL_ADDRESS)(UINTN)AllocatePool (sizeof (IA32_DESCRIPTOR)); in SmmReadyToLockEventNotify()
695 mAcpiCpuData.IdtrProfile = (EFI_PHYSICAL_ADDRESS)(UINTN)AllocatePool (sizeof (IA32_DESCRIPTOR)); in SmmReadyToLockEventNotify()
700 …mAcpiCpuData.PreSmmInitRegisterTable = (EFI_PHYSICAL_ADDRESS)(UINTN)AllocatePool (mAcpiCpuData.Num… in SmmReadyToLockEventNotify()
709 …mAcpiCpuData.RegisterTable = (EFI_PHYSICAL_ADDRESS)(UINTN)AllocatePool (mAcpiCpuData.NumberOfCpus … in SmmReadyToLockEventNotify()
724 …mGdtForAp = AllocatePool ((Gdtr->Limit + 1) + (Idtr->Limit + 1) + mAcpiCpuData.ApMachineCheckHand… in SmmReadyToLockEventNotify()
988 …gSmmCpuPrivate->ProcessorInfo = (EFI_PROCESSOR_INFORMATION *)AllocatePool (sizeof (EFI_PROCESSOR_I… in PiCpuSmmEntry()
991 …gSmmCpuPrivate->Operation = (SMM_CPU_OPERATION *)AllocatePool (sizeof (SMM_CPU_OPERATION) * mMaxNu… in PiCpuSmmEntry()
994 gSmmCpuPrivate->CpuSaveStateSize = (UINTN *)AllocatePool (sizeof (UINTN) * mMaxNumberOfCpus); in PiCpuSmmEntry()
[all …]
/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/QuarkPlatformPkg/Platform/Dxe/SaveMemoryConfig/
DSaveMemoryConfig.c84 VariableData = AllocatePool (BufferSize); in SaveMemoryConfigEntryPoint()
95 VariableData = AllocatePool (BufferSize); in SaveMemoryConfigEntryPoint()
/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/NetworkPkg/DnsDxe/
DDnsImpl.c457 Dst->DnsServerList = AllocatePool (Len); in Dns4CopyConfigure()
499 Dst->DnsServerList = AllocatePool (Len); in Dns6CopyConfigure()
787 NewDnsCache = AllocatePool (sizeof (DNS4_CACHE)); in UpdateDns4Cache()
794 NewDnsCache->DnsCache.HostName = AllocatePool (StrSize (DnsCacheEntry.HostName)); in UpdateDns4Cache()
801 NewDnsCache->DnsCache.IpAddress = AllocatePool (sizeof (EFI_IPv4_ADDRESS)); in UpdateDns4Cache()
878 NewDnsCache = AllocatePool (sizeof (DNS6_CACHE)); in UpdateDns6Cache()
885 NewDnsCache->DnsCache.HostName = AllocatePool (StrSize (DnsCacheEntry.HostName)); in UpdateDns6Cache()
892 NewDnsCache->DnsCache.IpAddress = AllocatePool (sizeof (EFI_IPv6_ADDRESS)); in UpdateDns6Cache()
947 NewServerIp = AllocatePool (sizeof (DNS4_SERVER_IP)); in AddDns4ServerIp()
1002 NewServerIp = AllocatePool (sizeof (DNS6_SERVER_IP)); in AddDns6ServerIp()
[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/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/MdeModulePkg/Universal/SectionExtractionDxe/
DSectionExtractionDxe.c253 ScratchBuffer = AllocatePool (ScratchBufferSize); in CustomGuidedSectionExtract()
263 AllocatedOutputBuffer = AllocatePool (OutputBufferSize); in CustomGuidedSectionExtract()
/device/linaro/bootloader/edk2/OvmfPkg/QemuVideoDxe/
DGop.c122 *Info = AllocatePool (sizeof (EFI_GRAPHICS_OUTPUT_MODE_INFORMATION)); in QemuVideoGraphicsOutputQueryMode()
176 Private->LineBuffer = AllocatePool (4 * ModeData->HorizontalResolution); in QemuVideoGraphicsOutputSetMode()
310 Status = gBS->AllocatePool ( in QemuVideoGraphicsOutputConstructor()
319 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/UefiCpuPkg/Library/CpuExceptionHandlerLib/
DDxeException.c81 mReservedVectors = AllocatePool (sizeof (RESERVED_VECTORS_DATA) * CPU_INTERRUPT_NUM); in InitializeCpuInterruptHandlers()
112 InterruptEntryCode = AllocatePool (TemplateMap.ExceptionStubHeaderSize * CPU_INTERRUPT_NUM); in InitializeCpuInterruptHandlers()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Bds/
DBootOptionSupport.c242 SupportedDevice = (BDS_SUPPORTED_DEVICE*)AllocatePool (sizeof(BDS_SUPPORTED_DEVICE)); in BdsLoadOptionFileSystemList()
255 FsInfo = AllocatePool (Size); in BdsLoadOptionFileSystemList()
296 …FilePathDevicePath = (FILEPATH_DEVICE_PATH*)AllocatePool(SIZE_OF_FILEPATH_DEVICE_PATH + BootFilePa… in BdsLoadOptionFileSystemCreateDevicePath()
339 …FilePathDevicePath = (FILEPATH_DEVICE_PATH*)AllocatePool(SIZE_OF_FILEPATH_DEVICE_PATH + BootFilePa… in BdsLoadOptionFileSystemUpdateDevicePath()
503 SupportedDevice = (BDS_SUPPORTED_DEVICE*)AllocatePool(sizeof(BDS_SUPPORTED_DEVICE)); in BdsLoadOptionMemMapList()
542 …MemMapDevicePath = (MEMMAP_DEVICE_PATH*)AllocatePool (sizeof(MEMMAP_DEVICE_PATH) + END_DEVICE_PATH… in BdsLoadOptionMemMapCreateDevicePath()
668 SupportedDevice = (BDS_SUPPORTED_DEVICE*)AllocatePool(sizeof(BDS_SUPPORTED_DEVICE)); in BdsLoadOptionPxeList()
696 *DevicePathNodes = (EFI_DEVICE_PATH_PROTOCOL *) AllocatePool (END_DEVICE_PATH_LENGTH); in BdsLoadOptionPxeCreateDevicePath()
833 SupportedDevice = (BDS_SUPPORTED_DEVICE*)AllocatePool (sizeof (BDS_SUPPORTED_DEVICE)); in BdsLoadOptionTftpList()
914 …IPv4DevicePathNode = (IPv4_DEVICE_PATH*)AllocatePool(sizeof(IPv4_DEVICE_PATH) + SIZE_OF_FILEPATH_D… in BdsLoadOptionTftpCreateDevicePath()
[all …]
/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>>...21