Lines Matching refs:regs
30 struct pt_regs *regs) in syscall_get_nr() argument
36 struct task_struct *task, struct pt_regs *regs, unsigned int n) in mips_get_syscall_arg() argument
38 unsigned long usp __maybe_unused = regs->regs[29]; in mips_get_syscall_arg()
42 *arg = regs->regs[4 + n]; in mips_get_syscall_arg()
58 *arg = regs->regs[4 + n]; in mips_get_syscall_arg()
71 struct pt_regs *regs) in syscall_get_return_value() argument
73 return regs->regs[2]; in syscall_get_return_value()
77 struct pt_regs *regs) in syscall_rollback() argument
83 struct pt_regs *regs, in syscall_set_return_value() argument
87 regs->regs[2] = -error; in syscall_set_return_value()
88 regs->regs[7] = -1; in syscall_set_return_value()
90 regs->regs[2] = val; in syscall_set_return_value()
91 regs->regs[7] = 0; in syscall_set_return_value()
96 struct pt_regs *regs, in syscall_get_arguments() argument
104 (regs->regs[2] == __NR_syscall)) in syscall_get_arguments()
108 ret |= mips_get_syscall_arg(args++, task, regs, i++); in syscall_get_arguments()