Home
last modified time | relevance | path

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

/linux-6.12.1/arch/alpha/kernel/
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-6.12.1/arch/hexagon/kernel/
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-6.12.1/arch/riscv/kernel/
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()
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-6.12.1/arch/mips/include/uapi/asm/
Dsigcontext.h38 unsigned long long sc_regs[32]; member
70 __u64 sc_regs[32]; member
/linux-6.12.1/arch/mips/kernel/
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()
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()
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-6.12.1/arch/hexagon/include/uapi/asm/
Dsigcontext.h31 struct user_regs_struct sc_regs; member
/linux-6.12.1/arch/sh/include/cpu-common/cpu/
Dsigcontext.h9 unsigned long sc_regs[16]; member
/linux-6.12.1/arch/sh/include/uapi/asm/
Dsigcontext.h9 unsigned long sc_regs[16]; member
/linux-6.12.1/arch/sh/include/cpu-sh4/cpu/
Dsigcontext.h9 unsigned long sc_regs[16]; member
/linux-6.12.1/arch/riscv/include/uapi/asm/
Dsigcontext.h31 struct user_regs_struct sc_regs; member
/linux-6.12.1/arch/alpha/include/uapi/asm/
Dsigcontext.h18 long sc_regs[32]; member
/linux-6.12.1/arch/mips/include/asm/
Dsigcontext.h20 __u64 sc_regs[32]; member
/linux-6.12.1/arch/loongarch/include/uapi/asm/
Dsigcontext.h22 __u64 sc_regs[32]; member
/linux-6.12.1/arch/loongarch/kernel/
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()
Dasm-offsets.c218 OFFSET(SC_REGS, sigcontext, sc_regs); in output_sc_defines()
/linux-6.12.1/arch/sh/kernel/
Dsignal_32.c151 err |= __get_user(*r0_p, &sc->sc_regs[0]); in restore_sigcontext()