Searched refs:PFN_SECTION_SHIFT (Results 1 – 3 of 3) sorted by relevance
70 self.PFN_SECTION_SHIFT = self.SECTION_SIZE_BITS - self.PAGE_SHIFT72 self.PAGES_PER_SECTION = 1 << self.PFN_SECTION_SHIFT139 return pfn >> self.PFN_SECTION_SHIFT142 return sec << self.PFN_SECTION_SHIFT
1767 #define PFN_SECTION_SHIFT (SECTION_SIZE_BITS - PAGE_SHIFT) macro1771 #define PAGES_PER_SECTION (1UL << PFN_SECTION_SHIFT)1775 ((1UL << (PFN_SECTION_SHIFT - pageblock_order)) * NR_PAGEBLOCK_BITS)1783 return pfn >> PFN_SECTION_SHIFT; in pfn_to_section_nr()1787 return sec << PFN_SECTION_SHIFT; in section_nr_to_pfn()
280 BUILD_BUG_ON(SECTION_MAP_LAST_BIT > PFN_SECTION_SHIFT); in sparse_encode_mem_map()