Lines Matching refs:u_regs
89 sf = (struct signal_frame __user *) regs->u_regs[UREG_FP]; in do_sigreturn()
95 if (get_user(ufp, &sf->info.si_regs.u_regs[UREG_FP])) in do_sigreturn()
152 sf = (struct rt_signal_frame __user *) regs->u_regs[UREG_FP]; in do_rt_sigreturn()
156 if (get_user(ufp, &sf->regs.u_regs[UREG_FP])) in do_rt_sigreturn()
169 err |= __copy_from_user(®s->u_regs[UREG_G1], in do_rt_sigreturn()
170 &sf->regs.u_regs[UREG_G1], 15 * sizeof(u32)); in do_rt_sigreturn()
203 unsigned long sp = regs->u_regs[UREG_FP]; in get_sigframe()
280 err |= __copy_to_user(sf, (char *) regs->u_regs[UREG_FP], in setup_frame()
292 regs->u_regs[UREG_FP] = (unsigned long) sf; in setup_frame()
293 regs->u_regs[UREG_I0] = ksig->sig; in setup_frame()
294 regs->u_regs[UREG_I1] = (unsigned long) &sf->info; in setup_frame()
295 regs->u_regs[UREG_I2] = (unsigned long) &sf->info; in setup_frame()
303 regs->u_regs[UREG_I7] = (unsigned long)ksig->ka.ka_restorer; in setup_frame()
305 regs->u_regs[UREG_I7] = (unsigned long)(&(sf->insns[0]) - 2); in setup_frame()
352 err |= __copy_to_user(&sf->regs.u_regs, regs->u_regs, sizeof(regs->u_regs)); in setup_rt_frame()
374 err |= __save_altstack(&sf->stack, regs->u_regs[UREG_FP]); in setup_rt_frame()
377 err |= __copy_to_user(sf, (char *) regs->u_regs[UREG_FP], in setup_rt_frame()
391 regs->u_regs[UREG_FP] = (unsigned long) sf; in setup_rt_frame()
392 regs->u_regs[UREG_I0] = ksig->sig; in setup_rt_frame()
393 regs->u_regs[UREG_I1] = (unsigned long) &sf->info; in setup_rt_frame()
394 regs->u_regs[UREG_I2] = (unsigned long) &sf->regs; in setup_rt_frame()
400 regs->u_regs[UREG_I7] = (unsigned long)ksig->ka.ka_restorer; in setup_rt_frame()
402 regs->u_regs[UREG_I7] = (unsigned long)(&(sf->insns[0]) - 2); in setup_rt_frame()
434 switch(regs->u_regs[UREG_I0]) { in syscall_restart()
438 regs->u_regs[UREG_I0] = EINTR; in syscall_restart()
446 regs->u_regs[UREG_I0] = orig_i0; in syscall_restart()
481 regs->u_regs[UREG_G6] = orig_i0; in do_signal()
492 orig_i0 = regs->u_regs[UREG_G6]; in do_signal()
501 switch (regs->u_regs[UREG_I0]) { in do_signal()
506 regs->u_regs[UREG_I0] = orig_i0; in do_signal()
511 regs->u_regs[UREG_G1] = __NR_restart_syscall; in do_signal()