Searched refs:xstate (Results 1 – 11 of 11) sorted by relevance
/arch/x86/include/asm/ |
D | i387.h | 81 return xrstor_checking(&tsk->thread.xstate->xsave); in restore_fpu_checking() 83 return fxrstor_checking(&tsk->thread.xstate->fxsave); in restore_fpu_checking() 93 struct xsave_struct *xstate = &tsk->thread.xstate->xsave; in clear_fpu_state() local 94 struct i387_fxsave_struct *fx = &tsk->thread.xstate->fxsave; in clear_fpu_state() 100 !(xstate->xsave_hdr.xstate_bv & XSTATE_FP)) in clear_fpu_state() 145 : "=m" (tsk->thread.xstate->fxsave)); in fxsave() 152 : "=m" (tsk->thread.xstate->fxsave)); in fxsave() 157 : "=m" (tsk->thread.xstate->fxsave) in fxsave() 158 : "cdaSDb" (&tsk->thread.xstate->fxsave)); in fxsave() 191 xrstor_checking(&tsk->thread.xstate->xsave); in restore_fpu() [all …]
|
D | xsave.h | 80 struct xsave_struct *xstate = ((__force struct xsave_struct *)buf); in xrestore_user() local 95 : "D" (xstate), "a" (lmask), "d" (hmask), "0" (0) in xrestore_user() 115 : : "D" (&(tsk->thread.xstate->xsave)), in xsave()
|
D | processor.h | 420 union thread_xstate *xstate; member
|
/arch/x86/kernel/ |
D | i387.c | 129 if (!tsk->thread.xstate) { in init_fpu() 130 tsk->thread.xstate = kmem_cache_alloc(task_xstate_cachep, in init_fpu() 132 if (!tsk->thread.xstate) in init_fpu() 138 memset(tsk->thread.xstate, 0, xstate_size); in init_fpu() 146 struct i387_fxsave_struct *fx = &tsk->thread.xstate->fxsave; in init_fpu() 153 struct i387_fsave_struct *fp = &tsk->thread.xstate->fsave; in init_fpu() 191 &target->thread.xstate->fxsave, 0, -1); in xfpregs_get() 210 &target->thread.xstate->fxsave, 0, -1); in xfpregs_set() 215 target->thread.xstate->fxsave.mxcsr &= mxcsr_feature_mask; in xfpregs_set() 222 target->thread.xstate->xsave.xsave_hdr.xstate_bv |= XSTATE_FPSSE; in xfpregs_set() [all …]
|
D | process.c | 25 if (src->thread.xstate) { in arch_dup_task_struct() 26 dst->thread.xstate = kmem_cache_alloc(task_xstate_cachep, in arch_dup_task_struct() 28 if (!dst->thread.xstate) in arch_dup_task_struct() 30 WARN_ON((unsigned long)dst->thread.xstate & 15); in arch_dup_task_struct() 31 memcpy(dst->thread.xstate, src->thread.xstate, xstate_size); in arch_dup_task_struct() 38 if (tsk->thread.xstate) { in free_thread_xstate() 39 kmem_cache_free(task_xstate_cachep, tsk->thread.xstate); in free_thread_xstate() 40 tsk->thread.xstate = NULL; in free_thread_xstate()
|
D | xsave.c | 112 if (__copy_to_user(buf, &tsk->thread.xstate->fxsave, in save_i387_xstate()
|
D | process_32.c | 526 prefetch(next->xstate); in __switch_to()
|
D | process_64.c | 545 prefetch(next->xstate); in __switch_to()
|
/arch/x86/math-emu/ |
D | fpu_system.h | 34 #define I387 (current->thread.xstate)
|
D | fpu_aux.c | 35 struct i387_soft_struct *soft = &tsk->thread.xstate->soft; in finit_task()
|
D | fpu_entry.c | 684 struct i387_soft_struct *s387 = &target->thread.xstate->soft; in fpregs_soft_set() 736 struct i387_soft_struct *s387 = &target->thread.xstate->soft; in fpregs_soft_get()
|