Home
last modified time | relevance | path

Searched refs:AllocationSize (Results 1 – 25 of 27) sorted by relevance

12

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiMemoryAllocationLib/
DMemoryAllocationLib.c323 IN UINTN AllocationSize in InternalAllocatePool() argument
331 return InternalAllocatePages (MemoryType, EFI_SIZE_TO_PAGES (AllocationSize)); in InternalAllocatePool()
349 IN UINTN AllocationSize in GlueAllocatePool() argument
355 Status = PeiServicesAllocatePool (AllocationSize, &Buffer); in GlueAllocatePool()
377 IN UINTN AllocationSize in AllocateRuntimePool() argument
380 return InternalAllocatePool (EfiRuntimeServicesData, AllocationSize); in AllocateRuntimePool()
398 IN UINTN AllocationSize in AllocateReservedPool() argument
401 return InternalAllocatePool (EfiReservedMemoryType, AllocationSize); in AllocateReservedPool()
421 IN UINTN AllocationSize in InternalAllocateZeroPool() argument
426 Memory = InternalAllocatePool (PoolType, AllocationSize); in InternalAllocateZeroPool()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeMemoryAllocationLib/
DMemoryAllocationLib.c362 IN UINTN AllocationSize in InternalAllocatePool() argument
368 Status = (gBS->AllocatePool) (MemoryType, AllocationSize, &Memory); in InternalAllocatePool()
390 IN UINTN AllocationSize in GlueAllocatePool() argument
393 return InternalAllocatePool (EfiBootServicesData, AllocationSize); in GlueAllocatePool()
411 IN UINTN AllocationSize in AllocateRuntimePool() argument
414 return InternalAllocatePool (EfiRuntimeServicesData, AllocationSize); in AllocateRuntimePool()
432 IN UINTN AllocationSize in AllocateReservedPool() argument
435 return InternalAllocatePool (EfiReservedMemoryType, AllocationSize); in AllocateReservedPool()
455 IN UINTN AllocationSize in InternalAllocateZeroPool() argument
460 Memory = InternalAllocatePool (PoolType, AllocationSize); in InternalAllocateZeroPool()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/
DEfiLibAllocate.c27 IN UINTN AllocationSize in EfiLibAllocatePool() argument
48 gBS->AllocatePool (EfiBootServicesData, AllocationSize, &Memory); in EfiLibAllocatePool()
54 IN UINTN AllocationSize in EfiLibAllocateRuntimePool() argument
75 gBS->AllocatePool (EfiRuntimeServicesData, AllocationSize, &Memory); in EfiLibAllocateRuntimePool()
81 IN UINTN AllocationSize in EfiLibAllocateZeroPool() argument
101 Memory = EfiLibAllocatePool (AllocationSize); in EfiLibAllocateZeroPool()
103 gBS->SetMem (Memory, AllocationSize, 0); in EfiLibAllocateZeroPool()
111 IN UINTN AllocationSize in EfiLibAllocateRuntimeZeroPool() argument
131 Memory = EfiLibAllocateRuntimePool (AllocationSize); in EfiLibAllocateRuntimeZeroPool()
133 gBS->SetMem (Memory, AllocationSize, 0); in EfiLibAllocateRuntimeZeroPool()
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugUncachedMemoryAllocationLib/
DDebugUncachedMemoryAllocationLib.c307 IN UINTN AllocationSize, in UncachedInternalAllocateAlignedPool() argument
322 …s = UncachedInternalAllocateAlignedPages (PoolType, EFI_SIZE_TO_PAGES (AllocationSize), Alignment); in UncachedInternalAllocateAlignedPool()
327 …ysicalAddress (AlignedAddress), (VOID *)(UINTN)AlignedAddress, EFI_SIZE_TO_PAGES (AllocationSize)); in UncachedInternalAllocateAlignedPool()
335 IN UINTN AllocationSize, in UncachedAllocateAlignedPool() argument
339 return UncachedInternalAllocateAlignedPool (EfiBootServicesData, AllocationSize, Alignment); in UncachedAllocateAlignedPool()
345 IN UINTN AllocationSize, in UncachedAllocateAlignedRuntimePool() argument
349 return UncachedInternalAllocateAlignedPool (EfiRuntimeServicesData, AllocationSize, Alignment); in UncachedAllocateAlignedRuntimePool()
355 IN UINTN AllocationSize, in UncachedAllocateAlignedReservedPool() argument
359 return UncachedInternalAllocateAlignedPool (EfiReservedMemoryType, AllocationSize, Alignment); in UncachedAllocateAlignedReservedPool()
365 IN UINTN AllocationSize, in UncachedInternalAllocateAlignedZeroPool() argument
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Library/UncachedMemoryAllocationLib/
DUncachedMemoryAllocationLib.c384 IN UINTN AllocationSize, in UncachedInternalAllocateAlignedPool() argument
399 …s = UncachedInternalAllocateAlignedPages (PoolType, EFI_SIZE_TO_PAGES (AllocationSize), Alignment); in UncachedInternalAllocateAlignedPool()
410 IN UINTN AllocationSize, in UncachedAllocateAlignedPool() argument
414 return UncachedInternalAllocateAlignedPool (EfiBootServicesData, AllocationSize, Alignment); in UncachedAllocateAlignedPool()
420 IN UINTN AllocationSize, in UncachedAllocateAlignedRuntimePool() argument
424 return UncachedInternalAllocateAlignedPool (EfiRuntimeServicesData, AllocationSize, Alignment); in UncachedAllocateAlignedRuntimePool()
430 IN UINTN AllocationSize, in UncachedAllocateAlignedReservedPool() argument
434 return UncachedInternalAllocateAlignedPool (EfiReservedMemoryType, AllocationSize, Alignment); in UncachedAllocateAlignedReservedPool()
440 IN UINTN AllocationSize, in UncachedInternalAllocateAlignedZeroPool() argument
445 Memory = UncachedInternalAllocateAlignedPool (PoolType, AllocationSize, Alignment); in UncachedInternalAllocateAlignedZeroPool()
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Include/Library/
DUncachedMemoryAllocationLib.h242 IN UINTN AllocationSize
260 IN UINTN AllocationSize
278 IN UINTN AllocationSize
297 IN UINTN AllocationSize
316 IN UINTN AllocationSize
335 IN UINTN AllocationSize
357 IN UINTN AllocationSize,
380 IN UINTN AllocationSize,
403 IN UINTN AllocationSize,
444 IN UINTN AllocationSize,
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/
DEdkIIGlueMemoryAllocationLib.h220 IN UINTN AllocationSize
238 IN UINTN AllocationSize
256 IN UINTN AllocationSize
275 IN UINTN AllocationSize
294 IN UINTN AllocationSize
313 IN UINTN AllocationSize
335 IN UINTN AllocationSize,
358 IN UINTN AllocationSize,
381 IN UINTN AllocationSize,
422 IN UINTN AllocationSize,
[all …]
/device/linaro/bootloader/edk2/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/
DMemoryAllocationLib.c372 IN UINTN AllocationSize in InternalAllocatePool() argument
375 return gEmuThunk->Malloc (AllocationSize); in InternalAllocatePool()
393 IN UINTN AllocationSize in AllocatePool() argument
396 return InternalAllocatePool (EfiBootServicesData, AllocationSize); in AllocatePool()
414 IN UINTN AllocationSize in AllocateRuntimePool() argument
417 return InternalAllocatePool (EfiRuntimeServicesData, AllocationSize); in AllocateRuntimePool()
435 IN UINTN AllocationSize in AllocateReservedPool() argument
438 return InternalAllocatePool (EfiReservedMemoryType, AllocationSize); in AllocateReservedPool()
458 IN UINTN AllocationSize in InternalAllocateZeroPool() argument
463 Memory = InternalAllocatePool (PoolType, AllocationSize); in InternalAllocateZeroPool()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/UefiMemoryAllocationLib/
DMemoryAllocationLib.c372 IN UINTN AllocationSize in InternalAllocatePool() argument
378 Status = gBS->AllocatePool (MemoryType, AllocationSize, &Memory); in InternalAllocatePool()
400 IN UINTN AllocationSize in AllocatePool() argument
403 return InternalAllocatePool (EfiBootServicesData, AllocationSize); in AllocatePool()
421 IN UINTN AllocationSize in AllocateRuntimePool() argument
424 return InternalAllocatePool (EfiRuntimeServicesData, AllocationSize); in AllocateRuntimePool()
442 IN UINTN AllocationSize in AllocateReservedPool() argument
445 return InternalAllocatePool (EfiReservedMemoryType, AllocationSize); in AllocateReservedPool()
465 IN UINTN AllocationSize in InternalAllocateZeroPool() argument
470 Memory = InternalAllocatePool (PoolType, AllocationSize); in InternalAllocateZeroPool()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/
DMemoryAllocationLib.c453 IN UINTN AllocationSize in InternalAllocatePool() argument
461 Status = CoreAllocatePool (MemoryType, AllocationSize, &Memory); in InternalAllocatePool()
483 IN UINTN AllocationSize in AllocatePool() argument
488 Buffer = InternalAllocatePool (EfiBootServicesData, AllocationSize); in AllocatePool()
495 AllocationSize, in AllocatePool()
517 IN UINTN AllocationSize in AllocateRuntimePool() argument
522 Buffer = InternalAllocatePool (EfiRuntimeServicesData, AllocationSize); in AllocateRuntimePool()
529 AllocationSize, in AllocateRuntimePool()
551 IN UINTN AllocationSize in AllocateReservedPool() argument
556 Buffer = InternalAllocatePool (EfiReservedMemoryType, AllocationSize); in AllocateReservedPool()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiMemoryAllocationProfileLib/
DMemoryAllocationLib.c452 IN UINTN AllocationSize in InternalAllocatePool() argument
458 Status = gBS->AllocatePool (MemoryType, AllocationSize, &Memory); in InternalAllocatePool()
480 IN UINTN AllocationSize in AllocatePool() argument
485 Buffer = InternalAllocatePool (EfiBootServicesData, AllocationSize); in AllocatePool()
492 AllocationSize, in AllocatePool()
514 IN UINTN AllocationSize in AllocateRuntimePool() argument
519 Buffer = InternalAllocatePool (EfiRuntimeServicesData, AllocationSize); in AllocateRuntimePool()
526 AllocationSize, in AllocateRuntimePool()
548 IN UINTN AllocationSize in AllocateReservedPool() argument
553 Buffer = InternalAllocatePool (EfiReservedMemoryType, AllocationSize); in AllocateReservedPool()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/PeiMemoryAllocationLib/
DMemoryAllocationLib.c469 IN UINTN AllocationSize in InternalAllocatePool() argument
477 return InternalAllocatePages (MemoryType, EFI_SIZE_TO_PAGES (AllocationSize)); in InternalAllocatePool()
495 IN UINTN AllocationSize in AllocatePool() argument
501 Status = PeiServicesAllocatePool (AllocationSize, &Buffer); in AllocatePool()
523 IN UINTN AllocationSize in AllocateRuntimePool() argument
526 return InternalAllocatePool (EfiRuntimeServicesData, AllocationSize); in AllocateRuntimePool()
544 IN UINTN AllocationSize in AllocateReservedPool() argument
547 return InternalAllocatePool (EfiReservedMemoryType, AllocationSize); in AllocateReservedPool()
567 IN UINTN AllocationSize in InternalAllocateZeroPool() argument
572 Memory = InternalAllocatePool (PoolType, AllocationSize); in InternalAllocateZeroPool()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/
DMemoryAllocationLib.c487 IN UINTN AllocationSize in InternalAllocatePool() argument
495 Status = SmmAllocatePool (MemoryType, AllocationSize, &Memory); in InternalAllocatePool()
517 IN UINTN AllocationSize in AllocatePool() argument
522 Buffer = InternalAllocatePool (EfiRuntimeServicesData, AllocationSize); in AllocatePool()
529 AllocationSize, in AllocatePool()
551 IN UINTN AllocationSize in AllocateRuntimePool() argument
556 Buffer = InternalAllocatePool (EfiRuntimeServicesData, AllocationSize); in AllocateRuntimePool()
563 AllocationSize, in AllocateRuntimePool()
585 IN UINTN AllocationSize in AllocateReservedPool() argument
608 IN UINTN AllocationSize in InternalAllocateZeroPool() argument
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemoryAllocationLib/
DMemoryAllocationLib.c515 IN UINTN AllocationSize in InternalAllocatePool() argument
521 Status = gSmst->SmmAllocatePool (MemoryType, AllocationSize, &Memory); in InternalAllocatePool()
544 IN UINTN AllocationSize in AllocatePool() argument
547 return InternalAllocatePool (EfiRuntimeServicesData, AllocationSize); in AllocatePool()
566 IN UINTN AllocationSize in AllocateRuntimePool() argument
569 return InternalAllocatePool (EfiRuntimeServicesData, AllocationSize); in AllocateRuntimePool()
588 IN UINTN AllocationSize in AllocateReservedPool() argument
611 IN UINTN AllocationSize in InternalAllocateZeroPool() argument
616 Memory = InternalAllocatePool (PoolType, AllocationSize); in InternalAllocateZeroPool()
618 Memory = ZeroMem (Memory, AllocationSize); in InternalAllocateZeroPool()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/SmmMemoryAllocationProfileLib/
DMemoryAllocationLib.c569 IN UINTN AllocationSize in InternalAllocatePool() argument
575 Status = gSmst->SmmAllocatePool (MemoryType, AllocationSize, &Memory); in InternalAllocatePool()
598 IN UINTN AllocationSize in AllocatePool() argument
603 Buffer = InternalAllocatePool (EfiRuntimeServicesData, AllocationSize); in AllocatePool()
610 AllocationSize, in AllocatePool()
633 IN UINTN AllocationSize in AllocateRuntimePool() argument
638 Buffer = InternalAllocatePool (EfiRuntimeServicesData, AllocationSize); in AllocateRuntimePool()
645 AllocationSize, in AllocateRuntimePool()
668 IN UINTN AllocationSize in AllocateReservedPool() argument
691 IN UINTN AllocationSize in InternalAllocateZeroPool() argument
[all …]
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DMemoryAllocationLib.h218 IN UINTN AllocationSize
236 IN UINTN AllocationSize
254 IN UINTN AllocationSize
273 IN UINTN AllocationSize
292 IN UINTN AllocationSize
311 IN UINTN AllocationSize
334 IN UINTN AllocationSize,
358 IN UINTN AllocationSize,
382 IN UINTN AllocationSize,
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DMemoryAllocationLib.c36 IN UINTN AllocationSize in AllocatePool() argument
39 return (VOID*) malloc (AllocationSize); in AllocatePool()
59 IN UINTN AllocationSize in AllocateZeroPool() argument
64 Buffer = AllocatePool (AllocationSize); in AllocateZeroPool()
69 ZeroMem (Buffer, AllocationSize); in AllocateZeroPool()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/
DRtDevicePath.c38 IN UINTN AllocationSize in InternalAllocatePool() argument
59 gBS->AllocatePool (EfiBootServicesData, AllocationSize, &Memory); in InternalAllocatePool()
66 IN UINTN AllocationSize, in InternalAllocateCopyPool() argument
91 gBS->AllocatePool (EfiBootServicesData, AllocationSize, &Memory); in InternalAllocateCopyPool()
93 gBS->CopyMem (Memory, Buffer, AllocationSize); in InternalAllocateCopyPool()
102 IN UINTN AllocationSize in InternalAllocateZeroPool() argument
122 Memory = InternalAllocatePool (AllocationSize); in InternalAllocateZeroPool()
124 gBS->SetMem (Memory, AllocationSize, 0); in InternalAllocateZeroPool()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiMemoryAllocationLib/
DMemoryAllocationLib.c176 IN UINTN AllocationSize in AllocatePool() argument
187 if (AllocationSize > 0x10000) { in AllocatePool()
192 …CreateHob (EFI_HOB_TYPE_MEMORY_POOL, (UINT16)(sizeof (EFI_HOB_TYPE_MEMORY_POOL) + AllocationSize)); in AllocatePool()
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/
DRuntimeMemAllocation.c133 IN UINTN AllocationSize in LookupFreeMemRegion() argument
142 ReqPages = RT_SIZE_TO_PAGES (AllocationSize); in LookupFreeMemRegion()
223 IN UINTN AllocationSize in RuntimeAllocateMem() argument
240 AllocOffset = LookupFreeMemRegion (AllocationSize); in RuntimeAllocateMem()
249 ReqPages = RT_SIZE_TO_PAGES (AllocationSize); in RuntimeAllocateMem()
262 ZeroMem (AllocPtr, AllocationSize); in RuntimeAllocateMem()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/
DEfiDriverLib.h679 IN UINTN AllocationSize
700 IN UINTN AllocationSize
721 IN UINTN AllocationSize
742 IN UINTN AllocationSize
763 IN UINTN AllocationSize,
788 IN UINTN AllocationSize,
/device/linaro/bootloader/edk2/OvmfPkg/Library/LockBoxLib/
DLockBoxDxe.c106 IN UINTN AllocationSize in AllocateAcpiNvsPool() argument
109 return AllocateMemoryBelow4G (EfiACPIMemoryNVS, AllocationSize); in AllocateAcpiNvsPool()
DLockBoxBase.c37 IN UINTN AllocationSize in AllocateAcpiNvsPool() argument
DLockBoxLib.h49 IN UINTN AllocationSize
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckHiiLib/
DVarCheckHiiGen.h59 IN UINTN AllocationSize

12