Lines Matching defs:AllocationSize

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);
553 Allocates the number bytes specified by AllocationSize of type EfiRuntimeServicesData
554 and returns a pointer to the allocated buffer. If AllocationSize is 0, then a
558 @param AllocationSize The number of bytes to allocate.
566 IN UINTN AllocationSize
569 return InternalAllocatePool (EfiRuntimeServicesData, AllocationSize);
575 Allocates the number bytes specified by AllocationSize of type EfiReservedMemoryType
576 and returns a pointer to the allocated buffer. If AllocationSize is 0, then a
580 @param AllocationSize The number of bytes to allocate.
588 IN UINTN AllocationSize
597 Allocates the number bytes specified by AllocationSize of a certain pool type,
599 If AllocationSize is 0, then a valid buffer of 0 size is returned. If there is
603 @param AllocationSize The number of bytes to allocate and zero.
611 IN UINTN AllocationSize
616 Memory = InternalAllocatePool (PoolType, AllocationSize);
618 Memory = ZeroMem (Memory, AllocationSize);
626 Allocates the number bytes specified by AllocationSize of type EfiRuntimeServicesData,
628 If AllocationSize is 0, then a valid buffer of 0 size is returned. If there is
631 @param AllocationSize The number of bytes to allocate and zero.
639 IN UINTN AllocationSize
642 return InternalAllocateZeroPool (EfiRuntimeServicesData, AllocationSize);
648 Allocates the number bytes specified by AllocationSize of type EfiRuntimeServicesData,
650 If AllocationSize is 0, then a valid buffer of 0 size is returned. If there is
653 @param AllocationSize The number of bytes to allocate and zero.
661 IN UINTN AllocationSize
664 return InternalAllocateZeroPool (EfiRuntimeServicesData, AllocationSize);
670 Allocates the number bytes specified by AllocationSize of type EfiReservedMemoryType,
672 If AllocationSize is 0, then a valid buffer of 0 size is returned. If there is
675 @param AllocationSize The number of bytes to allocate and zero.
683 IN UINTN AllocationSize
692 Allocates the number bytes specified by AllocationSize of a certain pool type,
693 copies AllocationSize bytes from Buffer to the newly allocated buffer, and returns
694 a pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer
697 If AllocationSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
700 @param AllocationSize The number of bytes to allocate and zero.
709 IN UINTN AllocationSize,
716 ASSERT (AllocationSize <= (MAX_ADDRESS - (UINTN) Buffer + 1));
718 Memory = InternalAllocatePool (PoolType, AllocationSize);
720 Memory = CopyMem (Memory, Buffer, AllocationSize);
728 Allocates the number bytes specified by AllocationSize of type EfiRuntimeServicesData,
729 copies AllocationSize bytes from Buffer to the newly allocated buffer, and returns
730 a pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer
735 If AllocationSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
737 @param AllocationSize The number of bytes to allocate and zero.
746 IN UINTN AllocationSize,
750 return InternalAllocateCopyPool (EfiRuntimeServicesData, AllocationSize, Buffer);
756 Allocates the number bytes specified by AllocationSize of type EfiRuntimeServicesData,
757 copies AllocationSize bytes from Buffer to the newly allocated buffer, and returns
758 a pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer
763 If AllocationSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
765 @param AllocationSize The number of bytes to allocate and zero.
774 IN UINTN AllocationSize,
778 return InternalAllocateCopyPool (EfiRuntimeServicesData, AllocationSize, Buffer);
784 Allocates the number bytes specified by AllocationSize of type EfiReservedMemoryType,
785 copies AllocationSize bytes from Buffer to the newly allocated buffer, and returns
786 a pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer
791 If AllocationSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
793 @param AllocationSize The number of bytes to allocate and zero.
802 IN UINTN AllocationSize,