Searched defs:crypto_locks (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/crypto/io/
H A Dcrypto.c62 * crypto_locks protects the global array of minor structures.
63 * crypto_locks is an array of locks indexed by the cpuid. A reader needs
72 * The locking order is crypto_locks followed by cm_lock.
170 static kcf_lock_withpad_t *crypto_locks; variable
174 mutex_enter(&crypto_locks[i].kl_lock);
178 mutex_exit(&crypto_locks[i].kl_lock);
377 crypto_locks = kmem_zalloc(max_ncpus * sizeof (kcf_lock_withpad_t),
380 mutex_init(&crypto_locks[i].kl_lock, NULL, MUTEX_DRIVER, NULL);
401 mp = &crypto_locks[CPU_SEQID];
424 mutex_destroy(&crypto_locks[
[all...]

Completed in 93 milliseconds