Lines Matching refs:uctx
191 struct user_ucontext64 uctx;
423 uctx.uc_onstack = oonstack;
424 uctx.uc_sigmask = mask;
425 uctx.uc_stack.ss_sp = sp;
426 uctx.uc_stack.ss_size = stack_size;
428 uctx.uc_stack.ss_flags |= SS_ONSTACK;
430 uctx.uc_link = 0;
432 uctx.uc_mcsize = (size_t)((PPC_EXCEPTION_STATE64_COUNT + PPC_THREAD_STATE64_COUNT + PPC_FLOAT_STATE_COUNT) * sizeof(int));
434 uctx.uc_mcsize = (size_t)((PPC_EXCEPTION_STATE_COUNT + PPC_THREAD_STATE_COUNT + PPC_FLOAT_STATE_COUNT) * sizeof(int));
437 uctx.uc_mcsize += (size_t)(PPC_VECTOR_STATE_COUNT * sizeof(int));
440 uctx.uc_mcontext64 = p_mctx64;
442 uctx.uc_mcontext64 = p_mctx;
613 if (copyout(&uctx, p_uctx, sizeof(struct user_ucontext64)))
621 ucontext_64to32(&uctx, &uctx32);
642 if (copyout(&mctx, p_mctx, uctx.uc_mcsize))
712 struct user_ucontext64 uctx;
735 * just rest it and return (the uap->uctx is not used).
746 error = copyin(uap->uctx, &uctx, sizeof(struct user_ucontext64));
758 error = copyin(uap->uctx, &uctx32, sizeof(struct ucontext));
761 ucontext_32to64(&uctx32, &uctx);
766 switch (uctx.uc_mcsize) {
780 error = copyin(uctx.uc_mcontext64, mactx, uctx.uc_mcsize);
784 if ((uctx.uc_onstack & 01))
789 ut->uu_sigmask = uctx.uc_sigmask & ~sigcantmask;