/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/ |
D | DebugImageInfo.c | 47 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/ |
D | MemoryAllocationLib.c | 185 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/ |
D | MemoryAllocationLib.c | 312 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/ |
D | MemoryAllocationLib.c | 194 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/ |
D | MemoryAllocationLib.c | 183 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/ |
D | MemoryAllocationLib.c | 227 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/ |
D | MemoryAllocationLib.c | 226 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/ |
D | MemoryAllocationLib.c | 262 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/ |
D | MemoryAllocationLib.c | 340 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/ |
D | DebugUncachedMemoryAllocationLib.c | 215 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/ |
D | UsbHcMem.c | 635 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/ |
D | UsbHcMem.c | 588 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/ |
D | PiSmmCpuDxeSmm.c | 1237 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()
|