Lines Matching refs:ucp
140 static ucontext_t ucp; variable
153 makecontext (&ucp, (void *) callback_0, 0); in invoke_callback_0()
154 if (setcontext (&ucp) != 0) in invoke_callback_0()
171 makecontext (&ucp, (void *) callback_1, 1, 101); in invoke_callback_1()
172 if (setcontext (&ucp) != 0) in invoke_callback_1()
190 makecontext (&ucp, (void *) callback_2, 2, 201, 202); in invoke_callback_2()
191 if (setcontext (&ucp) != 0) in invoke_callback_2()
210 makecontext (&ucp, (void *) callback_3, 3, 301, 302, 303); in invoke_callback_3()
211 if (setcontext (&ucp) != 0) in invoke_callback_3()
224 if (getcontext (&ucp) != 0) in do_test()
227 ucp.uc_link = NULL; in do_test()
228 ucp.uc_stack.ss_size = 512 * 1024; in do_test()
229 ucp.uc_stack.ss_sp = xmmap (NULL, ucp.uc_stack.ss_size, in do_test()