Lines Matching refs:PAGES_PER_SECTION
202 mapsize = sizeof(struct page) * PAGES_PER_SECTION; in register_page_bootmem_info_section()
233 register_page_bootmem_memmap(section_nr, memmap, PAGES_PER_SECTION); in register_page_bootmem_info_section()
275 for (; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in register_page_bootmem_info_node()
446 int nr_pages = PAGES_PER_SECTION; in __add_zone()
529 for (; start_pfn < end_pfn; start_pfn += PAGES_PER_SECTION) { in find_smallest_section_pfn()
557 for (; pfn >= start_pfn; pfn -= PAGES_PER_SECTION) { in find_biggest_section_pfn()
619 for (; pfn < zone_end_pfn; pfn += PAGES_PER_SECTION) { in shrink_zone_span()
687 for (; pfn < pgdat_end_pfn; pfn += PAGES_PER_SECTION) { in shrink_pgdat_span()
712 int nr_pages = PAGES_PER_SECTION; in __remove_zone()
768 BUG_ON(nr_pages % PAGES_PER_SECTION); in __remove_pages()
780 sections_to_remove = nr_pages / PAGES_PER_SECTION; in __remove_pages()
782 unsigned long pfn = phys_start_pfn + i*PAGES_PER_SECTION; in __remove_pages()
1179 (nr_pages % PAGES_PER_SECTION) || (!nr_pages)) { in check_hotplug_memory_range()
1831 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in walk_memory_range()
1938 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in try_offline_node()