Home
last modified time | relevance | path

Searched refs:x86_task_fpu (Results 1 – 7 of 7) 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
246 fpuperm = &x86_task_fpu(current->group_leader)->guest_perm; in fpu_lock_guest_permissions()
376 struct fpstate *fpstate = x86_task_fpu(current)->fpstate; in fpu_sync_guest_vmexit_xfd_state()
390 struct fpu *fpu = x86_task_fpu(current); in fpu_swap_kvm_fpstate()
508 update_fpu_state_and_flag(x86_task_fpu(current), current); in kernel_fpu_begin_mask()
537 WARN_ON_FPU(fpu != x86_task_fpu(current)); in fpu_sync_fpstate()
639 struct fpu *src_fpu = x86_task_fpu(current->group_leader); in fpu_inherit_perms()
659 xstate = get_xsave_addr(&x86_task_fpu(dst)->fpstate->regs.xsave, in update_fpu_shstk()
784 fpu = x86_task_fpu(tsk); in fpu__drop()
788 if (fpu == x86_task_fpu(current)) { in fpu__drop()
[all …]
H A Dregset.c48 if (fpu == x86_task_fpu(current)) in sync_fpstate()
66 WARN_ON_FPU(fpu == x86_task_fpu(current)); in fpu_force_restore()
74 struct fpu *fpu = x86_task_fpu(target); in xfpregs_get()
94 struct fpu *fpu = x86_task_fpu(target); in xfpregs_set()
136 sync_fpstate(x86_task_fpu(target)); in xstateregs_get()
146 struct fpu *fpu = x86_task_fpu(target); in xstateregs_set()
190 struct fpu *fpu = x86_task_fpu(target); in ssp_get()
217 struct fpu *fpu = x86_task_fpu(target); in ssp_set()
371 __convert_from_fxsr(env, tsk, &x86_task_fpu(tsk)->fpstate->regs.fxsave); in convert_from_fxsr()
404 struct fpu *fpu = x86_task_fpu(target); in fpregs_get()
[all …]
H A Dsignal.c30 struct fpstate *fpstate = x86_task_fpu(current)->fpstate; in check_xstate_in_sigframe()
82 trace_x86_fpu_xstate_check_failed(x86_task_fpu(current)); in check_xstate_in_sigframe()
97 struct xregs_state *xsave = &x86_task_fpu(tsk)->fpstate->regs.xsave; in save_fsave_header()
103 fxsave(&x86_task_fpu(tsk)->fpstate->regs.fxsave); in save_fsave_header()
208 struct fpstate *fpstate = x86_task_fpu(tsk)->fpstate; in copy_fpstate_to_sigframe()
292 struct fpu *fpu = x86_task_fpu(current); in restore_fpregs_from_user()
359 struct fpu *fpu = x86_task_fpu(tsk); in restore_from_ia32_fxstate()
464 struct fpu *fpu = x86_task_fpu(current); in fpu__restore_sig()
522 unsigned long frame_size = xstate_sigframe_size(x86_task_fpu(current)->fpstate); in fpu__alloc_mathframe()
H A Dxstate.c782 fpstate_reset(x86_task_fpu(current)); in fpu__init_disable_system_xstate()
1007 wrmsrq(MSR_IA32_XFD, x86_task_fpu(current)->fpstate->xfd); in fpu__resume_cpu()
1288 __copy_xstate_to_uabi_buf(to, x86_task_fpu(tsk)->fpstate, in copy_xstate_to_uabi_buf()
1289 x86_task_fpu(tsk)->fpstate->user_xfeatures, in copy_xstate_to_uabi_buf()
1429 return copy_uabi_to_xstate(x86_task_fpu(tsk)->fpstate, NULL, ubuf, &tsk->thread.pkru); in copy_sigframe_from_user_to_xstate()
1546 if (fpstate->xfd == x86_task_fpu(current)->fpstate->xfd) in xstate_op_valid()
1623 struct fpu *fpu = x86_task_fpu(current); in fpstate_realloc()
1716 struct fpu *fpu = x86_task_fpu(current->group_leader); in __xstate_request_perm()
1823 fpu = x86_task_fpu(current->group_leader); in __xfd_enable_feature()
1935 timestamp = READ_ONCE(x86_task_fpu(task)->avx512_timestamp); in avx512_status()
/linux/arch/x86/include/asm/fpu/
H A Dsched.h38 struct fpu *old_fpu = x86_task_fpu(old); in switch_fpu()
/linux/arch/x86/include/asm/
H A Dprocessor.h538 extern struct fpu *x86_task_fpu(struct task_struct *task);
540 # define x86_task_fpu(task) ((struct fpu *)((void *)(task) + sizeof(*(task)))) macro
/linux/arch/x86/events/
H A Dcore.c2044 fpu = x86_task_fpu(current); in x86_pmu_update_user_xregs()