Lines Matching refs:PAGES_PER_SECTION
232 pfns = min(nr_pages, PAGES_PER_SECTION in subsection_map_init()
271 for (pfn = start; pfn < end; pfn += PAGES_PER_SECTION) { in memory_present()
436 return ALIGN(sizeof(struct page) * PAGES_PER_SECTION, PMD_SIZE); in section_map_size()
442 return PAGE_ALIGN(sizeof(struct page) * PAGES_PER_SECTION); in section_map_size()
544 map = __populate_section_memmap(pfn, PAGES_PER_SECTION, in sparse_init_nid()
614 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in online_mem_sections()
633 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in offline_mem_sections()
668 unsigned long end = (unsigned long)(memmap + PAGES_PER_SECTION); in free_map_bootmem()
726 PAGES_PER_SECTION), GFP_KERNEL, nid); in populate_section_memmap()
741 nr_pages = PAGE_ALIGN(PAGES_PER_SECTION * sizeof(struct page)) in free_map_bootmem()
875 if (nr_pages < PAGES_PER_SECTION && early_section(ms)) in section_activate()