Lines Matching refs:sc_fpregs
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()
172 err |= compat_save_fp_state(regs, &sc->sc_fpregs); in compat_setup_sigcontext()