Searched refs:TRUNCATE_TO_PAGES (Results 1 – 1 of 1) sorted by relevance
18 #define TRUNCATE_TO_PAGES(a) ((a) >> EFI_PAGE_SHIFT) macro592 Top = TRUNCATE_TO_PAGES (MaxAddress + 1 - (UINTN)Pages); in InternalAllocPagesOnOneNode()714 if (NumberOfPages > TRUNCATE_TO_PAGES ((UINTN)-1) + 1) { in SmmInternalAllocatePagesEx()846 TRUNCATE_TO_PAGES ((UINTN)Next - (UINTN)First) >= First->NumberOfPages); in InternalMergeNodes()848 if (TRUNCATE_TO_PAGES ((UINTN)Next - (UINTN)First) == First->NumberOfPages) { in InternalMergeNodes()1024 SmmInternalFreePagesEx (AlignedMemBase, TRUNCATE_TO_PAGES ((UINTN)MemLength), TRUE); in SmmAddMemoryRegion()1026 …ConvertSmmMemoryMapEntry (EfiRuntimeServicesData, AlignedMemBase, TRUNCATE_TO_PAGES ((UINTN)MemLen… in SmmAddMemoryRegion()