Home
last modified time | relevance | path

Searched refs:thread_cnt (Results 1 - 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl34.c16 static int thread_cnt; variable
24 thread_cnt = tst_ncpus_conf() * 3; in setup()
25 if (thread_cnt > max_thread_cnt) in setup()
26 thread_cnt = max_thread_cnt; in setup()
33 tst_res(TINFO, "spawning '%d' threads", thread_cnt); in spawn_threads()
34 for (i = 0; i < thread_cnt; ++i) in spawn_threads()
42 tst_res(TINFO, "waiting for '%d' threads", thread_cnt); in wait_threads()
43 for (i = 0; i < thread_cnt; ++i) in wait_threads()
83 pthread_t id[thread_cnt]; in test01()
84 int res[thread_cnt]; in test01()
[all...]
H A Dfcntl36.c46 static int thread_cnt; variable
62 thread_cnt = tst_ncpus_conf() * 3; in setup()
63 if (thread_cnt > max_thread_cnt) in setup()
64 thread_cnt = max_thread_cnt; in setup()
280 pthread_t id0[thread_cnt]; in test_fn()
281 pthread_t id1[thread_cnt]; in test_fn()
282 pthread_t id2[thread_cnt]; in test_fn()
283 struct param p0[thread_cnt]; in test_fn()
284 struct param p1[thread_cnt]; in test_fn()
285 struct param p2[thread_cnt]; in test_fn()
[all...]

Completed in 2 milliseconds