Searched refs:_curthread (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dmutex.c57 mp->m_owner = _curthread();
67 mp->m_owner = _curthread();
76 ASSERT(mp->m_owner == _curthread());
93 void *t = _curthread();
H A Drwlock.c64 rwlp->rw_owner = _curthread();
73 ASSERT(rwlp->rw_owner == _curthread());
87 rwlp->rw_owner = _curthread();
105 ASSERT(rwlp->rw_owner == _curthread());
H A Dcond.c88 ASSERT(mp->m_owner == _curthread());
91 mp->m_owner = _curthread();
160 ASSERT(mp->m_owner == _curthread());
163 mp->m_owner = _curthread();
H A Dthread.c27 _curthread(void) function
/illumos-gate/usr/src/lib/libfakekernel/common/sys/
H A Dthread.h80 extern kthread_t *_curthread(void); /* returns thread pointer */
81 #define curthread (_curthread()) /* current thread pointer */
/illumos-gate/usr/src/lib/libc/amd64/threads/
H A Damd64.il27 .inline _curthread, 0
/illumos-gate/usr/src/lib/libc/i386/threads/
H A Di386.il28 .inline _curthread, 0
/illumos-gate/usr/src/lib/libc/sparc/threads/
H A Dsparc.il28 .inline _curthread, 0
/illumos-gate/usr/src/lib/libc/sparcv9/threads/
H A Dsparcv9.il28 .inline _curthread, 0
/illumos-gate/usr/src/lib/libc/inc/
H A Dthr_inlines.h39 * (_curthread) and ones it didn't (__curthread) must agree.
48 _curthread(void) function
H A Dthr_uberdata.h1237 /* _curthread() is inline for speed */
1238 extern ulwp_t *_curthread(void);
1239 #define curthread (_curthread())

Completed in 93 milliseconds