Lines Matching refs:curthread

84 	stall_mutex.mutex_owner = (uintptr_t)curthread;
199 curthread->ul_misaligned == 0)
206 * Delete mp from list of ceiling mutexes owned by curthread.
212 ulwp_t *self = curthread;
229 * Add mp to the list of ceiling mutexes owned by curthread.
235 ulwp_t *self = curthread;
267 ulwp_t *self = curthread;
281 ulwp_t *self = curthread;
414 ulwp_t *self = curthread;
451 ulwp_t *self = curthread;
467 ulwp_t *self = curthread;
503 ulwp_t *self = curthread;
557 uberdata_t *udp = curthread->ul_uberdata;
616 ASSERT(MUTEX_OWNED(&qp->qh_lock, curthread));
666 (((++qp->qh_qcnt << curthread->ul_queue_fifo) & 0xff) == 0)) {
785 ASSERT(MUTEX_OWNED(&qp->qh_lock, curthread));
830 ASSERT(MUTEX_OWNED(&qp->qh_lock, curthread));
913 ulwp_t *self = curthread;
939 thr_panic("dequeue_self(): curthread not found on queue");
951 ulwp_t *self = curthread;
982 ulwp_t *self = curthread;
1056 ulwp_t *self = curthread;
1104 ulwp_t *self = curthread;
1151 ulwp_t *self = curthread;
1254 enter_critical(curthread);
1256 if ((scp = curthread->ul_schedctl) != NULL ||
1264 exit_critical(curthread);
1272 * If this succeeds, return 0 with mutex_owner set to curthread.
1277 ulwp_t *self = curthread;
1435 int count = curthread->ul_queue_spin;
1461 * If this succeeds, return 0 with mutex_owner set to curthread
1467 ulwp_t *self = curthread;
1712 no_preempt(curthread);
1718 preempt(curthread);
1736 ulwp_t *self = curthread;
1764 ulwp_t *self = curthread;
1814 uberdata_t *udp = curthread->ul_uberdata;
1959 uberdata_t *udp = curthread->ul_uberdata;
2044 uberdata_t *udp = curthread->ul_uberdata;
2075 ulwp_t *self = curthread;
2208 ulwp_t *self = curthread;
2259 ulwp_t *self = curthread;
2343 ASSERT(!curthread->ul_critical || curthread->ul_bindflags);
2354 ASSERT(!curthread->ul_critical || curthread->ul_bindflags);
2369 ASSERT(!curthread->ul_critical || curthread->ul_bindflags);
2381 ulwp_t *self = curthread;
2386 ASSERT(!curthread->ul_critical || curthread->ul_bindflags);
2448 ulwp_t *self = curthread;
2512 ulwp_t *self = curthread;
2617 ulwp_t *self = curthread;
2656 ulwp_t *self = curthread;
2695 ulwp_t *self = curthread;
2704 ulwp_t *self = curthread;
2713 ulwp_t *self = curthread;
2730 ASSERT(curthread->ul_sigdefer != 0);
2733 if (error == EINTR && curthread->ul_cursig) {
2750 ASSERT(curthread->ul_sigdefer != 0);
2753 if (error == EINTR && curthread->ul_cursig) {
2772 curthread->ul_libc_locks++;
2781 curthread->ul_libc_locks++;
2788 ulwp_t *self = curthread;
2825 ulwp_t *self = curthread;
2839 return (MUTEX_OWNED(mp, curthread));
2900 curthread->ul_misaligned == 0)
2917 ulwp_t *self = curthread;
2937 ulwp_t *self = curthread;
2975 ulwp_t *self = curthread;
2994 ulwp_t *self = curthread;
3096 ulwp_t *self = curthread;
3147 curthread->ul_misaligned == 0)
3167 ulwp_t *self = curthread;
3293 ulwp_t *self = curthread;
3342 ulwp_t *self = curthread;
3380 ulwp_t *self = curthread;
3422 ulwp_t *self = curthread;
3519 ulwp_t *self = curthread;
3684 ulwp_t *self = curthread;
3815 ulwp_t *self = curthread;
3919 ASSERT(!curthread->ul_critical || curthread->ul_bindflags);
3954 uberdata_t *udp = curthread->ul_uberdata;