Searched refs:crypto_workers_num (Results 1 – 1 of 1) sorted by relevance
| /src/sys/opencrypto/ ! |
| H A D | crypto.c | 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, 312 if (crypto_workers_num < 1 || crypto_workers_num > mp_ncpus) in crypto_init() 313 crypto_workers_num = mp_ncpus; in crypto_init() 318 taskqueue_start_threads(&crypto_tq, crypto_workers_num, PRI_MIN_KERN, in crypto_init() 330 crypto_ret_workers = mallocarray(crypto_workers_num, in crypto_init() 1414 crp->crp_retw_id = crp->crp_session->id % crypto_workers_num; in crypto_dispatch_one() [all …]
|