• Home
  • Raw
  • Download

Lines Matching refs:nr

410 	unsigned long nr, cpu;  in uffd_test_ctx_init_ext()  local
423 for (nr = 0; nr < nr_pages; nr++) { in uffd_test_ctx_init_ext()
424 *area_mutex(area_src, nr) = in uffd_test_ctx_init_ext()
426 count_verify[nr] = *area_count(area_src, nr) = 1; in uffd_test_ctx_init_ext()
434 *(area_count(area_src, nr) + 1) = 1; in uffd_test_ctx_init_ext()
900 unsigned long nr; in faulting_process() local
922 for (nr = 0; nr < split_nr_pages; nr++) { in faulting_process()
924 unsigned long offset = nr * page_size; in faulting_process()
928 if (steps == 1 && nr == lastnr) in faulting_process()
931 lastnr = nr; in faulting_process()
953 count = *area_count(area_dst, nr); in faulting_process()
954 if (count != count_verify[nr]) in faulting_process()
956 nr, count, count_verify[nr]); in faulting_process()
961 *area_count(area_dst, nr) = count; in faulting_process()
977 for (; nr < nr_pages; nr++) { in faulting_process()
978 count = *area_count(area_dst, nr); in faulting_process()
979 if (count != count_verify[nr]) { in faulting_process()
981 nr, count, count_verify[nr]); in faulting_process()
987 *area_count(area_dst, nr) = count; in faulting_process()
992 for (nr = 0; nr < nr_pages; nr++) in faulting_process()
993 if (my_bcmp(area_dst + nr * page_size, zeropage, page_size)) in faulting_process()
994 err("nr %lu is not zero", nr); in faulting_process()
1295 unsigned long nr; in userfaultfd_stress() local
1400 for (nr = 0; nr < nr_pages; nr++) in userfaultfd_stress()
1401 if (*area_count(area_dst, nr) != count_verify[nr]) in userfaultfd_stress()
1403 *area_count(area_src, nr), in userfaultfd_stress()
1404 count_verify[nr], nr); in userfaultfd_stress()