Searched refs:worker_threads (Results 1 – 3 of 3) sorted by relevance
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()
216 cl_thread_pool_t worker_threads; member
343 static int worker_threads = -1; variable344 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 …]