Lines Matching refs:nr_cpus
63 static unsigned long nr_cpus, nr_pages, nr_pages_per_cpu, page_size; variable
711 pthread_t locking_threads[nr_cpus]; in stress()
712 pthread_t uffd_threads[nr_cpus]; in stress()
713 pthread_t background_threads[nr_cpus]; in stress()
716 for (cpu = 0; cpu < nr_cpus; cpu++) { in stress()
736 for (cpu = 0; cpu < nr_cpus; cpu++) in stress()
754 for (cpu = 0; cpu < nr_cpus; cpu++) in stress()
758 for (cpu = 0; cpu < nr_cpus; cpu++) { in stress()
1236 struct uffd_stats uffd_stats[nr_cpus]; in userfaultfd_stress()
1268 pipefd = malloc(sizeof(int) * nr_cpus * 2); in userfaultfd_stress()
1273 for (cpu = 0; cpu < nr_cpus; cpu++) { in userfaultfd_stress()
1367 uffd_stats_reset(uffd_stats, nr_cpus); in userfaultfd_stress()
1416 uffd_stats_report(uffd_stats, nr_cpus); in userfaultfd_stress()
1511 nr_cpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
1513 nr_cpus; in main()
1524 nr_pages = nr_pages_per_cpu * nr_cpus; in main()