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

/external/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl34.c32 static int thread_cnt; variable
40 thread_cnt = tst_ncpus_conf() * 3;
41 if (thread_cnt > max_thread_cnt)
42 thread_cnt = max_thread_cnt;
49 tst_res(TINFO, "spawning '%d' threads", thread_cnt);
50 for (i = 0; i < thread_cnt; ++i)
58 tst_res(TINFO, "waiting for '%d' threads", thread_cnt);
59 for (i = 0; i < thread_cnt; ++i)
99 pthread_t id[thread_cnt];
100 int res[thread_cnt];
[all...]
H A Dfcntl36.c61 static int thread_cnt; variable
77 thread_cnt = tst_ncpus_conf() * 3;
78 if (thread_cnt > max_thread_cnt)
79 thread_cnt = max_thread_cnt;
295 pthread_t id0[thread_cnt];
296 pthread_t id1[thread_cnt];
297 pthread_t id2[thread_cnt];
298 struct param p0[thread_cnt];
299 struct param p1[thread_cnt];
300 struct param p2[thread_cnt];
[all...]

Completed in 159 milliseconds