Home
last modified time | relevance | path

Searched refs:sc_regs (Results 1 – 18 of 18) sorted by relevance

/linux/arch/alpha/kernel/
H A Dsignal.c160 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 Dsignal.c40 err |= copy_to_user(&sc->sc_regs.r0, &regs->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 Dcompat_signal.c18 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 Dsignal.c157 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 Dsigcontext.h38 unsigned long long sc_regs[32]; member
70 __u64 sc_regs[32]; member
/linux/arch/mips/kernel/
H A Dsignal_o32.c61 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 Dsignal.c446 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 Dasm-offsets.c224 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 Dsigcontext.h31 struct user_regs_struct sc_regs; member
/linux/arch/sh/include/cpu-common/cpu/
H A Dsigcontext.h9 unsigned long sc_regs[16]; member
/linux/arch/sh/include/uapi/asm/
H A Dsigcontext.h9 unsigned long sc_regs[16]; member
/linux/arch/sh/include/cpu-sh4/cpu/
H A Dsigcontext.h9 unsigned long sc_regs[16]; member
/linux/arch/riscv/include/uapi/asm/
H A Dsigcontext.h31 struct user_regs_struct sc_regs; member
/linux/arch/alpha/include/uapi/asm/
H A Dsigcontext.h18 long sc_regs[32]; member
/linux/arch/mips/include/asm/
H A Dsigcontext.h20 __u64 sc_regs[32]; member
/linux/arch/loongarch/kernel/
H A Dsignal.c697 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 Dasm-offsets.c218 OFFSET(SC_REGS, sigcontext, sc_regs); in output_sc_defines()
/linux/arch/sh/kernel/
H A Dsignal_32.c151 err |= __get_user(*r0_p, &sc->sc_regs[0]); in restore_sigcontext()