Lines Matching defs:worker_threads
410 static int worker_threads = -1;
411 SYSCTL_INT(_kern_cam_ctl, OID_AUTO, worker_threads, CTLFLAG_RDTUN,
412 &worker_threads, 1, "Number of worker threads");
1951 if (worker_threads <= 0)
1952 worker_threads = max(1, mp_ncpus / 4);
1953 if (worker_threads > CTL_MAX_THREADS)
1954 worker_threads = CTL_MAX_THREADS;
1956 for (i = 0; i < worker_threads; i++) {
2004 for (i = 0; i < worker_threads; i++) {
13546 io->io_hdr.nexus.initid) % worker_threads;
13560 thr = &softc->threads[io->io_hdr.nexus.targ_mapped_lun % worker_threads];
13573 thr = &softc->threads[io->io_hdr.nexus.targ_mapped_lun % worker_threads];
13586 thr = &softc->threads[io->io_hdr.nexus.targ_mapped_lun % worker_threads];