Lines Matching refs:ucp
38 __makecontext (ucontext_t *ucp, void (*func) (void), int argc, ...) in __makecontext() argument
47 if (ucp->uc_stack.ss_sp && ucp->uc_stack.ss_size) in __makecontext()
48 osp = (unsigned long *)ucp->uc_stack.ss_sp; in __makecontext()
50 osp = (unsigned long *)ucp->uc_mcontext.sc_gr[30]; in __makecontext()
57 ucp->uc_mcontext.sc_gr[30] = ((unsigned long) sp); in __makecontext()
60 if (ucp->uc_link) in __makecontext()
63 sp[-4 / sizeof (unsigned long)] = ucp->uc_link->uc_mcontext.sc_gr[30]; in __makecontext()
64 sp[-20 / sizeof (unsigned long)] = ucp->uc_link->uc_mcontext.sc_gr[2]; in __makecontext()
74 ucp->uc_mcontext.sc_gr[2] = (unsigned long) func; in __makecontext()
82 ucp->uc_mcontext.sc_gr[26-i] = va_arg (ap, int); in __makecontext()
89 ucp->uc_mcontext.sc_gr[22+4-i] = va_arg (ap, int); in __makecontext()