Lines Matching refs:fpu

741 	fpstate_reset(&current->thread.fpu);  in fpu__init_disable_system_xstate()
854 fpstate_reset(&current->thread.fpu); in fpu__init_system_xstate()
928 wrmsrl(MSR_IA32_XFD, current->thread.fpu.fpstate->xfd); in fpu__resume_cpu()
1210 __copy_xstate_to_uabi_buf(to, tsk->thread.fpu.fpstate, in copy_xstate_to_uabi_buf()
1211 tsk->thread.fpu.fpstate->user_xfeatures, in copy_xstate_to_uabi_buf()
1351 return copy_uabi_to_xstate(tsk->thread.fpu.fpstate, NULL, ubuf, &tsk->thread.pkru); in copy_sigframe_from_user_to_xstate()
1445 if (fpstate->xfd == current->thread.fpu.fpstate->xfd) in xstate_op_valid()
1498 void fpstate_free(struct fpu *fpu) in arch_initcall()
1500 if (fpu->fpstate && fpu->fpstate != &fpu->__fpstate) in arch_initcall()
1501 vfree(fpu->fpstate); in arch_initcall()
1522 struct fpu *fpu = &current->thread.fpu; in fpstate_realloc() local
1540 curfps = guest_fpu ? guest_fpu->fpstate : fpu->fpstate; in fpstate_realloc()
1543 in_use = fpu->fpstate == curfps; in fpstate_realloc()
1573 fpu->fpstate = newfps; in fpstate_realloc()
1575 fpu->fpstate = newfps; in fpstate_realloc()
1579 xfd_update_state(fpu->fpstate); in fpstate_realloc()
1615 struct fpu *fpu = &current->group_leader->thread.fpu; in __xstate_request_perm() local
1642 perm = guest ? &fpu->guest_perm : &fpu->perm; in __xstate_request_perm()
1701 struct fpu *fpu; in __xfd_enable_feature() local
1718 fpu = &current->group_leader->thread.fpu; in __xfd_enable_feature()
1719 perm = guest_fpu ? &fpu->guest_perm : &fpu->perm; in __xfd_enable_feature()
1823 unsigned long timestamp = READ_ONCE(task->thread.fpu.avx512_timestamp); in avx512_status()