Home
last modified time | relevance | path

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

/linux-4.4.14/arch/arm/vfp/
Dvfpmodule.c565 struct vfp_hard_struct *hwstate = &thread->vfpstate.hard; in vfp_preserve_user_clear_hwstate() local
575 err |= __copy_to_user(&ufp->fpregs, &hwstate->fpregs, in vfp_preserve_user_clear_hwstate()
576 sizeof(hwstate->fpregs)); in vfp_preserve_user_clear_hwstate()
580 __put_user_error(hwstate->fpscr, &ufp->fpscr, err); in vfp_preserve_user_clear_hwstate()
585 __put_user_error(hwstate->fpexc, &ufp_exc->fpexc, err); in vfp_preserve_user_clear_hwstate()
586 __put_user_error(hwstate->fpinst, &ufp_exc->fpinst, err); in vfp_preserve_user_clear_hwstate()
587 __put_user_error(hwstate->fpinst2, &ufp_exc->fpinst2, err); in vfp_preserve_user_clear_hwstate()
599 hwstate->fpscr &= ~(FPSCR_LENGTH_MASK | FPSCR_STRIDE_MASK); in vfp_preserve_user_clear_hwstate()
608 struct vfp_hard_struct *hwstate = &thread->vfpstate.hard; in vfp_restore_user_hwstate() local
619 err |= __copy_from_user(&hwstate->fpregs, &ufp->fpregs, in vfp_restore_user_hwstate()
[all …]