Lines Matching refs:ucp
39 void _ctx_done(ucontext_t *ucp);
43 _ctx_done(ucontext_t *ucp) in _ctx_done() argument
45 if (ucp->uc_link == NULL) in _ctx_done()
49 ucp->uc_mcontext.mc_len = 0; in _ctx_done()
51 setcontext((const ucontext_t *)ucp->uc_link); in _ctx_done()
58 __makecontext(ucontext_t *ucp, void (*start)(void), int argc, ...) in __makecontext() argument
66 if ((ucp == NULL) || (argc < 0) in __makecontext()
67 || (ucp->uc_stack.ss_sp == NULL) in __makecontext()
68 || (ucp->uc_stack.ss_size < MINSIGSTKSZ)) { in __makecontext()
70 ucp->uc_mcontext.mc_len = 0; in __makecontext()
80 sp = (char *) ucp->uc_stack.ss_sp + ucp->uc_stack.ss_size in __makecontext()
84 mc = &ucp->uc_mcontext; in __makecontext()
118 mc->mc_gpr[15] = (uint32_t) ucp; /* r15 <- ucp */ in __makecontext()