Lines Matching refs:ucp
42 void _ctx_done(ucontext_t *ucp);
46 _ctx_done(ucontext_t *ucp) in _ctx_done() argument
48 if (ucp->uc_link == NULL) in _ctx_done()
52 ucp->uc_mcontext.mc_len = 0; in _ctx_done()
54 setcontext((const ucontext_t *)ucp->uc_link); in _ctx_done()
61 __makecontext(ucontext_t *ucp, void (*start)(void), int argc, ...) in __makecontext() argument
69 if ((ucp == NULL) || (argc < 0) in __makecontext()
70 || (ucp->uc_stack.ss_sp == NULL) in __makecontext()
71 || (ucp->uc_stack.ss_size < MINSIGSTKSZ)) { in __makecontext()
73 ucp->uc_mcontext.mc_len = 0; in __makecontext()
83 sp = (char *) ucp->uc_stack.ss_sp + ucp->uc_stack.ss_size in __makecontext()
87 mc = &ucp->uc_mcontext; in __makecontext()
128 mc->mc_gpr[15] = (uintptr_t) ucp; /* r15 <- ucp */ in __makecontext()