Lines Matching refs:areg
79 if (__get_user(sp, (int*)(regs->areg[base * 4 + 1] - 12))) in flush_window_regs_user()
96 ®s->areg[(base + 1) * 4], 16)) in flush_window_regs_user()
102 ®s->areg[(base + 1) * 4], 32)) in flush_window_regs_user()
109 sp = regs->areg[((base + inc) * 4 + 1) % XCHAL_NUM_AREGS]; in flush_window_regs_user()
110 if (copy_to_user(&SPILL_SLOT(sp, 0), ®s->areg[base * 4], 16)) in flush_window_regs_user()
115 sp = regs->areg[base * 4 + 1]; in flush_window_regs_user()
160 err |= __copy_to_user (sc->sc_a, regs->areg, 16 * 4); in setup_sigcontext()
218 err |= __copy_from_user(regs->areg, sc->sc_a, 16 * 4); in restore_sigcontext()
261 frame = (struct rt_sigframe __user *) regs->areg[1]; in xtensa_rt_sigreturn()
274 ret = regs->areg[2]; in xtensa_rt_sigreturn()
362 sp = regs->areg[1]; in setup_frame()
385 err |= __save_altstack(&frame->uc.uc_stack, regs->areg[1]); in setup_frame()
422 regs->areg[base] = in setup_frame()
428 regs->areg[base] = (unsigned long) ra; in setup_frame()
430 regs->areg[base + 2] = (unsigned long) sig; in setup_frame()
431 regs->areg[base + 3] = (unsigned long) &frame->info; in setup_frame()
432 regs->areg[base + 4] = (unsigned long) &frame->uc; in setup_frame()
436 regs->areg[base + 11] = handler_fdpic_GOT; in setup_frame()
468 switch (regs->areg[2]) { in do_signal()
471 regs->areg[2] = -EINTR; in do_signal()
476 regs->areg[2] = -EINTR; in do_signal()
481 regs->areg[2] = regs->syscall; in do_signal()
487 if (regs->areg[2] != 0) in do_signal()
505 switch (regs->areg[2]) { in do_signal()
509 regs->areg[2] = regs->syscall; in do_signal()
513 regs->areg[2] = __NR_restart_syscall; in do_signal()