Lines Matching refs:nr_parallel
183 pthread_t locking_threads[nr_parallel]; in stress()
184 pthread_t uffd_threads[nr_parallel]; in stress()
185 pthread_t background_threads[nr_parallel]; in stress()
188 for (cpu = 0; cpu < nr_parallel; cpu++) { in stress()
206 for (cpu = 0; cpu < nr_parallel; cpu++) in stress()
222 for (cpu = 0; cpu < nr_parallel; cpu++) in stress()
226 for (cpu = 0; cpu < nr_parallel; cpu++) { in stress()
249 struct uffd_args args[nr_parallel]; in userfaultfd_stress()
253 memset(args, 0, sizeof(struct uffd_args) * nr_parallel); in userfaultfd_stress()
328 uffd_stats_reset(args, nr_parallel); in userfaultfd_stress()
362 uffd_stats_report(args, nr_parallel); in userfaultfd_stress()
462 nr_parallel = 32; in main()
464 nr_parallel = nr_cpus; in main()
467 nr_pages_per_cpu = bytes / page_size / nr_parallel; in main()
470 bytes, page_size, nr_parallel); in main()
479 nr_pages = nr_pages_per_cpu * nr_parallel; in main()