Lines Matching defs:number_threads
40 static int number_threads;
179 for (thread_index = 0; thread_index < number_threads; thread_index++) {
184 TST_CHECKPOINT_WAKE2(0, number_threads);
186 for (thread_index = 0; thread_index < number_threads; thread_index++) {
393 number_threads = (int)sysconf(_SC_NPROCESSORS_ONLN) * 2;
394 if (number_threads <= 1)
395 number_threads = 2;
396 else if (number_threads > 5)
397 number_threads = 5;
399 maximum_pfns = number_threads * NUM_LOOPS * NUM_PAGES;
400 thread_ids = SAFE_MALLOC(sizeof(pthread_t) * number_threads);
410 number_threads, maximum_pfns);