Searched refs:PAGES_PER_SUBSECTION (Results 1 – 5 of 5) sorted by relevance
379 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()
311 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()
1760 #define PAGES_PER_SUBSECTION (1UL << PFN_SUBSECTION_SHIFT) macro1761 #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()
80 self.PAGES_PER_SUBSECTION = 1 << self.PFN_SUBSECTION_SHIFT146 return (pfn & ~(self.PAGE_SECTION_MASK)) // self.PAGES_PER_SUBSECTION
102 for (; (unsigned long)start < vmemmap_end; start += PAGES_PER_SUBSECTION) in vmemmap_populated()