Lines Matching refs:sc_regs
40 err |= copy_to_user(&sc->sc_regs.r0, ®s->r00, in setup_sigcontext()
43 err |= __put_user(regs->sa0, &sc->sc_regs.sa0); in setup_sigcontext()
44 err |= __put_user(regs->lc0, &sc->sc_regs.lc0); in setup_sigcontext()
45 err |= __put_user(regs->sa1, &sc->sc_regs.sa1); in setup_sigcontext()
46 err |= __put_user(regs->lc1, &sc->sc_regs.lc1); in setup_sigcontext()
47 err |= __put_user(regs->m0, &sc->sc_regs.m0); in setup_sigcontext()
48 err |= __put_user(regs->m1, &sc->sc_regs.m1); in setup_sigcontext()
49 err |= __put_user(regs->usr, &sc->sc_regs.usr); in setup_sigcontext()
50 err |= __put_user(regs->preds, &sc->sc_regs.p3_0); in setup_sigcontext()
51 err |= __put_user(regs->gp, &sc->sc_regs.gp); in setup_sigcontext()
52 err |= __put_user(regs->ugp, &sc->sc_regs.ugp); in setup_sigcontext()
54 err |= __put_user(regs->cs0, &sc->sc_regs.cs0); in setup_sigcontext()
55 err |= __put_user(regs->cs1, &sc->sc_regs.cs1); in setup_sigcontext()
57 tmp = pt_elr(regs); err |= __put_user(tmp, &sc->sc_regs.pc); in setup_sigcontext()
58 tmp = pt_cause(regs); err |= __put_user(tmp, &sc->sc_regs.cause); in setup_sigcontext()
59 tmp = pt_badva(regs); err |= __put_user(tmp, &sc->sc_regs.badva); in setup_sigcontext()
70 err |= copy_from_user(®s->r00, &sc->sc_regs.r0, in restore_sigcontext()
73 err |= __get_user(regs->sa0, &sc->sc_regs.sa0); in restore_sigcontext()
74 err |= __get_user(regs->lc0, &sc->sc_regs.lc0); in restore_sigcontext()
75 err |= __get_user(regs->sa1, &sc->sc_regs.sa1); in restore_sigcontext()
76 err |= __get_user(regs->lc1, &sc->sc_regs.lc1); in restore_sigcontext()
77 err |= __get_user(regs->m0, &sc->sc_regs.m0); in restore_sigcontext()
78 err |= __get_user(regs->m1, &sc->sc_regs.m1); in restore_sigcontext()
79 err |= __get_user(regs->usr, &sc->sc_regs.usr); in restore_sigcontext()
80 err |= __get_user(regs->preds, &sc->sc_regs.p3_0); in restore_sigcontext()
81 err |= __get_user(regs->gp, &sc->sc_regs.gp); in restore_sigcontext()
82 err |= __get_user(regs->ugp, &sc->sc_regs.ugp); in restore_sigcontext()
84 err |= __get_user(regs->cs0, &sc->sc_regs.cs0); in restore_sigcontext()
85 err |= __get_user(regs->cs1, &sc->sc_regs.cs1); in restore_sigcontext()
87 err |= __get_user(tmp, &sc->sc_regs.pc); pt_set_elr(regs, tmp); in restore_sigcontext()