Home
last modified time | relevance | path

Searched refs:sc_fpregs (Results 1 – 16 of 16) sorted by relevance

/linux-6.3-rc2/arch/riscv/kernel/
A Dcompat_signal.c19 union __riscv_fp_state sc_fpregs; member
50 union __riscv_fp_state __user *sc_fpregs) in compat_restore_fp_state() argument
53 struct __riscv_d_ext_state __user *state = &sc_fpregs->d; in compat_restore_fp_state()
63 for (i = 0; i < ARRAY_SIZE(sc_fpregs->q.reserved); i++) { in compat_restore_fp_state()
66 err = __get_user(value, &sc_fpregs->q.reserved[i]); in compat_restore_fp_state()
77 union __riscv_fp_state __user *sc_fpregs) in compat_save_fp_state() argument
80 struct __riscv_d_ext_state __user *state = &sc_fpregs->d; in compat_save_fp_state()
89 for (i = 0; i < ARRAY_SIZE(sc_fpregs->q.reserved); i++) { in compat_save_fp_state()
90 err = __put_user(0, &sc_fpregs->q.reserved[i]); in compat_save_fp_state()
115 err |= compat_restore_fp_state(regs, &sc->sc_fpregs); in compat_restore_sigcontext()
[all …]
A Dsignal.c37 union __riscv_fp_state __user *sc_fpregs) in restore_fp_state() argument
40 struct __riscv_d_ext_state __user *state = &sc_fpregs->d; in restore_fp_state()
50 for (i = 0; i < ARRAY_SIZE(sc_fpregs->q.reserved); i++) { in restore_fp_state()
53 err = __get_user(value, &sc_fpregs->q.reserved[i]); in restore_fp_state()
64 union __riscv_fp_state __user *sc_fpregs) in save_fp_state() argument
67 struct __riscv_d_ext_state __user *state = &sc_fpregs->d; in save_fp_state()
76 for (i = 0; i < ARRAY_SIZE(sc_fpregs->q.reserved); i++) { in save_fp_state()
77 err = __put_user(0, &sc_fpregs->q.reserved[i]); in save_fp_state()
97 err |= restore_fp_state(regs, &sc->sc_fpregs); in restore_sigcontext()
152 err |= save_fp_state(regs, &sc->sc_fpregs); in setup_sigcontext()
/linux-6.3-rc2/arch/mips/include/uapi/asm/
A Dsigcontext.h39 unsigned long long sc_fpregs[32]; member
72 __u64 sc_fpregs[32]; member
/linux-6.3-rc2/arch/riscv/include/uapi/asm/
A Dsigcontext.h19 union __riscv_fp_state sc_fpregs; member
/linux-6.3-rc2/arch/sh/include/uapi/asm/
A Dsigcontext.h18 unsigned long sc_fpregs[16]; member
/linux-6.3-rc2/arch/sh/include/cpu-sh4/cpu/
A Dsigcontext.h18 unsigned long sc_fpregs[16]; member
/linux-6.3-rc2/arch/m68k/include/uapi/asm/
A Dsigcontext.h19 unsigned long sc_fpregs[2*3]; /* room for two fp registers */ member
/linux-6.3-rc2/arch/alpha/include/uapi/asm/
A Dsigcontext.h20 long sc_fpregs[32]; member
/linux-6.3-rc2/arch/mips/include/asm/
A Dsigcontext.h21 __u64 sc_fpregs[32]; member
/linux-6.3-rc2/arch/m68k/kernel/
A Dsignal.c262 memcpy(current->thread.fp, sc->sc_fpregs, 24); in restore_fpu_state()
302 : "m" (sc->sc_fpregs[0]), in restore_fpu_state()
312 : "m" (*sc->sc_fpregs), in restore_fpu_state()
434 memcpy(sc->sc_fpregs, current->thread.fp, 24); in save_fpu_state()
463 : "=m" (sc->sc_fpregs[0]), in save_fpu_state()
474 : "=m" (*sc->sc_fpregs), in save_fpu_state()
/linux-6.3-rc2/arch/mips/kernel/
A Dsignal_n32.c143 .off_sc_fpregs = offsetof(struct sigcontext, sc_fpregs),
A Dasm-offsets.c217 OFFSET(SC_FPREGS, sigcontext, sc_fpregs); in output_sc_defines()
239 OFFSET(SC_FPREGS, sigcontext, sc_fpregs); in output_sc_defines()
A Dsignal_o32.c248 .off_sc_fpregs = offsetof(struct sigcontext32, sc_fpregs),
A Dsignal.c808 .off_sc_fpregs = offsetof(struct sigcontext, sc_fpregs),
/linux-6.3-rc2/arch/alpha/kernel/
A Dsignal.c194 sc->sc_fpregs, 31 * 8); in restore_sigcontext()
316 err |= __copy_to_user(sc->sc_fpregs, in setup_sigcontext()
318 err |= __put_user(0, sc->sc_fpregs+31); in setup_sigcontext()
/linux-6.3-rc2/arch/sh/kernel/
A Dsignal_32.c85 return __copy_from_user(&tsk->thread.xstate->hardfpu, &sc->sc_fpregs[0], in restore_sigcontext_fpu()
109 return __copy_to_user(&sc->sc_fpregs[0], &tsk->thread.xstate->hardfpu, in save_sigcontext_fpu()

Completed in 38 milliseconds