Lines Matching refs:PAGES_PER_SECTION
205 pfns = min(nr_pages, PAGES_PER_SECTION in subsection_map_init()
244 for (pfn = start; pfn < end; pfn += PAGES_PER_SECTION) { in memory_present()
419 return ALIGN(sizeof(struct page) * PAGES_PER_SECTION, PMD_SIZE); in section_map_size()
425 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()
649 unsigned long end = (unsigned long)(memmap + PAGES_PER_SECTION); in free_map_bootmem()
708 PAGES_PER_SECTION), GFP_KERNEL, nid); in populate_section_memmap()
723 nr_pages = PAGE_ALIGN(PAGES_PER_SECTION * sizeof(struct page)) in free_map_bootmem()
858 if (nr_pages < PAGES_PER_SECTION && early_section(ms)) in section_activate()