Searched refs:crypto_workers_num (Results 1 – 1 of 1) sorted by relevance
| /f-stack/freebsd/opencrypto/ |
| H A D | crypto.c | 187 for (w = crypto_ret_workers; w < crypto_ret_workers + crypto_workers_num; ++w) 194 static int crypto_workers_num = 0; variable 196 &crypto_workers_num, 0, 199 SYSCTL_INT(_kern, OID_AUTO, crypto_workers_num, CTLFLAG_RDTUN, 200 &crypto_workers_num, 0, 340 if (crypto_workers_num < 1 || crypto_workers_num > mp_ncpus) in crypto_init() 341 crypto_workers_num = mp_ncpus; in crypto_init() 346 taskqueue_start_threads(&crypto_tq, crypto_workers_num, PRI_MIN_KERN, in crypto_init() 357 crypto_ret_workers = mallocarray(crypto_workers_num, in crypto_init() 1424 crp->crp_retw_id = crp->crp_session->id % crypto_workers_num; in crypto_dispatch()
|