Searched refs:cm_lock (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/crypto/io/
H A Dcrypto.c68 * The fields in the minor structure are protected by the cm_lock member
70 * in the cm_refcnt, and is used with the cm_lock.
72 * The locking order is crypto_locks followed by cm_lock.
514 mutex_init(&cm->cm_lock, NULL, MUTEX_DRIVER, NULL);
568 mutex_enter(&cm->cm_lock);
571 cv_wait(&cm->cm_cv, &cm->cm_lock);
609 mutex_exit(&cm->cm_lock);
610 mutex_destroy(&cm->cm_lock);
872 mutex_enter(&cm->cm_lock);
875 mutex_exit(&cm->cm_lock);
[all...]
/illumos-gate/usr/src/uts/common/sys/crypto/
H A Dimpl.h496 /* ps_refcnt is protected by cm_lock in the crypto_minor structure */
531 * cm_lock protects everything in this structure except for cm_refcnt.
535 kmutex_t cm_lock; member in struct:crypto_minor

Completed in 100 milliseconds