Lines Matching refs:Memory

45   EFI_PHYSICAL_ADDRESS  Memory; 
51 Status = CoreAllocatePages (AllocateAnyPages, MemoryType, Pages, &Memory);
55 return (VOID *) (UINTN) Memory;
126 functions in the Memory Allocation Library.
129 must have been allocated on a previous call to the page allocation services of the Memory
133 If Buffer was not allocated with a page allocation function in the Memory Allocation Library,
180 EFI_PHYSICAL_ADDRESS Memory;
205 Status = CoreAllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory);
209 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask;
210 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory);
215 Status = CoreFreePages (Memory, UnalignedPages);
218 Memory = (EFI_PHYSICAL_ADDRESS) (AlignedMemory + EFI_PAGES_TO_SIZE (Pages));
224 Status = CoreFreePages (Memory, UnalignedPages);
231 Status = CoreAllocatePages (AllocateAnyPages, MemoryType, Pages, &Memory);
235 AlignedMemory = (UINTN) Memory;
323 allocation functions in the Memory Allocation Library.
326 must have been allocated on a previous call to the aligned page allocation services of the Memory
330 If Buffer was not allocated with an aligned page allocation function in the Memory Allocation
372 VOID *Memory;
374 Status = CoreAllocatePool (MemoryType, AllocationSize, &Memory);
376 Memory = NULL;
378 return Memory;
464 VOID *Memory;
466 Memory = InternalAllocatePool (PoolType, AllocationSize);
467 if (Memory != NULL) {
468 Memory = ZeroMem (Memory, AllocationSize);
470 return Memory;
563 VOID *Memory;
568 Memory = InternalAllocatePool (PoolType, AllocationSize);
569 if (Memory != NULL) {
570 Memory = CopyMem (Memory, Buffer, AllocationSize);
572 return Memory;
794 Memory Allocation Library.
797 pool allocation services of the Memory Allocation Library. If it is not possible to free pool
800 If Buffer was not allocated with a pool allocation function in the Memory Allocation Library,