/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 47 UINTN RealPages;
local 56 RealPages = Pages + EFI_SIZE_TO_PAGES (SIZE_4MB);
70 RealPages,
85 RealPages,
107 UnalignedPages = RealPages - Pages - UnalignedPages;
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 194 UINTN RealPages;
local 209 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);
213 ASSERT (RealPages > Pages);
228 UnalignedPages = RealPages - Pages - UnalignedPages;
|
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 312 UINTN RealPages;
local 327 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);
331 ASSERT (RealPages > Pages);
333 Status = gSmst->SmmAllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory);
347 UnalignedPages = RealPages - Pages - UnalignedPages;
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 185 UINTN RealPages;
local 200 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);
204 ASSERT (RealPages > Pages);
206 Status = gBS->AllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory);
220 UnalignedPages = RealPages - Pages - UnalignedPages;
|
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugUncachedMemoryAllocationLib/ |
H A D | DebugUncachedMemoryAllocationLib.c | 215 UINTN RealPages;
local 230 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);
234 ASSERT (RealPages > Pages);
236 Status = gBS->AllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory);
250 UnalignedPages = RealPages - Pages - UnalignedPages;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 183 UINTN RealPages;
local 198 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);
202 ASSERT (RealPages > Pages);
204 Status = (gBS->AllocatePages) (AllocateAnyPages, MemoryType, RealPages, &Memory);
218 UnalignedPages = RealPages - Pages - UnalignedPages;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 227 UINTN RealPages;
local 242 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);
246 ASSERT (RealPages > Pages);
248 Status = CoreAllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory);
262 UnalignedPages = RealPages - Pages - UnalignedPages;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 262 UINTN RealPages;
local 277 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);
281 ASSERT (RealPages > Pages);
283 Status = SmmAllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory);
297 UnalignedPages = RealPages - Pages - UnalignedPages;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/SmmMemoryAllocationProfileLib/ |
H A D | MemoryAllocationLib.c | 340 UINTN RealPages;
local 355 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);
359 ASSERT (RealPages > Pages);
361 Status = gSmst->SmmAllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory);
375 UnalignedPages = RealPages - Pages - UnalignedPages;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiMemoryAllocationProfileLib/ |
H A D | MemoryAllocationLib.c | 226 UINTN RealPages;
local 241 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);
245 ASSERT (RealPages > Pages);
247 Status = gBS->AllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory);
261 UnalignedPages = RealPages - Pages - UnalignedPages;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/ |
H A D | UsbHcMem.c | 635 UINTN RealPages;
local 655 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);
659 ASSERT (RealPages > Pages);
682 UnalignedPages = RealPages - Pages - UnalignedPages;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
H A D | UsbHcMem.c | 588 UINTN RealPages;
local 608 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);
612 ASSERT (RealPages > Pages);
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
H A D | PiSmmCpuDxeSmm.c | 1237 UINTN RealPages;
local 1252 RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);
1256 ASSERT (RealPages > Pages);
1258 Status = gSmst->SmmAllocatePages (AllocateAnyPages, EfiRuntimeServicesCode, RealPages, &Memory);
1272 UnalignedPages = RealPages - Pages - UnalignedPages;
|