Lines Matching defs:ucp
40 void _ctx_done(ucontext_t *ucp);
44 _ctx_done(ucontext_t *ucp)
46 if (ucp->uc_link == NULL)
50 ucp->uc_mcontext.mc_len = 0;
52 setcontext((const ucontext_t *)ucp->uc_link);
59 __makecontext(ucontext_t *ucp, void (*start)(void), int argc, ...)
67 if ((ucp == NULL) || (argc < 0) || (argc > NCARGS)
68 || (ucp->uc_stack.ss_sp == NULL)
69 || (ucp->uc_stack.ss_size < MINSIGSTKSZ)) {
71 ucp->uc_mcontext.mc_len = 0;
81 sp = (char *) ucp->uc_stack.ss_sp + ucp->uc_stack.ss_size
85 mc = &ucp->uc_mcontext;
117 mc->mc_gpr[15] = (uintptr_t) ucp; /* r15 <- ucp */