Lines Matching defs:self
2084 thread_t self = current_thread();
2087 && (self == vm_pageout_external_iothread )
2088 && (self->options & TH_OPT_VMPRIV))
2089 self->options &= ~TH_OPT_VMPRIV;
2240 thread_t self = current_thread();
2242 self->options |= TH_OPT_VMPRIV;
2252 thread_t self = current_thread();
2254 self->options |= TH_OPT_VMPRIV;
2287 thread_t self = current_thread();
2296 thread_lock(self);
2297 self->priority = BASEPRI_PREEMPT - 1;
2298 set_sched_pri(self, self->priority);
2299 thread_unlock(self);
2301 if (!self->reserved_stack)
2302 self->reserved_stack = self->kernel_stack;