Searched refs:crypto_workers_num (Results 1 – 1 of 1) sorted by relevance
| /freebsd-12.1/sys/opencrypto/ |
| H A D | crypto.c | 182 for (w = crypto_ret_workers; w < crypto_ret_workers + crypto_workers_num; ++w) 189 static int crypto_workers_num = 0; variable 190 SYSCTL_INT(_kern, OID_AUTO, crypto_workers_num, CTLFLAG_RDTUN, 191 &crypto_workers_num, 0, 299 if (crypto_workers_num < 1 || crypto_workers_num > mp_ncpus) in crypto_init() 300 crypto_workers_num = mp_ncpus; in crypto_init() 310 taskqueue_start_threads(&crypto_tq, crypto_workers_num, PRI_MIN_KERN, in crypto_init() 321 crypto_ret_workers = malloc(crypto_workers_num * sizeof(struct crypto_ret_worker), in crypto_init() 971 crp->crp_retw_id = ((uintptr_t)crp->crp_session) % crypto_workers_num; in crypto_dispatch()
|