Lines Matching defs:self
120 * to pass down self pointer and set %gs selector
149 _thrp_setup(ulwp_t *self)
151 self->ul_ustack.ss_sp = (void *)(self->ul_stktop - self->ul_stksiz);
152 self->ul_ustack.ss_size = self->ul_stksiz;
153 self->ul_ustack.ss_flags = 0;
154 (void) setustack(&self->ul_ustack);
156 update_sched(self);
160 sigon(self);
162 if (self->ul_cancel_pending == 2 && !self->ul_cancel_disabled)
164 return (self->ul_startpc(self->ul_startarg));
219 ulwp_t *self = curthread;
221 ucp->uc_link = self->ul_siglink;
222 if (self->ul_ustack.ss_flags & SS_ONSTACK)
223 ucp->uc_stack = self->ul_ustack;
226 (void *)(self->ul_stktop - self->ul_stksiz);
227 ucp->uc_stack.ss_size = self->ul_stksiz;
233 enter_critical(self);
234 ucp->uc_sigmask = self->ul_sigmask;
235 exit_critical(self);