Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/fpu/
H A Dcore.c61 struct fpu *x86_task_fpu(struct task_struct *task) in x86_task_fpu() function
233 fpuperm = &x86_task_fpu(current->group_leader)->guest_perm; in fpu_lock_guest_permissions()
363 struct fpstate *fpstate = x86_task_fpu(current)->fpstate; in fpu_sync_guest_vmexit_xfd_state()
377 struct fpu *fpu = x86_task_fpu(current); in fpu_swap_kvm_fpstate()
486 save_fpregs_to_fpstate(x86_task_fpu(current)); in kernel_fpu_begin_mask()
516 WARN_ON_FPU(fpu != x86_task_fpu(current)); in fpu_sync_fpstate()
623 struct fpu *src_fpu = x86_task_fpu(current->group_leader); in fpu_inherit_perms()
643 xstate = get_xsave_addr(&x86_task_fpu(dst)->fpstate->regs.xsave, in update_fpu_shstk()
771 fpu = x86_task_fpu(tsk); in fpu__drop()
775 if (fpu == x86_task_fpu(current)) { in fpu__drop()
[all …]
H A Dxstate.c781 fpstate_reset(x86_task_fpu(current)); in fpu__init_disable_system_xstate()
990 wrmsrq(MSR_IA32_XFD, x86_task_fpu(current)->fpstate->xfd); in fpu__resume_cpu()
1272 __copy_xstate_to_uabi_buf(to, x86_task_fpu(tsk)->fpstate, in copy_xstate_to_uabi_buf()
1273 x86_task_fpu(tsk)->fpstate->user_xfeatures, in copy_xstate_to_uabi_buf()
1413 return copy_uabi_to_xstate(x86_task_fpu(tsk)->fpstate, NULL, ubuf, &tsk->thread.pkru); in copy_sigframe_from_user_to_xstate()
1507 if (fpstate->xfd == x86_task_fpu(current)->fpstate->xfd) in xstate_op_valid()
1584 struct fpu *fpu = x86_task_fpu(current); in fpstate_realloc()
1677 struct fpu *fpu = x86_task_fpu(current->group_leader); in __xstate_request_perm()
1784 fpu = x86_task_fpu(current->group_leader); in __xfd_enable_feature()
1896 timestamp = READ_ONCE(x86_task_fpu(task)->avx512_timestamp); in avx512_status()
/linux/arch/x86/include/asm/fpu/
H A Dsched.h37 struct fpu *old_fpu = x86_task_fpu(old); in switch_fpu()