Home
last modified time | relevance | path

Searched refs:i387_fxsave_struct (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/arch/x86/kernel/
Dxsave.c45 struct i387_fxsave_struct *fx = &tsk->thread.fpu.state->fxsave; in __sanitize_i387_state()
105 static inline int check_for_xstate(struct i387_fxsave_struct __user *buf, in check_for_xstate()
109 int min_xstate_size = sizeof(struct i387_fxsave_struct) + in check_for_xstate()
209 err = fxsave_user((struct i387_fxsave_struct __user *) buf); in save_user_xstate()
368 state_size = sizeof(struct i387_fxsave_struct); in __restore_xstate_sig()
506 xstate_comp_offsets[1] = offsetof(struct i387_fxsave_struct, xmm_space); in setup_xstate_comp()
Di387.c138 static struct i387_fxsave_struct fx_scratch;
145 memset(&fx_scratch, 0, sizeof(struct i387_fxsave_struct)); in mxcsr_feature_mask_init()
173 xstate_size = sizeof(struct i387_fxsave_struct); in init_thread_xstate()
441 static inline u32 twd_fxsr_to_i387(struct i387_fxsave_struct *fxsave) in twd_fxsr_to_i387()
489 struct i387_fxsave_struct *fxsave = &tsk->thread.fpu.state->fxsave; in convert_from_fxsr()
527 struct i387_fxsave_struct *fxsave = &tsk->thread.fpu.state->fxsave; in convert_to_fxsr()
/linux-4.1.27/arch/x86/include/asm/
Dfpu-internal.h136 static inline void fx_finit(struct i387_fxsave_struct *fx) in fx_finit()
187 static inline int fxsave_user(struct i387_fxsave_struct __user *fx) in fxsave_user()
198 static inline int fxrstor_checking(struct i387_fxsave_struct *fx) in fxrstor_checking()
210 static inline int fxrstor_user(struct i387_fxsave_struct __user *fx) in fxrstor_user()
Dprocessor.h334 struct i387_fxsave_struct { struct
416 struct i387_fxsave_struct i387;
427 struct i387_fxsave_struct fxsave;
/linux-4.1.27/arch/x86/kvm/
Dx86.c3278 sizeof(struct i387_fxsave_struct)); in kvm_vcpu_ioctl_x86_get_xsave()
3303 guest_xsave->region, sizeof(struct i387_fxsave_struct)); in kvm_vcpu_ioctl_x86_set_xsave()
6978 struct i387_fxsave_struct *fxsave = in kvm_arch_vcpu_ioctl_get_fpu()
6995 struct i387_fxsave_struct *fxsave = in kvm_arch_vcpu_ioctl_set_fpu()