Home
last modified time | relevance | path

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

/arch/riscv/kernel/
Dsignal.c35 union __riscv_fp_state __user *sc_fpregs) in restore_fp_state() argument
38 struct __riscv_d_ext_state __user *state = &sc_fpregs->d; in restore_fp_state()
48 for (i = 0; i < ARRAY_SIZE(sc_fpregs->q.reserved); i++) { in restore_fp_state()
51 err = __get_user(value, &sc_fpregs->q.reserved[i]); in restore_fp_state()
62 union __riscv_fp_state __user *sc_fpregs) in save_fp_state() argument
65 struct __riscv_d_ext_state __user *state = &sc_fpregs->d; in save_fp_state()
74 for (i = 0; i < ARRAY_SIZE(sc_fpregs->q.reserved); i++) { in save_fp_state()
75 err = __put_user(0, &sc_fpregs->q.reserved[i]); in save_fp_state()
95 err |= restore_fp_state(regs, &sc->sc_fpregs); in restore_sigcontext()
150 err |= save_fp_state(regs, &sc->sc_fpregs); in setup_sigcontext()
/arch/mips/include/uapi/asm/
Dsigcontext.h39 unsigned long long sc_fpregs[32]; member
72 __u64 sc_fpregs[32]; member
/arch/riscv/include/uapi/asm/
Dsigcontext.h19 union __riscv_fp_state sc_fpregs; member
/arch/sh/include/uapi/asm/
Dsigcontext.h18 unsigned long sc_fpregs[16]; member
/arch/sh/include/cpu-sh4/cpu/
Dsigcontext.h18 unsigned long sc_fpregs[16]; member
/arch/m68k/include/uapi/asm/
Dsigcontext.h19 unsigned long sc_fpregs[2*3]; /* room for two fp registers */ member
/arch/alpha/include/uapi/asm/
Dsigcontext.h20 long sc_fpregs[32]; member
/arch/mips/include/asm/
Dsigcontext.h21 __u64 sc_fpregs[32]; member
/arch/m68k/kernel/
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()
/arch/mips/kernel/
Dsignal_n32.c144 .off_sc_fpregs = offsetof(struct sigcontext, sc_fpregs),
Dasm-offsets.c222 OFFSET(SC_FPREGS, sigcontext, sc_fpregs); in output_sc_defines()
244 OFFSET(SC_FPREGS, sigcontext, sc_fpregs); in output_sc_defines()
Dsignal_o32.c248 .off_sc_fpregs = offsetof(struct sigcontext32, sc_fpregs),
Dsignal.c800 .off_sc_fpregs = offsetof(struct sigcontext, sc_fpregs),
/arch/alpha/kernel/
Dsignal.c193 err |= __get_user(sw->fp[i], sc->sc_fpregs+i); in restore_sigcontext()
316 err |= __put_user(sw->fp[i], sc->sc_fpregs+i); in setup_sigcontext()
317 err |= __put_user(0, sc->sc_fpregs+31); in setup_sigcontext()
/arch/sh/kernel/
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()