Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/mm/
Dcompaction.c240 unsigned long start_nr = pfn_to_section_nr(start_pfn); in skip_offline_sections() local
242 if (online_section_nr(start_nr)) in skip_offline_sections()
245 while (++start_nr <= __highest_present_section_nr) { in skip_offline_sections()
246 if (online_section_nr(start_nr)) in skip_offline_sections()
247 return section_nr_to_pfn(start_nr); in skip_offline_sections()
260 unsigned long start_nr = pfn_to_section_nr(start_pfn); in skip_offline_sections_reverse() local
262 if (!start_nr || online_section_nr(start_nr)) in skip_offline_sections_reverse()
265 while (start_nr-- > 0) { in skip_offline_sections_reverse()
266 if (online_section_nr(start_nr)) in skip_offline_sections_reverse()
267 return section_nr_to_pfn(start_nr) + PAGES_PER_SECTION; in skip_offline_sections_reverse()