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()
526 map = __populate_section_memmap(pfn, PAGES_PER_SECTION, in sparse_init_nid()
596 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in online_mem_sections()
614 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in offline_mem_sections()
648 unsigned long end = (unsigned long)(memmap + PAGES_PER_SECTION); in free_map_bootmem()
706 PAGES_PER_SECTION), GFP_KERNEL, nid); in populate_section_memmap()
721 nr_pages = PAGE_ALIGN(PAGES_PER_SECTION * sizeof(struct page)) in free_map_bootmem()
855 if (nr_pages < PAGES_PER_SECTION && early_section(ms)) in section_activate()