Searched refs:PFN_SECTION_SHIFT (Results 1 – 3 of 3) sorted by relevance
1197 #define PFN_SECTION_SHIFT (SECTION_SIZE_BITS - PAGE_SHIFT) macro1201 #define PAGES_PER_SECTION (1UL << PFN_SECTION_SHIFT)1205 ((1UL << (PFN_SECTION_SHIFT - pageblock_order)) * NR_PAGEBLOCK_BITS)1213 return pfn >> PFN_SECTION_SHIFT; in pfn_to_section_nr()1217 return sec << PFN_SECTION_SHIFT; in section_nr_to_pfn()
71 int i, section = pfn >> PFN_SECTION_SHIFT, ssec, esec; in __early_pfn_to_nid()
310 BUILD_BUG_ON(SECTION_MAP_LAST_BIT > (1UL<<PFN_SECTION_SHIFT)); in sparse_encode_mem_map()