Home
last modified time | relevance | path

Searched refs:PFN_SECTION_SHIFT (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dmmzone.h1197 #define PFN_SECTION_SHIFT (SECTION_SIZE_BITS - PAGE_SHIFT) macro
1201 #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()
/kernel/linux/linux-5.10/arch/ia64/mm/
Dnuma.c71 int i, section = pfn >> PFN_SECTION_SHIFT, ssec, esec; in __early_pfn_to_nid()
/kernel/linux/linux-5.10/mm/
Dsparse.c310 BUILD_BUG_ON(SECTION_MAP_LAST_BIT > (1UL<<PFN_SECTION_SHIFT)); in sparse_encode_mem_map()