Lines Matching refs:PAGES_PER_SECTION
197 pfns = min(nr_pages, PAGES_PER_SECTION in subsection_map_init()
223 for (pfn = start; pfn < end; pfn += PAGES_PER_SECTION) { in memory_present()
408 return ALIGN(sizeof(struct page) * PAGES_PER_SECTION, PMD_SIZE); in section_map_size()
414 return PAGE_ALIGN(sizeof(struct page) * PAGES_PER_SECTION); in section_map_size()
560 map = __populate_section_memmap(pfn, PAGES_PER_SECTION, in sparse_init_nid()
635 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in online_mem_sections()
653 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in offline_mem_sections()
689 unsigned long end = (unsigned long)(memmap + PAGES_PER_SECTION); in free_map_bootmem()
748 PAGES_PER_SECTION), GFP_KERNEL, nid); in populate_section_memmap()
763 nr_pages = PAGE_ALIGN(PAGES_PER_SECTION * sizeof(struct page)) in free_map_bootmem()
899 if (nr_pages < PAGES_PER_SECTION && early_section(ms)) in section_activate()