Home
last modified time | relevance | path

Searched refs:PAGES_PER_SUBSECTION (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/mm/
H A Dsparse-vmemmap.c379 return !IS_ALIGNED(offset, nr_pages) && nr_pages > PAGES_PER_SUBSECTION; in reuse_compound_section()
460 if (WARN_ON_ONCE(!IS_ALIGNED(pfn, PAGES_PER_SUBSECTION) || in __populate_section_memmap()
461 !IS_ALIGNED(nr_pages, PAGES_PER_SUBSECTION))) in __populate_section_memmap()
H A Dmemory_hotplug.c313 min_align = PAGES_PER_SUBSECTION; in check_pfn_span()
418 for (; start_pfn < end_pfn; start_pfn += PAGES_PER_SUBSECTION) { in find_smallest_section_pfn()
443 for (; pfn >= start_pfn; pfn -= PAGES_PER_SUBSECTION) { in find_biggest_section_pfn()
/openbmc/linux/include/linux/
H A Dmmzone.h1765 #define PAGES_PER_SUBSECTION (1UL << PFN_SUBSECTION_SHIFT) macro
1766 #define PAGE_SUBSECTION_MASK (~(PAGES_PER_SUBSECTION-1))
1774 #define SUBSECTION_ALIGN_UP(pfn) ALIGN((pfn), PAGES_PER_SUBSECTION)
1964 return (pfn & ~(PAGE_SECTION_MASK)) / PAGES_PER_SUBSECTION; in subsection_map_index()
/openbmc/linux/scripts/gdb/linux/
H A Dmm.py80 self.PAGES_PER_SUBSECTION = 1 << self.PFN_SUBSECTION_SHIFT
146 return (pfn & ~(self.PAGE_SECTION_MASK)) // self.PAGES_PER_SUBSECTION
/openbmc/linux/arch/powerpc/mm/
H A Dinit_64.c102 for (; (unsigned long)start < vmemmap_end; start += PAGES_PER_SUBSECTION) in vmemmap_populated()