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()
596 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 …]
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()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 …]
110 pthread_rwlock_t ch_lock; /* lock protecting case hash */ member