/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ |
H A D | EfiLibAllocate.c | 27 IN UINTN AllocationSize
37 AllocationSize - The size to allocate
48 gBS->AllocatePool (EfiBootServicesData, AllocationSize, &Memory);
54 IN UINTN AllocationSize
64 AllocationSize - The size to allocate
75 gBS->AllocatePool (EfiRuntimeServicesData, AllocationSize, &Memory);
81 IN UINTN AllocationSize
91 AllocationSize - The size to allocate
101 Memory = EfiLibAllocatePool (AllocationSize);
103 gBS->SetMem (Memory, AllocationSize, 140 EfiLibAllocateCopyPool( IN UINTN AllocationSize, IN VOID *Buffer ) argument 175 EfiLibAllocateRuntimeCopyPool( IN UINTN AllocationSize, IN VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/ |
H A D | RtDevicePath.c | 38 IN UINTN AllocationSize
48 AllocationSize - The size to allocate
59 gBS->AllocatePool (EfiBootServicesData, AllocationSize, &Memory);
66 IN UINTN AllocationSize,
78 AllocationSize - The size to allocate
91 gBS->AllocatePool (EfiBootServicesData, AllocationSize, &Memory);
93 gBS->CopyMem (Memory, Buffer, AllocationSize);
102 IN UINTN AllocationSize
112 AllocationSize - The size to allocate
122 Memory = InternalAllocatePool (AllocationSize);
65 InternalAllocateCopyPool( IN UINTN AllocationSize, IN VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/ArmPkg/Library/UncachedMemoryAllocationLib/ |
H A D | UncachedMemoryAllocationLib.c | 384 IN UINTN AllocationSize,
399 AlignedAddress = UncachedInternalAllocateAlignedPages (PoolType, EFI_SIZE_TO_PAGES (AllocationSize), Alignment);
410 IN UINTN AllocationSize,
414 return UncachedInternalAllocateAlignedPool (EfiBootServicesData, AllocationSize, Alignment);
420 IN UINTN AllocationSize,
424 return UncachedInternalAllocateAlignedPool (EfiRuntimeServicesData, AllocationSize, Alignment);
430 IN UINTN AllocationSize,
434 return UncachedInternalAllocateAlignedPool (EfiReservedMemoryType, AllocationSize, Alignment);
440 IN UINTN AllocationSize,
445 Memory = UncachedInternalAllocateAlignedPool (PoolType, AllocationSize, Alignmen 382 UncachedInternalAllocateAlignedPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN UINTN Alignment ) argument 409 UncachedAllocateAlignedPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 419 UncachedAllocateAlignedRuntimePool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 429 UncachedAllocateAlignedReservedPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 438 UncachedInternalAllocateAlignedZeroPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN UINTN Alignment ) argument 454 UncachedAllocateAlignedZeroPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 464 UncachedAllocateAlignedRuntimeZeroPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 474 UncachedAllocateAlignedReservedZeroPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 483 UncachedInternalAllocateAlignedCopyPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN CONST VOID *Buffer, IN UINTN Alignment ) argument 504 UncachedAllocateAlignedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer, IN UINTN Alignment ) argument 515 UncachedAllocateAlignedRuntimeCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer, IN UINTN Alignment ) argument 526 UncachedAllocateAlignedReservedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer, IN UINTN Alignment ) argument 624 UncachedInternalAllocateCopyPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 644 UncachedAllocateCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 654 UncachedAllocateRuntimeCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 664 UncachedAllocateReservedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 349 Allocates the number bytes specified by AllocationSize of a certain pool type and returns a
350 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
354 @param AllocationSize The number of bytes to allocate.
362 IN UINTN AllocationSize
368 Status = (gBS->AllocatePool) (MemoryType, AllocationSize, &Memory);
378 Allocates the number bytes specified by AllocationSize of type EfiBootServicesData and returns a
379 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
382 @param AllocationSize The number of bytes to allocate.
390 IN UINTN AllocationSize
393 return InternalAllocatePool (EfiBootServicesData, AllocationSize);
551 InternalAllocateCopyPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 587 GlueAllocateCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 613 AllocateRuntimeCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 639 AllocateReservedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 689 InternalAllocateAlignedPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN UINTN Alignment ) argument 754 AllocateAlignedPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 780 AllocateAlignedRuntimePool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 806 AllocateAlignedReservedPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 832 InternalAllocateAlignedZeroPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN UINTN Alignment ) argument 865 AllocateAlignedZeroPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 892 AllocateAlignedRuntimeZeroPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 919 AllocateAlignedReservedZeroPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 946 InternalAllocateAlignedCopyPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN CONST VOID *Buffer, IN UINTN Alignment ) argument 984 AllocateAlignedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer, IN UINTN Alignment ) argument 1012 AllocateAlignedRuntimeCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer, IN UINTN Alignment ) argument 1040 AllocateAlignedReservedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer, IN UINTN Alignment ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 310 Allocates the number bytes specified by AllocationSize of a certain pool type and returns a
311 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
315 @param AllocationSize The number of bytes to allocate.
323 IN UINTN AllocationSize
331 return InternalAllocatePages (MemoryType, EFI_SIZE_TO_PAGES (AllocationSize));
337 Allocates the number bytes specified by AllocationSize of type EfiBootServicesData and returns a
338 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
341 @param AllocationSize The number of bytes to allocate.
349 IN UINTN AllocationSize
355 Status = PeiServicesAllocatePool (AllocationSize, 523 InternalAllocateCopyPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 559 GlueAllocateCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 594 AllocateRuntimeCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 620 AllocateReservedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 669 InternalAllocateAlignedPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN UINTN Alignment ) argument 719 AllocateAlignedPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 769 AllocateAlignedRuntimePool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 795 AllocateAlignedReservedPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 821 InternalAllocateAlignedZeroPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN UINTN Alignment ) argument 855 AllocateAlignedZeroPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 888 AllocateAlignedRuntimeZeroPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 915 AllocateAlignedReservedZeroPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 942 InternalAllocateAlignedCopyPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN CONST VOID *Buffer, IN UINTN Alignment ) argument 980 AllocateAlignedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer, IN UINTN Alignment ) argument 1017 AllocateAlignedRuntimeCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer, IN UINTN Alignment ) argument 1045 AllocateAlignedReservedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer, IN UINTN Alignment ) argument [all...] |
/device/linaro/bootloader/edk2/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 359 Allocates the number bytes specified by AllocationSize of a certain pool type and returns a
360 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
364 @param AllocationSize The number of bytes to allocate.
372 IN UINTN AllocationSize
375 return gEmuThunk->Malloc (AllocationSize);
381 Allocates the number bytes specified by AllocationSize of type EfiBootServicesData and returns a
382 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
385 @param AllocationSize The number of bytes to allocate.
393 IN UINTN AllocationSize
396 return InternalAllocatePool (EfiBootServicesData, AllocationSize);
554 InternalAllocateCopyPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 591 AllocateCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 618 AllocateRuntimeCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 645 AllocateReservedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 359 Allocates the number bytes specified by AllocationSize of a certain pool type and returns a
360 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
364 @param AllocationSize The number of bytes to allocate.
372 IN UINTN AllocationSize
380 Status = CoreAllocatePool (MemoryType, AllocationSize, &Memory);
390 Allocates the number bytes specified by AllocationSize of type EfiBootServicesData and returns a
391 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
394 @param AllocationSize The number of bytes to allocate.
402 IN UINTN AllocationSize
405 return InternalAllocatePool (EfiBootServicesData, AllocationSize);
563 InternalAllocateCopyPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 600 AllocateCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 627 AllocateRuntimeCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 654 AllocateReservedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 420 Allocates the number bytes specified by AllocationSize of a certain pool type and returns a
421 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
425 @param AllocationSize The number of bytes to allocate.
433 IN UINTN AllocationSize
441 Status = SmmAllocatePool (MemoryType, AllocationSize, &Memory);
451 Allocates the number bytes specified by AllocationSize of type EfiRuntimeServicesData and returns a
452 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
455 @param AllocationSize The number of bytes to allocate.
463 IN UINTN AllocationSize
466 return InternalAllocatePool (EfiRuntimeServicesData, AllocationSize);
624 InternalAllocateCopyPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 661 AllocateCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 688 AllocateRuntimeCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 715 AllocateReservedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/PeiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 456 Allocates the number bytes specified by AllocationSize of a certain pool type and returns a
457 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
461 @param AllocationSize The number of bytes to allocate.
469 IN UINTN AllocationSize
477 return InternalAllocatePages (MemoryType, EFI_SIZE_TO_PAGES (AllocationSize));
483 Allocates the number bytes specified by AllocationSize of type EfiBootServicesData and returns a
484 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
487 @param AllocationSize The number of bytes to allocate.
495 IN UINTN AllocationSize
501 Status = PeiServicesAllocatePool (AllocationSize, 669 InternalAllocateCopyPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 706 AllocateCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 742 AllocateRuntimeCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 769 AllocateReservedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 501 Allocates the number bytes specified by AllocationSize of a certain pool type
502 and returns a pointer to the allocated buffer. If AllocationSize is 0, then a
507 @param AllocationSize The number of bytes to allocate.
515 IN UINTN AllocationSize
521 Status = gSmst->SmmAllocatePool (MemoryType, AllocationSize, &Memory);
531 Allocates the number bytes specified by AllocationSize of type EfiRuntimeServicesData
532 and returns a pointer to the allocated buffer. If AllocationSize is 0, then a
536 @param AllocationSize The number of bytes to allocate.
544 IN UINTN AllocationSize
547 return InternalAllocatePool (EfiRuntimeServicesData, AllocationSize);
707 InternalAllocateCopyPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 745 AllocateCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 773 AllocateRuntimeCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 801 AllocateReservedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/UefiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 359 Allocates the number bytes specified by AllocationSize of a certain pool type and returns a
360 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
364 @param AllocationSize The number of bytes to allocate.
372 IN UINTN AllocationSize
378 Status = gBS->AllocatePool (MemoryType, AllocationSize, &Memory);
388 Allocates the number bytes specified by AllocationSize of type EfiBootServicesData and returns a
389 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
392 @param AllocationSize The number of bytes to allocate.
400 IN UINTN AllocationSize
403 return InternalAllocatePool (EfiBootServicesData, AllocationSize);
561 InternalAllocateCopyPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 598 AllocateCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 625 AllocateRuntimeCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 652 AllocateReservedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument [all...] |
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugUncachedMemoryAllocationLib/ |
H A D | DebugUncachedMemoryAllocationLib.c | 307 IN UINTN AllocationSize,
322 AlignedAddress = UncachedInternalAllocateAlignedPages (PoolType, EFI_SIZE_TO_PAGES (AllocationSize), Alignment);
327 AddPagesToList ((VOID *)(UINTN)ConvertToPhysicalAddress (AlignedAddress), (VOID *)(UINTN)AlignedAddress, EFI_SIZE_TO_PAGES (AllocationSize));
335 IN UINTN AllocationSize,
339 return UncachedInternalAllocateAlignedPool (EfiBootServicesData, AllocationSize, Alignment);
345 IN UINTN AllocationSize,
349 return UncachedInternalAllocateAlignedPool (EfiRuntimeServicesData, AllocationSize, Alignment);
355 IN UINTN AllocationSize,
359 return UncachedInternalAllocateAlignedPool (EfiReservedMemoryType, AllocationSize, Alignment);
365 IN UINTN AllocationSize,
305 UncachedInternalAllocateAlignedPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN UINTN Alignment ) argument 334 UncachedAllocateAlignedPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 344 UncachedAllocateAlignedRuntimePool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 354 UncachedAllocateAlignedReservedPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 363 UncachedInternalAllocateAlignedZeroPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN UINTN Alignment ) argument 379 UncachedAllocateAlignedZeroPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 389 UncachedAllocateAlignedRuntimeZeroPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 399 UncachedAllocateAlignedReservedZeroPool( IN UINTN AllocationSize, IN UINTN Alignment ) argument 408 UncachedInternalAllocateAlignedCopyPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN CONST VOID *Buffer, IN UINTN Alignment ) argument 429 UncachedAllocateAlignedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer, IN UINTN Alignment ) argument 440 UncachedAllocateAlignedRuntimeCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer, IN UINTN Alignment ) argument 451 UncachedAllocateAlignedReservedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer, IN UINTN Alignment ) argument 554 UncachedInternalAllocateCopyPool( IN EFI_MEMORY_TYPE PoolType, IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 574 UncachedAllocateCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 584 UncachedAllocateRuntimeCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument 594 UncachedAllocateReservedCopyPool( IN UINTN AllocationSize, IN CONST VOID *Buffer ) argument [all...] |