Home
last modified time | relevance | path

Searched refs:start_nr (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/testing/selftests/mm/
Duffd-stress.c150 unsigned long page_nr, start_nr, mid_nr, end_nr; in background_thread() local
152 start_nr = cpu * nr_pages_per_cpu; in background_thread()
154 mid_nr = (start_nr + end_nr) / 2; in background_thread()
157 for (page_nr = start_nr; page_nr < mid_nr; page_nr++) in background_thread()
166 wp_range(uffd, (unsigned long)area_dst + start_nr * page_size, in background_thread()
/linux-6.12.1/mm/
Dcompaction.c245 unsigned long start_nr = pfn_to_section_nr(start_pfn); in skip_offline_sections() local
247 if (online_section_nr(start_nr)) in skip_offline_sections()
250 while (++start_nr <= __highest_present_section_nr) { in skip_offline_sections()
251 if (online_section_nr(start_nr)) in skip_offline_sections()
252 return section_nr_to_pfn(start_nr); in skip_offline_sections()
265 unsigned long start_nr = pfn_to_section_nr(start_pfn); in skip_offline_sections_reverse() local
267 if (!start_nr || online_section_nr(start_nr)) in skip_offline_sections_reverse()
270 while (start_nr-- > 0) { in skip_offline_sections_reverse()
271 if (online_section_nr(start_nr)) in skip_offline_sections_reverse()
272 return section_nr_to_pfn(start_nr) + PAGES_PER_SECTION; in skip_offline_sections_reverse()