Searched refs:worker_threads (Results 1 – 4 of 4) sorted by relevance
| /freebsd/sys/contrib/openzfs/cmd/zstream/ |
| H A D | zstream_chain.c | 207 pthread_t worker_threads[num_workers]; in zstream_chain_exec() local 265 worker_threads[i] = safe_create_thread(zstream_chain_worker, in zstream_chain_exec() 271 int ret = pthread_join(worker_threads[i], NULL); in zstream_chain_exec()
|
| /freebsd/contrib/ofed/opensm/complib/ |
| H A D | cl_dispatcher.c | 137 cl_thread_pool_destroy(&p_disp->worker_threads); in cl_disp_shutdown() 190 status = cl_thread_pool_init(&p_disp->worker_threads, thread_count, in cl_disp_init() 346 cl_thread_pool_signal(&p_disp->worker_threads); in cl_disp_post()
|
| /freebsd/contrib/ofed/opensm/include/complib/ |
| H A D | cl_dispatcher.h | 216 cl_thread_pool_t worker_threads; member
|
| /freebsd/sys/cam/ctl/ |
| H A D | ctl.c | 343 static int worker_threads = -1; variable 344 SYSCTL_INT(_kern_cam_ctl, OID_AUTO, worker_threads, CTLFLAG_RDTUN, 345 &worker_threads, 1, "Number of worker threads"); 1998 if (worker_threads <= 0) in ctl_init() 1999 worker_threads = max(1, mp_ncpus / 4); in ctl_init() 2000 if (worker_threads > CTL_MAX_THREADS) in ctl_init() 2001 worker_threads = CTL_MAX_THREADS; in ctl_init() 2003 for (i = 0; i < worker_threads; i++) { in ctl_init() 2052 for (i = 0; i < worker_threads; i++) { in ctl_shutdown() 14503 io->io_hdr.nexus.initid) % worker_threads; [all …]
|