Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/chxge/
H A Dch.c594 mutex_init(&chp->ch_lock, NULL, MUTEX_DRIVER, in ch_attach()
613 mutex_destroy(&chp->ch_lock); in ch_attach()
675 mutex_destroy(&chp->ch_lock); in ch_attach()
707 mutex_enter(&chp->ch_lock); in ch_attach()
709 mutex_exit(&chp->ch_lock); in ch_attach()
790 mutex_enter(&chp->ch_lock); in ch_detach()
792 mutex_exit(&chp->ch_lock); in ch_detach()
795 mutex_exit(&chp->ch_lock); in ch_detach()
802 mutex_enter(&chp->ch_lock); in ch_detach()
804 mutex_exit(&chp->ch_lock); in ch_detach()
[all …]
H A Dosdep.h92 #define TPI_LOCK(obj) mutex_enter(&obj->ch_lock);
93 #define TPI_UNLOCK(obj) mutex_exit(&obj->ch_lock);
H A Dch.h150 kmutex_t ch_lock; /* lock for ch structure */ member
/titanic_50/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