Lines Matching refs:PAGES_PER_SECTION
206 pfns = min(nr_pages, PAGES_PER_SECTION in subsection_map_init()
245 for (pfn = start; pfn < end; pfn += PAGES_PER_SECTION) { in memory_present()
420 return ALIGN(sizeof(struct page) * PAGES_PER_SECTION, PMD_SIZE); in section_map_size()
426 return PAGE_ALIGN(sizeof(struct page) * PAGES_PER_SECTION); in section_map_size()
527 map = __populate_section_memmap(pfn, PAGES_PER_SECTION, in sparse_init_nid()
597 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in online_mem_sections()
615 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in offline_mem_sections()
650 unsigned long end = (unsigned long)(memmap + PAGES_PER_SECTION); in free_map_bootmem()
709 PAGES_PER_SECTION), GFP_KERNEL, nid); in populate_section_memmap()
724 nr_pages = PAGE_ALIGN(PAGES_PER_SECTION * sizeof(struct page)) in free_map_bootmem()
859 if (nr_pages < PAGES_PER_SECTION && early_section(ms)) in section_activate()