Home
last modified time | relevance | path

Searched refs:RealPages (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/
DDebugImageInfo.c47 UINTN RealPages; in CoreInitializeDebugImageInfoTable() local
56 RealPages = Pages + EFI_SIZE_TO_PAGES (SIZE_4MB); in CoreInitializeDebugImageInfoTable()
70 RealPages, in CoreInitializeDebugImageInfoTable()
85 RealPages, in CoreInitializeDebugImageInfoTable()
107 UnalignedPages = RealPages - Pages - UnalignedPages; in CoreInitializeDebugImageInfoTable()
/device/linaro/bootloader/edk2/MdePkg/Library/UefiMemoryAllocationLib/
DMemoryAllocationLib.c185 UINTN RealPages; in InternalAllocateAlignedPages() local
200 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment); in InternalAllocateAlignedPages()
204 ASSERT (RealPages > Pages); in InternalAllocateAlignedPages()
206 Status = gBS->AllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory); in InternalAllocateAlignedPages()
220 UnalignedPages = RealPages - Pages - UnalignedPages; in InternalAllocateAlignedPages()
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemoryAllocationLib/
DMemoryAllocationLib.c312 UINTN RealPages; in InternalAllocateAlignedPages() local
327 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment); in InternalAllocateAlignedPages()
331 ASSERT (RealPages > Pages); in InternalAllocateAlignedPages()
333 Status = gSmst->SmmAllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory); in InternalAllocateAlignedPages()
347 UnalignedPages = RealPages - Pages - UnalignedPages; in InternalAllocateAlignedPages()
/device/linaro/bootloader/edk2/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/
DMemoryAllocationLib.c194 UINTN RealPages; in InternalAllocateAlignedPages() local
209 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment); in InternalAllocateAlignedPages()
213 ASSERT (RealPages > Pages); in InternalAllocateAlignedPages()
228 UnalignedPages = RealPages - Pages - UnalignedPages; in InternalAllocateAlignedPages()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeMemoryAllocationLib/
DMemoryAllocationLib.c183 UINTN RealPages; in InternalAllocateAlignedPages() local
198 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment); in InternalAllocateAlignedPages()
202 ASSERT (RealPages > Pages); in InternalAllocateAlignedPages()
204 Status = (gBS->AllocatePages) (AllocateAnyPages, MemoryType, RealPages, &Memory); in InternalAllocateAlignedPages()
218 UnalignedPages = RealPages - Pages - UnalignedPages; in InternalAllocateAlignedPages()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/
DMemoryAllocationLib.c227 UINTN RealPages; in InternalAllocateAlignedPages() local
242 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment); in InternalAllocateAlignedPages()
246 ASSERT (RealPages > Pages); in InternalAllocateAlignedPages()
248 Status = CoreAllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory); in InternalAllocateAlignedPages()
262 UnalignedPages = RealPages - Pages - UnalignedPages; in InternalAllocateAlignedPages()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiMemoryAllocationProfileLib/
DMemoryAllocationLib.c226 UINTN RealPages; in InternalAllocateAlignedPages() local
241 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment); in InternalAllocateAlignedPages()
245 ASSERT (RealPages > Pages); in InternalAllocateAlignedPages()
247 Status = gBS->AllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory); in InternalAllocateAlignedPages()
261 UnalignedPages = RealPages - Pages - UnalignedPages; in InternalAllocateAlignedPages()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/
DMemoryAllocationLib.c262 UINTN RealPages; in InternalAllocateAlignedPages() local
277 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment); in InternalAllocateAlignedPages()
281 ASSERT (RealPages > Pages); in InternalAllocateAlignedPages()
283 Status = SmmAllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory); in InternalAllocateAlignedPages()
297 UnalignedPages = RealPages - Pages - UnalignedPages; in InternalAllocateAlignedPages()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/SmmMemoryAllocationProfileLib/
DMemoryAllocationLib.c340 UINTN RealPages; in InternalAllocateAlignedPages() local
355 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment); in InternalAllocateAlignedPages()
359 ASSERT (RealPages > Pages); in InternalAllocateAlignedPages()
361 Status = gSmst->SmmAllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory); in InternalAllocateAlignedPages()
375 UnalignedPages = RealPages - Pages - UnalignedPages; in InternalAllocateAlignedPages()
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugUncachedMemoryAllocationLib/
DDebugUncachedMemoryAllocationLib.c215 UINTN RealPages; in UncachedInternalAllocateAlignedPages() local
230 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment); in UncachedInternalAllocateAlignedPages()
234 ASSERT (RealPages > Pages); in UncachedInternalAllocateAlignedPages()
236 Status = gBS->AllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory); in UncachedInternalAllocateAlignedPages()
250 UnalignedPages = RealPages - Pages - UnalignedPages; in UncachedInternalAllocateAlignedPages()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DUsbHcMem.c635 UINTN RealPages; in UsbHcAllocateAlignedPages() local
655 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment); in UsbHcAllocateAlignedPages()
659 ASSERT (RealPages > Pages); in UsbHcAllocateAlignedPages()
682 UnalignedPages = RealPages - Pages - UnalignedPages; in UsbHcAllocateAlignedPages()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/
DUsbHcMem.c588 UINTN RealPages; in UsbHcAllocateAlignedPages() local
608 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment); in UsbHcAllocateAlignedPages()
612 ASSERT (RealPages > Pages); in UsbHcAllocateAlignedPages()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DPiSmmCpuDxeSmm.c1237 UINTN RealPages; in AllocateAlignedCodePages() local
1252 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment); in AllocateAlignedCodePages()
1256 ASSERT (RealPages > Pages); in AllocateAlignedCodePages()
1258 …Status = gSmst->SmmAllocatePages (AllocateAnyPages, EfiRuntimeServicesCode, RealPages, &Me… in AllocateAlignedCodePages()
1272 UnalignedPages = RealPages - Pages - UnalignedPages; in AllocateAlignedCodePages()