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.c711 mutex_exit(&chp->ch_lock); in ch_attach()
797 mutex_exit(&chp->ch_lock); in ch_detach()
806 mutex_exit(&chp->ch_lock); in ch_detach()
856 mutex_exit(&chp->ch_lock); in ch_detach()
1449 mutex_enter(&chp->ch_lock); in ch_start()
1453 mutex_exit(&chp->ch_lock); in ch_start()
1456 mutex_exit(&chp->ch_lock); in ch_start()
1461 mutex_enter(&chp->ch_lock); in ch_start()
1463 mutex_exit(&chp->ch_lock); in ch_start()
1477 mutex_enter(&chp->ch_lock); in ch_stop()
[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()
1199 (void) pthread_rwlock_unlock(&chp->ch_lock); in fmd_case_hash_insert()
1214 (void) pthread_rwlock_wrlock(&chp->ch_lock); in fmd_case_hash_delete()
[all …]
H A Dfmd_case.h110 pthread_rwlock_t ch_lock; /* lock protecting case hash */ member