Lines Matching refs:gprs
131 memcpy(&user_sregs.regs.gprs, ®s->gprs, sizeof(sregs->regs.gprs)); in save_sigregs()
168 memcpy(®s->gprs, &user_sregs.regs.gprs, sizeof(sregs->regs.gprs)); in restore_sigregs()
223 (struct sigframe __user *) regs->gprs[15]; in SYSCALL_DEFINE0()
235 return regs->gprs[2]; in SYSCALL_DEFINE0()
245 (struct rt_sigframe __user *)regs->gprs[15]; in SYSCALL_DEFINE0()
259 return regs->gprs[2]; in SYSCALL_DEFINE0()
274 sp = regs->gprs[15]; in get_sigframe()
311 if (__put_user(regs->gprs[15], (addr_t __user *) frame)) in setup_frame()
328 if (__put_user(regs->gprs[2], (int __user *) &frame->signo)) in setup_frame()
343 regs->gprs[14] = restorer; in setup_frame()
344 regs->gprs[15] = (unsigned long) frame; in setup_frame()
351 regs->gprs[2] = sig; in setup_frame()
352 regs->gprs[3] = (unsigned long) &frame->sc; in setup_frame()
359 regs->gprs[4] = regs->int_code & 127; in setup_frame()
360 regs->gprs[5] = regs->int_parm_long; in setup_frame()
361 regs->gprs[6] = current->thread.last_break; in setup_frame()
390 if (__put_user(regs->gprs[15], (addr_t __user *) frame)) in setup_rt_frame()
410 __save_altstack(&frame->uc.uc_stack, regs->gprs[15]) || in setup_rt_frame()
417 regs->gprs[14] = restorer; in setup_rt_frame()
418 regs->gprs[15] = (unsigned long) frame; in setup_rt_frame()
425 regs->gprs[2] = ksig->sig; in setup_rt_frame()
426 regs->gprs[3] = (unsigned long) &frame->info; in setup_rt_frame()
427 regs->gprs[4] = (unsigned long) &frame->uc; in setup_rt_frame()
428 regs->gprs[5] = current->thread.last_break; in setup_rt_frame()
474 switch (regs->gprs[2]) { in arch_do_signal_or_restart()
477 regs->gprs[2] = -EINTR; in arch_do_signal_or_restart()
481 regs->gprs[2] = -EINTR; in arch_do_signal_or_restart()
486 regs->gprs[2] = regs->orig_gpr2; in arch_do_signal_or_restart()
508 switch (regs->gprs[2]) { in arch_do_signal_or_restart()
511 regs->gprs[2] = regs->orig_gpr2; in arch_do_signal_or_restart()
523 regs->gprs[2] = regs->orig_gpr2; in arch_do_signal_or_restart()