Searched refs:set_lock (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_thread.c142 ASSERT(MUTEX_HELD(&((tp->tp_set)->set_lock)));
163 mutex_enter(&set->set_lock);
166 mutex_exit(&set->set_lock);
186 cv_wait(&set->set_res_cv, &set->set_lock);
204 mutex_exit(&set->set_lock);
216 * Must be called with set->set_lock held.
226 ASSERT(MUTEX_HELD(&set->set_lock));
294 mutex_enter(&set->set_lock);
300 * The parent won't actually run until set->set_lock is dropped.
327 cv_wait(&tp->tp_cv, &set->set_lock);
[all...]
H A Dnsc_thread.h117 kmutex_t set_lock; /* Mutex for chains and counts */ member in struct:nstset
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.h77 int soft_keystore_readlock(boolean_t set_lock);
78 int soft_keystore_writelock(boolean_t set_lock);
H A DsoftKeystoreUtil.c265 * set_lock: true to set a lock; false to release a lock
268 lock_file(int fd, boolean_t read_lock, boolean_t set_lock) argument
284 if (set_lock) {
629 * set_lock: true for set a lock, false to remove a lock
632 lock_desc_file(boolean_t read_lock, boolean_t set_lock) argument
637 if (set_lock) {
908 * set_lock: TRUE to set readlock on the keystore object file,
921 soft_keystore_readlock(boolean_t set_lock) argument
924 return (lock_desc_file(B_TRUE, set_lock));
932 * set_lock
944 soft_keystore_writelock(boolean_t set_lock) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.h56 pthread_mutex_t set_lock; member in struct:ses_enum_target
H A Dses.c552 (void) pthread_mutex_lock(&stp->set_lock);
578 (void) pthread_mutex_unlock(&stp->set_lock);
725 (void) pthread_mutex_lock(&stp->set_lock);
744 (void) pthread_mutex_unlock(&stp->set_lock);
919 (void) pthread_mutex_lock(&tp->set_lock);
934 (void) pthread_mutex_unlock(&tp->set_lock);
947 (void) pthread_mutex_unlock(&tp->set_lock);
975 (void) pthread_mutex_unlock(&tp->set_lock);
1001 (void) pthread_mutex_unlock(&tp->set_lock);
3456 (void) pthread_mutex_init(&stp->set_lock, NUL
[all...]

Completed in 58 milliseconds