Home
last modified time | relevance | path

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

/freebsd/tests/sys/cddl/zfs/tests/txg_integrity/
H A Dfsync_integrity.c92 #define NUM_THREADS 8 macro
280 static sem_t chunk_sems[NUM_THREADS - 1][NUM_CHUNKS];
299 uint64_t mark = ((thread_num == (NUM_THREADS - 1) ? in marker_fill()
320 marker_fill(desired_buf, chunk_start, size, NUM_THREADS - 1); in verify_file()
402 if (thread_num < NUM_THREADS - 1) { in worker()
418 pthread_t threads[NUM_THREADS]; in main()
419 thread_data_t thread_data[NUM_THREADS]; in main()
462 for(i=0; i < NUM_THREADS - 1; i++) { in main()
472 for(i=0; i < NUM_THREADS; i++) { in main()
482 for(i=0; i < NUM_THREADS; i++) { in main()
[all …]
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_thread.c93 #define NUM_THREADS 100 macro
133 if (count >= NUM_THREADS * NUM_ITERATIONS) in basic_thread()
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()
243 tt_int_op(count, ==, NUM_THREADS * NUM_ITERATIONS); in thread_basic()
257 #undef NUM_THREADS
258 #define NUM_THREADS 10 macro
293 struct alerted_record alerted[NUM_THREADS]; in thread_conditions_simple()
294 THREAD_T threads[NUM_THREADS]; in thread_conditions_simple()
[all …]
/freebsd/contrib/libevent/test/
H A Dregress_thread.c93 #define NUM_THREADS 100 macro
133 if (count >= NUM_THREADS * NUM_ITERATIONS) in basic_thread()
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()
243 tt_int_op(count, ==, NUM_THREADS * NUM_ITERATIONS); in thread_basic()
257 #undef NUM_THREADS
258 #define NUM_THREADS 10 macro
293 struct alerted_record alerted[NUM_THREADS]; in thread_conditions_simple()
294 THREAD_T threads[NUM_THREADS]; in thread_conditions_simple()
[all …]
/freebsd/tools/test/pthread_vfork/
H A Dpthread_vfork_test.c39 #define NUM_THREADS 100 macro
74 pthread_t threads[NUM_THREADS]; in main()
89 for (t = 0; t < NUM_THREADS; t++) { in main()
/freebsd/sys/dev/random/
H A Dunit_test.c58 #define NUM_THREADS 3 macro
236 thrd_t threads[NUM_THREADS]; in main()
242 for (t = 0; t < NUM_THREADS; t++) { in main()
251 for (t = 2; t < NUM_THREADS; t++) in main()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_send.c1358 NUM_THREADS enumerator
1391 for (i = 1; i < NUM_THREADS; i++) { in find_next_range()
1403 for (i = 0; i < NUM_THREADS; i++) { in find_next_range()
1424 for (i = 0; i < NUM_THREADS; i++) { in find_next_range()
1443 for (i = 0; i < NUM_THREADS; i++) { in find_next_range()
1492 struct send_range *front_ranges[NUM_THREADS]; in send_merge_thread()
1493 bqueue_t *queues[NUM_THREADS]; in send_merge_thread()
1548 for (int i = 0; i < NUM_THREADS; i++) { in send_merge_thread()