Lines Matching refs:areg
76 if (__get_user(sp, (int*)(regs->areg[base * 4 + 1] - 12))) in flush_window_regs_user()
93 ®s->areg[(base + 1) * 4], 16)) in flush_window_regs_user()
99 ®s->areg[(base + 1) * 4], 32)) in flush_window_regs_user()
106 sp = regs->areg[((base + inc) * 4 + 1) % XCHAL_NUM_AREGS]; in flush_window_regs_user()
107 if (copy_to_user(&SPILL_SLOT(sp, 0), ®s->areg[base * 4], 16)) in flush_window_regs_user()
112 sp = regs->areg[base * 4 + 1]; in flush_window_regs_user()
150 err |= __copy_to_user (sc->sc_a, regs->areg, 16 * 4); in setup_sigcontext()
209 err |= __copy_from_user(regs->areg, sc->sc_a, 16 * 4); in restore_sigcontext()
252 frame = (struct rt_sigframe __user *) regs->areg[1]; in xtensa_rt_sigreturn()
265 ret = regs->areg[2]; in xtensa_rt_sigreturn()
341 sp = regs->areg[1]; in setup_frame()
364 err |= __save_altstack(&frame->uc.uc_stack, regs->areg[1]); in setup_frame()
396 regs->areg[base] = in setup_frame()
402 regs->areg[base] = (unsigned long) ra; in setup_frame()
404 regs->areg[base + 2] = (unsigned long) sig; in setup_frame()
405 regs->areg[base + 3] = (unsigned long) &frame->info; in setup_frame()
406 regs->areg[base + 4] = (unsigned long) &frame->uc; in setup_frame()
440 switch (regs->areg[2]) { in do_signal()
443 regs->areg[2] = -EINTR; in do_signal()
448 regs->areg[2] = -EINTR; in do_signal()
453 regs->areg[2] = regs->syscall; in do_signal()
459 if (regs->areg[2] != 0) in do_signal()
477 switch (regs->areg[2]) { in do_signal()
481 regs->areg[2] = regs->syscall; in do_signal()
485 regs->areg[2] = __NR_restart_syscall; in do_signal()