Home
last modified time | relevance | path

Searched refs:mmp_thread_lock (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dmmp.c198 mutex_init(&mmp->mmp_thread_lock, NULL, MUTEX_DEFAULT, NULL); in mmp_init()
217 mutex_destroy(&mmp->mmp_thread_lock); in mmp_fini()
225 CALLB_CPR_INIT(cpr, &mmp->mmp_thread_lock, callb_generic_cpr, FTAG); in mmp_thread_enter()
226 mutex_enter(&mmp->mmp_thread_lock); in mmp_thread_enter()
245 mutex_enter(&mmp->mmp_thread_lock); in mmp_thread_start()
252 mutex_exit(&mmp->mmp_thread_lock); in mmp_thread_start()
261 mutex_enter(&mmp->mmp_thread_lock); in mmp_thread_stop()
266 cv_wait(&mmp->mmp_thread_cv, &mmp->mmp_thread_lock); in mmp_thread_stop()
268 mutex_exit(&mmp->mmp_thread_lock); in mmp_thread_stop()
682 &mmp->mmp_thread_lock, next_time); in mmp_thread()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dmmp.h41 kmutex_t mmp_thread_lock; /* protect thread mgmt fields */ member