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()
538 for (; start_pfn < end_pfn; start_pfn += PAGES_PER_SECTION) { in find_smallest_section_pfn()
566 for (; pfn >= start_pfn; pfn -= PAGES_PER_SECTION) { in find_biggest_section_pfn()
628 for (; pfn < zone_end_pfn; pfn += PAGES_PER_SECTION) { in shrink_zone_span()
696 for (; pfn < pgdat_end_pfn; pfn += PAGES_PER_SECTION) { in shrink_pgdat_span()
721 int nr_pages = PAGES_PER_SECTION; in __remove_zone()
777 BUG_ON(nr_pages % PAGES_PER_SECTION); in __remove_pages()
792 sections_to_remove = nr_pages / PAGES_PER_SECTION; in __remove_pages()
794 unsigned long pfn = phys_start_pfn + i*PAGES_PER_SECTION; in __remove_pages()
1191 (nr_pages % PAGES_PER_SECTION) || (!nr_pages)) { in check_hotplug_memory_range()
1384 pfn = sec_end_pfn + 1, sec_end_pfn += PAGES_PER_SECTION) { in test_pages_in_a_zone()
1877 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in walk_memory_range()
1984 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in try_offline_node()