Home
last modified time | relevance | path

Searched refs:ch_lock (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dset_constraint_handler_s.c49 static mutex_t ch_lock = ERRORCHECKMUTEX; variable
60 mutex_enter(&ch_lock); in set_constraint_handler_s()
63 mutex_exit(&ch_lock); in set_constraint_handler_s()
91 mutex_enter(&ch_lock); in __throw_constraint_handler_s()
93 mutex_exit(&ch_lock); in __throw_constraint_handler_s()
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dch.c596 mutex_init(&chp->ch_lock, NULL, MUTEX_DRIVER, in ch_attach()
615 mutex_destroy(&chp->ch_lock); in ch_attach()
677 mutex_destroy(&chp->ch_lock); in ch_attach()
709 mutex_enter(&chp->ch_lock); in ch_attach()
711 mutex_exit(&chp->ch_lock); in ch_attach()
792 mutex_enter(&chp->ch_lock); in ch_detach()
794 mutex_exit(&chp->ch_lock); in ch_detach()
797 mutex_exit(&chp->ch_lock); in ch_detach()
804 mutex_enter(&chp->ch_lock); in ch_detach()
806 mutex_exit(&chp->ch_lock); in ch_detach()
[all …]
H A Dosdep.h90 #define TPI_LOCK(obj) mutex_enter(&obj->ch_lock);
91 #define TPI_UNLOCK(obj) mutex_exit(&obj->ch_lock);
H A Dch.h148 kmutex_t ch_lock; /* lock for ch structure */ member
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_case.c163 (void) pthread_rwlock_init(&chp->ch_lock, NULL); in fmd_case_hash_create()
198 (void) pthread_rwlock_rdlock(&chp->ch_lock); in fmd_case_hash_apply()
209 (void) pthread_rwlock_unlock(&chp->ch_lock); in fmd_case_hash_apply()
943 (void) pthread_rwlock_rdlock(&chp->ch_lock); in fmd_case_convict()
950 (void) pthread_rwlock_unlock(&chp->ch_lock); in fmd_case_convict()
1155 (void) pthread_rwlock_rdlock(&chp->ch_lock); in fmd_case_hash_lookup()
1172 (void) pthread_rwlock_unlock(&chp->ch_lock); in fmd_case_hash_lookup()
1182 (void) pthread_rwlock_wrlock(&chp->ch_lock); in fmd_case_hash_insert()
1188 (void) pthread_rwlock_unlock(&chp->ch_lock); in fmd_case_hash_insert()
1199 (void) pthread_rwlock_unlock(&chp->ch_lock); in fmd_case_hash_insert()
[all …]
H A Dfmd_case.h110 pthread_rwlock_t ch_lock; /* lock protecting case hash */ member