Searched refs:_curthread (Results 1 – 9 of 9) sorted by relevance
57 kthread_t *t = _curthread(); in kmutex_enter()71 mp->m_owner = _curthread(); in mutex_tryenter()80 ASSERT(mp->m_owner == _curthread()); in kmutex_exit()97 void *t = _curthread(); in mutex_owned()
63 rwlp->rw_owner = _curthread(); in rw_enter()72 ASSERT(rwlp->rw_owner == _curthread()); in rw_exit()88 rwlp->rw_owner = _curthread(); in rw_tryenter()106 ASSERT(rwlp->rw_owner == _curthread()); in rw_downgrade()
90 ASSERT(mp->m_owner == _curthread()); in cv__wait()93 mp->m_owner = _curthread(); in cv__wait()190 ASSERT(mp->m_owner == _curthread()); in cv__twait()193 mp->m_owner = _curthread(); in cv__twait()
30 _curthread(void) in _curthread() function
39 _curthread;
81 extern kthread_t *_curthread(void); /* returns thread pointer */82 #define curthread (_curthread()) /* current thread pointer */
52 _curthread(void) in _curthread() function
1250 extern ulwp_t *_curthread(void);1251 #define curthread (_curthread())
1301 SCOPED_SYMBOL|SunOS_5.6|libthread.so.1|_curthread