Searched refs:thread_cnt (Results 1 – 2 of 2) sorted by relevance
32 static int thread_cnt; variable40 thread_cnt = tst_ncpus_conf() * 3; in setup()41 if (thread_cnt > max_thread_cnt) in setup()42 thread_cnt = max_thread_cnt; in setup()49 tst_res(TINFO, "spawning '%d' threads", thread_cnt); in spawn_threads()50 for (i = 0; i < thread_cnt; ++i) in spawn_threads()58 tst_res(TINFO, "waiting for '%d' threads", thread_cnt); in wait_threads()59 for (i = 0; i < thread_cnt; ++i) in wait_threads()99 pthread_t id[thread_cnt]; in test01()100 int res[thread_cnt]; in test01()[all …]
61 static int thread_cnt; variable77 thread_cnt = tst_ncpus_conf() * 3; in setup()78 if (thread_cnt > max_thread_cnt) in setup()79 thread_cnt = max_thread_cnt; in setup()295 pthread_t id0[thread_cnt]; in test_fn()296 pthread_t id1[thread_cnt]; in test_fn()297 pthread_t id2[thread_cnt]; in test_fn()298 struct param p0[thread_cnt]; in test_fn()299 struct param p1[thread_cnt]; in test_fn()300 struct param p2[thread_cnt]; in test_fn()[all …]