Lines Matching defs:self
86 ulwp_t *self = curthread;
87 uberdata_t *udp = self->ul_uberdata;
101 self->ul_sp = stkptr();
102 self->ul_wchan = lsp;
103 if (__td_event_report(self, TD_SLEEP, udp)) {
104 self->ul_td_evbuf.eventnum = TD_SLEEP;
105 self->ul_td_evbuf.eventdata = lsp;
118 set_parking_flag(self, 1);
119 if (self->ul_cursig != 0 ||
120 (self->ul_cancelable && self->ul_cancel_pending))
121 set_parking_flag(self, 0);
124 set_parking_flag(self, 0);
132 sigoff(self);
134 sigon(self);
146 enqueue(qp, self, 1);
148 set_parking_flag(self, 1);
155 if (self->ul_cursig != 0 ||
156 (self->ul_cancelable && self->ul_cancel_pending))
157 set_parking_flag(self, 0);
159 set_parking_flag(self, 0);
161 if (self->ul_sleepq) /* timeout or spurious wakeup */
169 no_preempt(self);
177 preempt(self);
181 self->ul_wchan = NULL;
182 self->ul_sp = 0;
233 ulwp_t *self = curthread;
234 uberdata_t *udp = self->ul_uberdata;
247 sigoff(self);
252 sigon(self);
264 no_preempt(self);
272 preempt(self);
286 if (__td_event_report(self, TD_LOCK_TRY, udp)) {
287 self->ul_td_evbuf.eventnum = TD_LOCK_TRY;
300 ulwp_t *self = curthread;
301 uberdata_t *udp = self->ul_uberdata;
314 sigoff(self);
319 sigon(self);
331 no_preempt(self);
339 preempt(self);