Lines Matching refs:crypto_workers_num
175 for (w = crypto_ret_workers; w < crypto_ret_workers + crypto_workers_num; ++w)
180 static int crypto_workers_num = 0; variable
182 &crypto_workers_num, 0,
185 SYSCTL_INT(_kern, OID_AUTO, crypto_workers_num, CTLFLAG_RDTUN,
186 &crypto_workers_num, 0,
319 if (crypto_workers_num < 1 || crypto_workers_num > mp_ncpus) in crypto_init()
320 crypto_workers_num = mp_ncpus; in crypto_init()
325 taskqueue_start_threads(&crypto_tq, crypto_workers_num, PRI_MIN_KERN, in crypto_init()
337 crypto_ret_workers = mallocarray(crypto_workers_num, in crypto_init()
1423 crp->crp_retw_id = crp->crp_session->id % crypto_workers_num; in crypto_dispatch_one()
1469 crp->crp_retw_id = crp->crp_session->id % crypto_workers_num; in crypto_dispatch_async()