Lines Matching refs:Memory

46   EFI_PHYSICAL_ADDRESS  Memory; 
52 Status = PeiServicesAllocatePages (MemoryType, Pages, &Memory);
56 return (VOID *) (UINTN) Memory;
127 functions in the Memory Allocation Library.
130 must have been allocated on a previous call to the page allocation services of the Memory
134 If Buffer was not allocated with a page allocation function in the Memory Allocation Library,
180 VOID *Memory;
198 Memory = InternalAllocatePages (MemoryType, Pages + EFI_SIZE_TO_PAGES (Alignment));
204 return (VOID *) (UINTN) (((UINTN) Memory + AlignmentMask) & ~AlignmentMask);
293 allocation functions in the Memory Allocation Library.
296 must have been allocated on a previous call to the aligned page allocation services of the Memory
300 If Buffer was not allocated with an aligned page allocation function in the Memory Allocation
438 VOID *Memory;
440 Memory = InternalAllocatePool (PoolType, AllocationSize);
441 if (Memory != NULL) {
442 Memory = ZeroMem (Memory, AllocationSize);
444 return Memory;
466 VOID *Memory;
468 Memory = AllocatePool (AllocationSize);
469 if (Memory != NULL) {
470 Memory = ZeroMem (Memory, AllocationSize);
472 return Memory;
543 VOID *Memory;
548 Memory = InternalAllocatePool (PoolType, AllocationSize);
549 if (Memory != NULL) {
550 Memory = CopyMem (Memory, Buffer, AllocationSize);
552 return Memory;
579 VOID *Memory;
584 Memory = AllocatePool (AllocationSize);
585 if (Memory != NULL) {
586 Memory = CopyMem (Memory, Buffer, AllocationSize);
588 return Memory;
783 Memory Allocation Library.
786 pool allocation services of the Memory Allocation Library. If it is not possible to free pool
789 If Buffer was not allocated with a pool allocation function in the Memory Allocation Library,