Lines Matching defs:uc
57 struct ucontext uc;
330 struct ucontext __user *uc = (struct ucontext __user *)regs->gpr[1];
336 if (!access_ok(VERIFY_READ, uc, sizeof(*uc)))
339 if (__copy_from_user(&set, &uc->uc_sigmask, sizeof(set)))
342 if (restore_sigcontext(regs, NULL, 1, &uc->uc_mcontext))
348 do_sigaltstack(&uc->uc_stack, NULL, regs->gpr[1]);
355 printk("badframe in sys_rt_sigreturn, regs=%p uc=%p &uc->uc_mcontext=%p\n",
356 regs, uc, &uc->uc_mcontext);
381 err |= __put_user(&frame->uc, &frame->puc);
387 err |= __put_user(0, &frame->uc.uc_flags);
388 err |= __put_user(0, &frame->uc.uc_link);
389 err |= __put_user(current->sas_ss_sp, &frame->uc.uc_stack.ss_sp);
391 &frame->uc.uc_stack.ss_flags);
392 err |= __put_user(current->sas_ss_size, &frame->uc.uc_stack.ss_size);
393 err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, signr, NULL,
395 err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set));
430 regs->gpr[4] = (unsigned long)&frame->uc.uc_mcontext;