Lines Matching refs:i
188 unsigned long *usemap, mapsize, section_nr, i; in register_page_bootmem_info_section() local
207 for (i = 0; i < mapsize; i++, page++) in register_page_bootmem_info_section()
215 for (i = 0; i < mapsize; i++, page++) in register_page_bootmem_info_section()
222 unsigned long *usemap, mapsize, section_nr, i; in register_page_bootmem_info_section() local
241 for (i = 0; i < mapsize; i++, page++) in register_page_bootmem_info_section()
248 unsigned long i, pfn, end_pfn, nr_pages; in register_page_bootmem_info_node() local
256 for (i = 0; i < nr_pages; i++, page++) in register_page_bootmem_info_node()
267 for (i = 0; i < nr_pages; i++, page++) in register_page_bootmem_info_node()
506 unsigned long i; in __add_pages() local
513 for (i = start_sec; i <= end_sec; i++) { in __add_pages()
514 err = __add_section(nid, zone, section_nr_to_pfn(i)); in __add_pages()
769 unsigned long i; in __remove_pages() local
794 for (i = 0; i < sections_to_remove; i++) { in __remove_pages()
795 unsigned long pfn = phys_start_pfn + i*PAGES_PER_SECTION; in __remove_pages()
870 unsigned long i; in online_pages_range() local
874 for (i = 0; i < nr_pages; i++) { in online_pages_range()
875 page = pfn_to_page(start_pfn + i); in online_pages_range()
1386 int i; in test_pages_in_a_zone() local
1395 i = 0; in test_pages_in_a_zone()
1397 while ((i < MAX_ORDER_NR_PAGES) && in test_pages_in_a_zone()
1398 !pfn_valid_within(pfn + i)) in test_pages_in_a_zone()
1399 i++; in test_pages_in_a_zone()
1400 if (i == MAX_ORDER_NR_PAGES || pfn + i >= end_pfn) in test_pages_in_a_zone()
1403 if (zone && !zone_spans_pfn(zone, pfn + i)) in test_pages_in_a_zone()
1405 page = pfn_to_page(pfn + i); in test_pages_in_a_zone()
1409 start = pfn + i; in test_pages_in_a_zone()
2015 int i; in try_offline_node() local
2044 for (i = 0; i < MAX_NR_ZONES; i++) { in try_offline_node()
2045 struct zone *zone = pgdat->node_zones + i; in try_offline_node()