Lines Matching defs:worker_threads
343 static int worker_threads = -1;
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)
1999 worker_threads = max(1, mp_ncpus / 4);
2000 if (worker_threads > CTL_MAX_THREADS)
2001 worker_threads = CTL_MAX_THREADS;
2003 for (i = 0; i < worker_threads; i++) {
2052 for (i = 0; i < worker_threads; i++) {
14503 io->io_hdr.nexus.initid) % worker_threads;
14517 thr = &softc->threads[io->io_hdr.nexus.targ_mapped_lun % worker_threads];
14530 thr = &softc->threads[io->io_hdr.nexus.targ_mapped_lun % worker_threads];
14543 thr = &softc->threads[io->io_hdr.nexus.targ_mapped_lun % worker_threads];