Searched refs:x86_task_fpu (Results 1 – 14 of 14) sorted by relevance
| /arch/x86/kernel/fpu/ |
| A D | core.c | 60 struct fpu *x86_task_fpu(struct task_struct *task) in x86_task_fpu() function 357 struct fpu *fpu = x86_task_fpu(current); in fpu_swap_kvm_fpstate() 459 save_fpregs_to_fpstate(x86_task_fpu(current)); in kernel_fpu_begin_mask() 489 WARN_ON_FPU(fpu != x86_task_fpu(current)); in fpu_sync_fpstate() 744 fpu = x86_task_fpu(tsk); in fpu__drop() 748 if (fpu == x86_task_fpu(current)) { in fpu__drop() 782 struct fpu *fpu = x86_task_fpu(current); in fpu_reset_fpstate_regs() 811 WARN_ON_FPU(fpu != x86_task_fpu(current)); in fpu__clear_user_states() 844 fpstate_reset(x86_task_fpu(current)); in fpu_flush_thread() 885 struct fpu *fpu = x86_task_fpu(current); in fpregs_assert_state_consistent() [all …]
|
| A D | regset.c | 48 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 …]
|
| A D | signal.c | 46 if (__get_user(magic2, (__u32 __user *)(fpstate + x86_task_fpu(current)->fpstate->user_size))) in check_xstate_in_sigframe() 52 trace_x86_fpu_xstate_check_failed(x86_task_fpu(current)); in check_xstate_in_sigframe() 67 struct xregs_state *xsave = &x86_task_fpu(tsk)->fpstate->regs.xsave; in save_fsave_header() 73 fxsave(&x86_task_fpu(tsk)->fpstate->regs.fxsave); in save_fsave_header() 178 struct fpstate *fpstate = x86_task_fpu(tsk)->fpstate; in copy_fpstate_to_sigframe() 266 struct fpu *fpu = x86_task_fpu(current); in restore_fpregs_from_user() 326 struct fpu *fpu = x86_task_fpu(tsk); in __fpu_restore_sig() 446 struct fpu *fpu = x86_task_fpu(current); in fpu__restore_sig() 493 unsigned long frame_size = xstate_sigframe_size(x86_task_fpu(current)->fpstate); in fpu__alloc_mathframe()
|
| A D | xstate.h | 26 struct fpu *fpu = x86_task_fpu(current->group_leader); in xstate_get_group_perm() 302 struct fpstate *fpstate = x86_task_fpu(current)->fpstate; in xsave_to_user_sigframe() 336 xfd_validate_state(x86_task_fpu(current)->fpstate, mask, true); in xrstor_from_user_sigframe()
|
| A D | context.h | 56 struct fpu *fpu = x86_task_fpu(current); in fpregs_restore_userregs()
|
| A D | xstate.c | 780 fpstate_reset(x86_task_fpu(current)); in fpu__init_disable_system_xstate() 989 wrmsrq(MSR_IA32_XFD, x86_task_fpu(current)->fpstate->xfd); in fpu__resume_cpu() 1271 __copy_xstate_to_uabi_buf(to, x86_task_fpu(tsk)->fpstate, in copy_xstate_to_uabi_buf() 1272 x86_task_fpu(tsk)->fpstate->user_xfeatures, in copy_xstate_to_uabi_buf() 1412 return copy_uabi_to_xstate(x86_task_fpu(tsk)->fpstate, NULL, ubuf, &tsk->thread.pkru); in copy_sigframe_from_user_to_xstate() 1506 if (fpstate->xfd == x86_task_fpu(current)->fpstate->xfd) in xstate_op_valid() 1583 struct fpu *fpu = x86_task_fpu(current); in fpstate_realloc() 1676 struct fpu *fpu = x86_task_fpu(current->group_leader); in __xstate_request_perm() 1783 fpu = x86_task_fpu(current->group_leader); in __xfd_enable_feature() 1895 timestamp = READ_ONCE(x86_task_fpu(task)->avx512_timestamp); in avx512_status()
|
| /arch/x86/kernel/ |
| A D | signal.c | 258 struct fpu *fpu = x86_task_fpu(current); in handle_signal() 426 fsize += x86_task_fpu(current->group_leader)->perm.__user_state_size; in sigaltstack_size_valid() 433 mask = x86_task_fpu(current->group_leader)->perm.__state_perm; in sigaltstack_size_valid()
|
| A D | process.c | 111 fpstate_free(x86_task_fpu(tsk)); in arch_release_task_struct()
|
| A D | traps.c | 1307 struct fpu *fpu = x86_task_fpu(task); in math_error()
|
| /arch/x86/include/asm/fpu/ |
| A D | sched.h | 37 struct fpu *old_fpu = x86_task_fpu(old); in switch_fpu()
|
| /arch/x86/math-emu/ |
| A D | fpu_system.h | 76 #define I387 (&x86_task_fpu(current)->fpstate->regs)
|
| A D | fpu_aux.c | 56 fpstate_init_soft(&x86_task_fpu(current)->fpstate->regs.soft); in finit()
|
| A D | fpu_entry.c | 644 struct swregs_state *s387 = &x86_task_fpu(target)->fpstate->regs.soft; in fpregs_soft_set() 695 struct swregs_state *s387 = &x86_task_fpu(target)->fpstate->regs.soft; in fpregs_soft_get()
|
| /arch/x86/include/asm/ |
| A D | processor.h | 520 extern struct fpu *x86_task_fpu(struct task_struct *task); 522 # define x86_task_fpu(task) ((struct fpu *)((void *)(task) + sizeof(*(task)))) macro
|
Completed in 32 milliseconds