Home
last modified time | relevance | path

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

/linux-6.1.9/arch/alpha/kernel/
Dsignal.c159 err |= __get_user(regs->r0, sc->sc_regs+0); in restore_sigcontext()
160 err |= __get_user(regs->r1, sc->sc_regs+1); in restore_sigcontext()
161 err |= __get_user(regs->r2, sc->sc_regs+2); in restore_sigcontext()
162 err |= __get_user(regs->r3, sc->sc_regs+3); in restore_sigcontext()
163 err |= __get_user(regs->r4, sc->sc_regs+4); in restore_sigcontext()
164 err |= __get_user(regs->r5, sc->sc_regs+5); in restore_sigcontext()
165 err |= __get_user(regs->r6, sc->sc_regs+6); in restore_sigcontext()
166 err |= __get_user(regs->r7, sc->sc_regs+7); in restore_sigcontext()
167 err |= __get_user(regs->r8, sc->sc_regs+8); in restore_sigcontext()
168 err |= __get_user(sw->r9, sc->sc_regs+9); in restore_sigcontext()
[all …]
/linux-6.1.9/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.1.9/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.c94 err = __copy_from_user(regs, &sc->sc_regs, sizeof(sc->sc_regs)); in restore_sigcontext()
149 err = __copy_to_user(&sc->sc_regs, regs, sizeof(sc->sc_regs)); in setup_sigcontext()
/linux-6.1.9/arch/mips/include/uapi/asm/
Dsigcontext.h38 unsigned long long sc_regs[32]; member
71 __u64 sc_regs[32]; member
/linux-6.1.9/arch/hexagon/include/uapi/asm/
Dsigcontext.h31 struct user_regs_struct sc_regs; member
/linux-6.1.9/arch/riscv/include/uapi/asm/
Dsigcontext.h18 struct user_regs_struct sc_regs; member
/linux-6.1.9/arch/mips/kernel/
Dsignal_o32.c60 err |= __put_user(0, &sc->sc_regs[0]); in setup_sigcontext32()
62 err |= __put_user(regs->regs[i], &sc->sc_regs[i]); in setup_sigcontext32()
109 err |= __get_user(regs->regs[i], &sc->sc_regs[i]); in restore_sigcontext32()
Dsignal.c445 err |= __put_user(0, &sc->sc_regs[0]); in setup_sigcontext()
447 err |= __put_user(regs->regs[i], &sc->sc_regs[i]); in setup_sigcontext()
542 err |= __get_user(regs->regs[i], &sc->sc_regs[i]); in restore_sigcontext()
Dasm-offsets.c216 OFFSET(SC_REGS, sigcontext, sc_regs); in output_sc_defines()
238 OFFSET(SC_REGS, sigcontext, sc_regs); in output_sc_defines()
/linux-6.1.9/arch/sh/include/cpu-common/cpu/
Dsigcontext.h9 unsigned long sc_regs[16]; member
/linux-6.1.9/arch/sh/include/uapi/asm/
Dsigcontext.h9 unsigned long sc_regs[16]; member
/linux-6.1.9/arch/sh/include/cpu-sh4/cpu/
Dsigcontext.h9 unsigned long sc_regs[16]; member
/linux-6.1.9/arch/alpha/include/uapi/asm/
Dsigcontext.h18 long sc_regs[32]; member
/linux-6.1.9/arch/loongarch/include/uapi/asm/
Dsigcontext.h23 __u64 sc_regs[32]; member
/linux-6.1.9/arch/mips/include/asm/
Dsigcontext.h20 __u64 sc_regs[32]; member
/linux-6.1.9/arch/loongarch/kernel/
Dsignal.c239 err |= __put_user(0, &sc->sc_regs[0]); in setup_sigcontext()
241 err |= __put_user(regs->regs[i], &sc->sc_regs[i]); in setup_sigcontext()
320 err |= __get_user(regs->regs[i], &sc->sc_regs[i]); in restore_sigcontext()
Dasm-offsets.c209 OFFSET(SC_REGS, sigcontext, sc_regs); in output_sc_defines()
/linux-6.1.9/arch/sh/kernel/
Dsignal_32.c148 err |= __get_user(*r0_p, &sc->sc_regs[0]); in restore_sigcontext()