Lines Matching refs:newregs
572 struct user_pt_regs newregs = task_pt_regs(target)->user_regs; in gpr_set() local
574 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newregs, 0, -1); in gpr_set()
578 if (!valid_user_regs(&newregs, target)) in gpr_set()
581 task_pt_regs(target)->user_regs = newregs; in gpr_set()
1569 struct pt_regs newregs; in compat_gpr_set() local
1582 newregs = *task_pt_regs(target); in compat_gpr_set()
1603 newregs.pc = reg; in compat_gpr_set()
1607 newregs.pstate = reg; in compat_gpr_set()
1610 newregs.orig_x0 = reg; in compat_gpr_set()
1613 newregs.regs[idx] = reg; in compat_gpr_set()
1618 if (valid_user_regs(&newregs.user_regs, target)) in compat_gpr_set()
1619 *task_pt_regs(target) = newregs; in compat_gpr_set()
1815 struct pt_regs newregs = *task_pt_regs(tsk); in compat_ptrace_write_user() local
1826 newregs.pc = val; in compat_ptrace_write_user()
1829 newregs.pstate = compat_psr_to_pstate(val); in compat_ptrace_write_user()
1832 newregs.orig_x0 = val; in compat_ptrace_write_user()
1835 newregs.regs[idx] = val; in compat_ptrace_write_user()
1838 if (!valid_user_regs(&newregs.user_regs, tsk)) in compat_ptrace_write_user()
1841 *task_pt_regs(tsk) = newregs; in compat_ptrace_write_user()