Lines Matching defs:self
119 * to pass down self pointer and set %gs selector
148 _thrp_setup(ulwp_t *self)
150 self->ul_ustack.ss_sp = (void *)(self->ul_stktop - self->ul_stksiz);
151 self->ul_ustack.ss_size = self->ul_stksiz;
152 self->ul_ustack.ss_flags = 0;
153 (void) setustack(&self->ul_ustack);
155 update_sched(self);
159 sigon(self);
161 if (self->ul_cancel_pending == 2 && !self->ul_cancel_disabled)
163 return (self->ul_startpc(self->ul_startarg));
218 ulwp_t *self = curthread;
220 ucp->uc_link = self->ul_siglink;
221 if (self->ul_ustack.ss_flags & SS_ONSTACK)
222 ucp->uc_stack = self->ul_ustack;
225 (void *)(self->ul_stktop - self->ul_stksiz);
226 ucp->uc_stack.ss_size = self->ul_stksiz;
232 enter_critical(self);
233 ucp->uc_sigmask = self->ul_sigmask;
234 exit_critical(self);