Home
last modified time | relevance | path

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

/Linux-v6.1/mm/
Dsparse-vmemmap.c305 return !IS_ALIGNED(offset, nr_pages) && nr_pages > PAGES_PER_SUBSECTION; in reuse_compound_section()
384 if (WARN_ON_ONCE(!IS_ALIGNED(pfn, PAGES_PER_SUBSECTION) || in __populate_section_memmap()
385 !IS_ALIGNED(nr_pages, PAGES_PER_SUBSECTION))) in __populate_section_memmap()
Dmemory_hotplug.c246 min_align = PAGES_PER_SUBSECTION; in check_pfn_span()
351 for (; start_pfn < end_pfn; start_pfn += PAGES_PER_SUBSECTION) { in find_smallest_section_pfn()
376 for (; pfn >= start_pfn; pfn -= PAGES_PER_SUBSECTION) { in find_biggest_section_pfn()
/Linux-v6.1/include/linux/
Dmmzone.h1612 #define PAGES_PER_SUBSECTION (1UL << PFN_SUBSECTION_SHIFT) macro
1613 #define PAGE_SUBSECTION_MASK (~(PAGES_PER_SUBSECTION-1))
1621 #define SUBSECTION_ALIGN_UP(pfn) ALIGN((pfn), PAGES_PER_SUBSECTION)
1810 return (pfn & ~(PAGE_SECTION_MASK)) / PAGES_PER_SUBSECTION; in subsection_map_index()
/Linux-v6.1/arch/powerpc/mm/
Dinit_64.c101 for (; (unsigned long)start < vmemmap_end; start += PAGES_PER_SUBSECTION) in vmemmap_populated()