Lines Matching refs:PAGES_PER_SECTION
180 mapsize = sizeof(struct page) * PAGES_PER_SECTION; in register_page_bootmem_info_section()
208 register_page_bootmem_memmap(section_nr, memmap, PAGES_PER_SECTION); in register_page_bootmem_info_section()
236 for (; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in register_page_bootmem_info_node()
325 for (; start_pfn < end_pfn; start_pfn += PAGES_PER_SECTION) { in find_smallest_section_pfn()
353 for (; pfn >= start_pfn; pfn -= PAGES_PER_SECTION) { in find_biggest_section_pfn()
415 for (; pfn < zone_end_pfn; pfn += PAGES_PER_SECTION) { in shrink_zone_span()
483 for (; pfn < pgdat_end_pfn; pfn += PAGES_PER_SECTION) { in shrink_pgdat_span()
508 int nr_pages = PAGES_PER_SECTION; in __remove_zone()
584 BUG_ON(nr_pages % PAGES_PER_SECTION); in __remove_pages()
586 sections_to_remove = nr_pages / PAGES_PER_SECTION; in __remove_pages()
588 unsigned long pfn = phys_start_pfn + i*PAGES_PER_SECTION; in __remove_pages()
1286 pfn = sec_end_pfn, sec_end_pfn += PAGES_PER_SECTION) { in test_pages_in_a_zone()
1732 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in walk_memory_range()
1838 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in try_offline_node()