Searched refs:PAGES_PER_SUBSECTION (Results 1 – 4 of 4) sorted by relevance
257 if (WARN_ON_ONCE(!IS_ALIGNED(pfn, PAGES_PER_SUBSECTION) || in __populate_section_memmap()258 !IS_ALIGNED(nr_pages, PAGES_PER_SUBSECTION))) in __populate_section_memmap()
275 min_align = PAGES_PER_SUBSECTION; in check_pfn_span()358 for (; start_pfn < end_pfn; start_pfn += PAGES_PER_SUBSECTION) { in find_smallest_section_pfn()383 for (; pfn >= start_pfn; pfn -= PAGES_PER_SUBSECTION) { in find_biggest_section_pfn()
1189 #define PAGES_PER_SUBSECTION (1UL << PFN_SUBSECTION_SHIFT) macro1190 #define PAGE_SUBSECTION_MASK (~(PAGES_PER_SUBSECTION-1))1198 #define SUBSECTION_ALIGN_UP(pfn) ALIGN((pfn), PAGES_PER_SUBSECTION)1356 return (pfn & ~(PAGE_SECTION_MASK)) / PAGES_PER_SUBSECTION; in subsection_map_index()
100 for (; (unsigned long)start < vmemmap_end; start += PAGES_PER_SUBSECTION) in vmemmap_populated()