Home
last modified time | relevance | path

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

/Linux-v6.6/mm/
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()
Dmemory_hotplug.c311 min_align = PAGES_PER_SUBSECTION; in check_pfn_span()
416 for (; start_pfn < end_pfn; start_pfn += PAGES_PER_SUBSECTION) { in find_smallest_section_pfn()
441 for (; pfn >= start_pfn; pfn -= PAGES_PER_SUBSECTION) { in find_biggest_section_pfn()
/Linux-v6.6/include/linux/
Dmmzone.h1760 #define PAGES_PER_SUBSECTION (1UL << PFN_SUBSECTION_SHIFT) macro
1761 #define PAGE_SUBSECTION_MASK (~(PAGES_PER_SUBSECTION-1))
1769 #define SUBSECTION_ALIGN_UP(pfn) ALIGN((pfn), PAGES_PER_SUBSECTION)
1958 return (pfn & ~(PAGE_SECTION_MASK)) / PAGES_PER_SUBSECTION; in subsection_map_index()
/Linux-v6.6/scripts/gdb/linux/
Dmm.py80 self.PAGES_PER_SUBSECTION = 1 << self.PFN_SUBSECTION_SHIFT
146 return (pfn & ~(self.PAGE_SECTION_MASK)) // self.PAGES_PER_SUBSECTION
/Linux-v6.6/arch/powerpc/mm/
Dinit_64.c102 for (; (unsigned long)start < vmemmap_end; start += PAGES_PER_SUBSECTION) in vmemmap_populated()