Home
last modified time | relevance | path

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

/linux/scripts/gdb/linux/
H A Dmm.py70 self.PFN_SECTION_SHIFT = self.SECTION_SIZE_BITS - self.PAGE_SHIFT
72 self.PAGES_PER_SECTION = 1 << self.PFN_SECTION_SHIFT
139 return pfn >> self.PFN_SECTION_SHIFT
142 return sec << self.PFN_SECTION_SHIFT
/linux/include/linux/
H A Dmmzone.h1767 #define PFN_SECTION_SHIFT (SECTION_SIZE_BITS - PAGE_SHIFT) macro
1771 #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()
/linux/mm/
H A Dsparse.c280 BUILD_BUG_ON(SECTION_MAP_LAST_BIT > PFN_SECTION_SHIFT); in sparse_encode_mem_map()