Home
last modified time | relevance | path

Searched refs:thr_rwlock (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_proc.c121 rw_rdlock(&thr_rwlock); in sm_mon_svc()
137 rw_unlock(&thr_rwlock); in sm_mon_svc()
147 rw_rdlock(&thr_rwlock); in sm_unmon_svc()
160 rw_unlock(&thr_rwlock); in sm_unmon_svc()
170 rw_rdlock(&thr_rwlock); in sm_unmon_all_svc()
179 rw_unlock(&thr_rwlock); in sm_unmon_all_svc()
190 rw_rdlock(&thr_rwlock); in sm_notify_svc()
195 rw_unlock(&thr_rwlock); in sm_notify_svc()
238 rw_wrlock(&thr_rwlock); in sm_simu_crash_svc()
240 rw_unlock(&thr_rwlock); in sm_simu_crash_svc()
[all …]
H A Dsm_statd.h145 extern rwlock_t thr_rwlock; /* Reader/writer lock for requests coming in */
H A Dsm_svc.c129 rwlock_t thr_rwlock; variable
782 rwlock_init(&thr_rwlock, USYNC_THREAD, NULL); in main()
H A Dsm_statd.c645 rw_rdlock(&thr_rwlock); in sm_try()
700 rw_unlock(&thr_rwlock); in sm_try()