/linux/arch/alpha/kernel/ |
H A D | signal.c | 160 err |= __get_user(regs->r0, sc->sc_regs+0); in restore_sigcontext() 161 err |= __get_user(regs->r1, sc->sc_regs+1); in restore_sigcontext() 162 err |= __get_user(regs->r2, sc->sc_regs+2); in restore_sigcontext() 163 err |= __get_user(regs->r3, sc->sc_regs+3); in restore_sigcontext() 164 err |= __get_user(regs->r4, sc->sc_regs+4); in restore_sigcontext() 165 err |= __get_user(regs->r5, sc->sc_regs+5); in restore_sigcontext() 166 err |= __get_user(regs->r6, sc->sc_regs+6); in restore_sigcontext() 167 err |= __get_user(regs->r7, sc->sc_regs+7); in restore_sigcontext() 168 err |= __get_user(regs->r8, sc->sc_regs+8); in restore_sigcontext() 169 err |= __get_user(sw->r9, sc->sc_regs+9); in restore_sigcontext() [all …]
|
/linux/arch/hexagon/kernel/ |
H A D | signal.c | 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() [all …]
|
/linux/arch/riscv/kernel/ |
H A D | compat_signal.c | 18 struct compat_user_regs_struct sc_regs; member 109 err = __copy_from_user(&cregs, &sc->sc_regs, sizeof(sc->sc_regs)); in compat_restore_sigcontext() 169 err = __copy_to_user(&sc->sc_regs, &cregs, sizeof(sc->sc_regs)); in compat_setup_sigcontext()
|
H A D | signal.c | 157 err = __copy_from_user(regs, &sc->sc_regs, sizeof(sc->sc_regs)); in restore_sigcontext() 282 err = __copy_to_user(&sc->sc_regs, regs, sizeof(sc->sc_regs)); in setup_sigcontext()
|
/linux/arch/mips/include/uapi/asm/ |
H A D | sigcontext.h | 38 unsigned long long sc_regs[32]; member 70 __u64 sc_regs[32]; member
|
/linux/arch/mips/kernel/ |
H A D | signal_o32.c | 61 err |= __put_user(0, &sc->sc_regs[0]); in setup_sigcontext32() 63 err |= __put_user(regs->regs[i], &sc->sc_regs[i]); in setup_sigcontext32() 110 err |= __get_user(regs->regs[i], &sc->sc_regs[i]); in restore_sigcontext32()
|
H A D | signal.c | 446 err |= __put_user(0, &sc->sc_regs[0]); in setup_sigcontext() 448 err |= __put_user(regs->regs[i], &sc->sc_regs[i]); in setup_sigcontext() 543 err |= __get_user(regs->regs[i], &sc->sc_regs[i]); in restore_sigcontext()
|
H A D | asm-offsets.c | 224 OFFSET(SC_REGS, sigcontext, sc_regs); in output_sc_defines() 247 OFFSET(SC_REGS, sigcontext, sc_regs); in output_sc_defines()
|
/linux/arch/hexagon/include/uapi/asm/ |
H A D | sigcontext.h | 31 struct user_regs_struct sc_regs; member
|
/linux/arch/sh/include/cpu-common/cpu/ |
H A D | sigcontext.h | 9 unsigned long sc_regs[16]; member
|
/linux/arch/sh/include/uapi/asm/ |
H A D | sigcontext.h | 9 unsigned long sc_regs[16]; member
|
/linux/arch/sh/include/cpu-sh4/cpu/ |
H A D | sigcontext.h | 9 unsigned long sc_regs[16]; member
|
/linux/arch/riscv/include/uapi/asm/ |
H A D | sigcontext.h | 31 struct user_regs_struct sc_regs; member
|
/linux/arch/alpha/include/uapi/asm/ |
H A D | sigcontext.h | 18 long sc_regs[32]; member
|
/linux/arch/mips/include/asm/ |
H A D | sigcontext.h | 20 __u64 sc_regs[32]; member
|
/linux/arch/loongarch/kernel/ |
H A D | signal.c | 697 err |= __put_user(0, &sc->sc_regs[0]); in setup_sigcontext() 699 err |= __put_user(regs->regs[i], &sc->sc_regs[i]); in setup_sigcontext() 808 err |= __get_user(regs->regs[i], &sc->sc_regs[i]); in restore_sigcontext()
|
H A D | asm-offsets.c | 218 OFFSET(SC_REGS, sigcontext, sc_regs); in output_sc_defines()
|
/linux/arch/sh/kernel/ |
H A D | signal_32.c | 151 err |= __get_user(*r0_p, &sc->sc_regs[0]); in restore_sigcontext()
|