Home
last modified time | relevance | path

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

/linux-4.1.27/arch/arm/vfp/
Dvfpmodule.c552 struct vfp_hard_struct *hwstate = &thread->vfpstate.hard; in vfp_preserve_user_clear_hwstate() local
562 err |= __copy_to_user(&ufp->fpregs, &hwstate->fpregs, in vfp_preserve_user_clear_hwstate()
563 sizeof(hwstate->fpregs)); in vfp_preserve_user_clear_hwstate()
567 __put_user_error(hwstate->fpscr, &ufp->fpscr, err); in vfp_preserve_user_clear_hwstate()
572 __put_user_error(hwstate->fpexc, &ufp_exc->fpexc, err); in vfp_preserve_user_clear_hwstate()
573 __put_user_error(hwstate->fpinst, &ufp_exc->fpinst, err); in vfp_preserve_user_clear_hwstate()
574 __put_user_error(hwstate->fpinst2, &ufp_exc->fpinst2, err); in vfp_preserve_user_clear_hwstate()
586 hwstate->fpscr &= ~(FPSCR_LENGTH_MASK | FPSCR_STRIDE_MASK); in vfp_preserve_user_clear_hwstate()
595 struct vfp_hard_struct *hwstate = &thread->vfpstate.hard; in vfp_restore_user_hwstate() local
606 err |= __copy_from_user(&hwstate->fpregs, &ufp->fpregs, in vfp_restore_user_hwstate()
[all …]