/linux-6.12.1/arch/riscv/kernel/ |
D | compat_signal.c | 19 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 …]
|
D | signal.c | 43 union __riscv_fp_state __user *sc_fpregs) in restore_fp_state() argument 46 struct __riscv_d_ext_state __user *state = &sc_fpregs->d; in restore_fp_state() 57 union __riscv_fp_state __user *sc_fpregs) in save_fp_state() argument 60 struct __riscv_d_ext_state __user *state = &sc_fpregs->d; in save_fp_state() 163 err = restore_fp_state(regs, &sc->sc_fpregs); in restore_sigcontext() 285 err |= save_fp_state(regs, &sc->sc_fpregs); in setup_sigcontext()
|
/linux-6.12.1/arch/mips/include/uapi/asm/ |
D | sigcontext.h | 39 unsigned long long sc_fpregs[32]; member 71 __u64 sc_fpregs[32]; member
|
/linux-6.12.1/arch/sh/include/uapi/asm/ |
D | sigcontext.h | 18 unsigned long sc_fpregs[16]; member
|
/linux-6.12.1/arch/sh/include/cpu-sh4/cpu/ |
D | sigcontext.h | 18 unsigned long sc_fpregs[16]; member
|
/linux-6.12.1/arch/riscv/include/uapi/asm/ |
D | sigcontext.h | 33 union __riscv_fp_state sc_fpregs; member
|
/linux-6.12.1/arch/m68k/include/uapi/asm/ |
D | sigcontext.h | 19 unsigned long sc_fpregs[2*3]; /* room for two fp registers */ member
|
/linux-6.12.1/arch/alpha/include/uapi/asm/ |
D | sigcontext.h | 20 long sc_fpregs[32]; member
|
/linux-6.12.1/arch/mips/include/asm/ |
D | sigcontext.h | 21 __u64 sc_fpregs[32]; member
|
/linux-6.12.1/arch/m68k/kernel/ |
D | signal.c | 264 memcpy(current->thread.fp, sc->sc_fpregs, 24); in restore_fpu_state() 304 : "m" (sc->sc_fpregs[0]), in restore_fpu_state() 314 : "m" (*sc->sc_fpregs), in restore_fpu_state() 436 memcpy(sc->sc_fpregs, current->thread.fp, 24); in save_fpu_state() 465 : "=m" (sc->sc_fpregs[0]), in save_fpu_state() 476 : "=m" (*sc->sc_fpregs), in save_fpu_state()
|
/linux-6.12.1/arch/mips/kernel/ |
D | signal_n32.c | 141 .off_sc_fpregs = offsetof(struct sigcontext, sc_fpregs),
|
D | asm-offsets.c | 225 OFFSET(SC_FPREGS, sigcontext, sc_fpregs); in output_sc_defines() 248 OFFSET(SC_FPREGS, sigcontext, sc_fpregs); in output_sc_defines()
|
D | signal_o32.c | 249 .off_sc_fpregs = offsetof(struct sigcontext32, sc_fpregs),
|
D | signal.c | 809 .off_sc_fpregs = offsetof(struct sigcontext, sc_fpregs),
|
/linux-6.12.1/arch/alpha/kernel/ |
D | signal.c | 194 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.12.1/arch/sh/kernel/ |
D | signal_32.c | 85 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()
|