Searched refs:_curthread (Results 1 – 13 of 13) sorted by relevance
57 mp->m_owner = _curthread(); in mutex_enter()67 mp->m_owner = _curthread(); in mutex_tryenter()76 ASSERT(mp->m_owner == _curthread()); in mutex_exit()93 void *t = _curthread(); in mutex_owned()
64 rwlp->rw_owner = _curthread(); in rw_enter()73 ASSERT(rwlp->rw_owner == _curthread()); in rw_exit()87 rwlp->rw_owner = _curthread(); in rw_tryenter()105 ASSERT(rwlp->rw_owner == _curthread()); in rw_downgrade()
88 ASSERT(mp->m_owner == _curthread()); in cv__wait()91 mp->m_owner = _curthread(); in cv__wait()160 ASSERT(mp->m_owner == _curthread()); in cv__twait()163 mp->m_owner = _curthread(); in cv__twait()
27 _curthread(void) in _curthread() function
37 _curthread;
80 extern kthread_t *_curthread(void); /* returns thread pointer */81 #define curthread (_curthread()) /* current thread pointer */
27 .inline _curthread, 0
28 .inline _curthread, 0
48 _curthread(void) in _curthread() function
1230 extern ulwp_t *_curthread(void);1231 #define curthread (_curthread())
1301 SCOPED_SYMBOL|SunOS_5.6|libthread.so.1|_curthread