Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd_module.c1027 (void) pthread_rwlock_init(&mhp->mh_lock, NULL); in fmd_modhash_create()
1050 (void) pthread_rwlock_destroy(&mhp->mh_lock); in fmd_modhash_destroy()
1101 (void) pthread_rwlock_rdlock(&mhp->mh_lock); in fmd_modhash_apply()
1110 (void) pthread_rwlock_unlock(&mhp->mh_lock); in fmd_modhash_apply()
1119 if (mhp == NULL || pthread_rwlock_tryrdlock(&mhp->mh_lock) != 0) in fmd_modhash_tryapply()
1129 (void) pthread_rwlock_unlock(&mhp->mh_lock); in fmd_modhash_tryapply()
1139 (void) pthread_rwlock_rdlock(&mhp->mh_lock); in fmd_modhash_dispatch()
1169 (void) pthread_rwlock_unlock(&mhp->mh_lock); in fmd_modhash_dispatch()
1179 (void) pthread_rwlock_rdlock(&mhp->mh_lock); in fmd_modhash_lookup()
1192 (void) pthread_rwlock_unlock(&mhp->mh_lock); in fmd_modhash_lookup()
[all …]
H A Dfmd_module.h61 pthread_rwlock_t mh_lock; /* r/w lock to protect hash */ member
H A Dfmd_xprt.c338 (void) pthread_rwlock_rdlock(&mhp->mh_lock); in fmd_xprt_subscribe_modhash()
364 (void) pthread_rwlock_unlock(&mhp->mh_lock); in fmd_xprt_subscribe_modhash()
/titanic_41/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_module.c112 (void) pthread_mutex_lock(&mhp->mh_lock); in topo_modhash_lock()
118 (void) pthread_mutex_unlock(&mhp->mh_lock); in topo_modhash_unlock()
270 (void) pthread_mutex_init(&mhp->mh_lock, NULL); in topo_modhash_create()
H A Dtopo_module.h48 pthread_mutex_t mh_lock; /* hash lock */ member