Home
last modified time | relevance | path

Searched refs:NUM_THREADS (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/tests/sys/cddl/zfs/tests/txg_integrity/
H A Dfsync_integrity.c93 #define NUM_THREADS 8 macro
281 static sem_t chunk_sems[NUM_THREADS - 1][NUM_CHUNKS];
300 uint64_t mark = ((thread_num == (NUM_THREADS - 1) ? in marker_fill()
321 marker_fill(desired_buf, chunk_start, size, NUM_THREADS - 1); in verify_file()
403 if (thread_num < NUM_THREADS - 1) { in worker()
419 pthread_t threads[NUM_THREADS]; in main()
420 thread_data_t thread_data[NUM_THREADS]; in main()
463 for(i=0; i < NUM_THREADS - 1; i++) { in main()
473 for(i=0; i < NUM_THREADS; i++) { in main()
483 for(i=0; i < NUM_THREADS; i++) { in main()
[all …]
/freebsd-12.1/contrib/libevent/test/
H A Dregress_thread.c93 #define NUM_THREADS 100 macro
169 THREAD_T threads[NUM_THREADS]; in thread_basic()
228 for (i = 0; i < NUM_THREADS; ++i) in thread_basic()
238 for (i = 0; i < NUM_THREADS; ++i) in thread_basic()
257 #undef NUM_THREADS
258 #define NUM_THREADS 10 macro
294 THREAD_T threads[NUM_THREADS]; in thread_conditions_simple()
313 for (i = 0; i < NUM_THREADS; ++i) { in thread_conditions_simple()
328 for (i = 0; i < NUM_THREADS; ++i) { in thread_conditions_simple()
340 for (i = 0; i < NUM_THREADS; ++i) in thread_conditions_simple()
[all …]
/freebsd-12.1/contrib/ntp/sntp/libevent/test/
H A Dregress_thread.c93 #define NUM_THREADS 100 macro
169 THREAD_T threads[NUM_THREADS]; in thread_basic()
228 for (i = 0; i < NUM_THREADS; ++i) in thread_basic()
238 for (i = 0; i < NUM_THREADS; ++i) in thread_basic()
257 #undef NUM_THREADS
258 #define NUM_THREADS 10 macro
294 THREAD_T threads[NUM_THREADS]; in thread_conditions_simple()
313 for (i = 0; i < NUM_THREADS; ++i) { in thread_conditions_simple()
328 for (i = 0; i < NUM_THREADS; ++i) { in thread_conditions_simple()
340 for (i = 0; i < NUM_THREADS; ++i) in thread_conditions_simple()
[all …]
/freebsd-12.1/tools/test/pthread_vfork/
H A Dpthread_vfork_test.c42 #define NUM_THREADS 100 macro
77 pthread_t threads[NUM_THREADS]; in main()
92 for (t = 0; t < NUM_THREADS; t++) { in main()
/freebsd-12.1/sys/dev/random/
H A Dunit_test.c60 #define NUM_THREADS 3 macro
238 thrd_t threads[NUM_THREADS]; in main()
244 for (t = 0; t < NUM_THREADS; t++) { in main()
253 for (t = 2; t < NUM_THREADS; t++) in main()
/freebsd-12.1/contrib/gcclibs/libgomp/
H A Dlibgomp.texi291 of the current team may be set either by the @code{NUM_THREADS}
1155 The @var{NUM_THREADS} argument is 1 if an IF clause is present
1156 and false, or the value of the NUM_THREADS clause, if