Lines Matching refs:m_owner
143 mp->m_owner = NULL; in zmutex_init()
152 ASSERT(mp->m_owner == NULL); in zmutex_destroy()
154 mp->m_owner = (void *)-1UL; in zmutex_destroy()
162 ASSERT(mp->m_owner != (void *)-1UL); in zmutex_enter()
163 ASSERT(mp->m_owner != curthread); in zmutex_enter()
165 ASSERT(mp->m_owner == NULL); in zmutex_enter()
166 mp->m_owner = curthread; in zmutex_enter()
173 ASSERT(mp->m_owner != (void *)-1UL); in mutex_tryenter()
175 ASSERT(mp->m_owner == NULL); in mutex_tryenter()
176 mp->m_owner = curthread; in mutex_tryenter()
188 mp->m_owner = NULL; in zmutex_exit()
196 return (mp->m_owner); in mutex_owner()
300 mp->m_owner = NULL; in cv_wait()
303 mp->m_owner = curthread; in cv_wait()
322 mp->m_owner = NULL; in cv_timedwait()
324 mp->m_owner = curthread; in cv_timedwait()
357 mp->m_owner = NULL; in cv_timedwait_hires()
359 mp->m_owner = curthread; in cv_timedwait_hires()