Searched refs:ch_lock (Results 1 – 6 of 6) sorted by relevance
49 static mutex_t ch_lock = ERRORCHECKMUTEX; variable60 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()
711 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 …]
90 #define TPI_LOCK(obj) mutex_enter(&obj->ch_lock);91 #define TPI_UNLOCK(obj) mutex_exit(&obj->ch_lock);
148 kmutex_t ch_lock; /* lock for ch structure */ member
163 (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 …]
110 pthread_rwlock_t ch_lock; /* lock protecting case hash */ member