Searched refs:fxregs_state (Results 1 – 8 of 8) sorted by relevance
33 struct fxregs_state { struct250 struct fxregs_state i387;266 struct fxregs_state fxsave;
95 static inline void fpstate_init_fxstate(struct fxregs_state *fx) in fpstate_init_fxstate()138 static inline int copy_fxregs_to_user(struct fxregs_state __user *fx) in copy_fxregs_to_user()149 static inline void copy_kernel_to_fxregs(struct fxregs_state *fx) in copy_kernel_to_fxregs()167 static inline int copy_user_to_fxregs(struct fxregs_state __user *fx) in copy_user_to_fxregs()
22 static inline int check_for_xstate(struct fxregs_state __user *buf, in check_for_xstate()26 int min_xstate_size = sizeof(struct fxregs_state) + in check_for_xstate()127 err = copy_fxregs_to_user((struct fxregs_state __user *) buf); in copy_fpregs_to_sigframe()297 state_size = sizeof(struct fxregs_state); in __fpu__restore_sig()
112 static struct fxregs_state fxregs __initdata; in fpu__init_system_mxcsr()227 sizeof(struct fxregs_state); in fpu__init_system_xstate_size_legacy()
157 struct fxregs_state *fx = &fpu->state.fxsave; in fpstate_sanitize_xstate()267 xstate_sizes[0] = offsetof(struct fxregs_state, xmm_space); in setup_xstate_features()269 xstate_sizes[1] = FIELD_SIZEOF(struct fxregs_state, xmm_space); in setup_xstate_features()363 xstate_comp_offsets[1] = offsetof(struct fxregs_state, xmm_space); in setup_xstate_comp()1009 offset = offsetof(struct fxregs_state, sw_reserved); in copyout_from_xsaves()
189 static inline u32 twd_fxsr_to_i387(struct fxregs_state *fxsave) in twd_fxsr_to_i387()237 struct fxregs_state *fxsave = &tsk->thread.fpu.state.fxsave; in convert_from_fxsr()275 struct fxregs_state *fxsave = &tsk->thread.fpu.state.fxsave; in convert_to_fxsr()
3972 struct fxregs_state fx_state; in em_fxsave()3990 size = offsetof(struct fxregs_state, xmm_space[8 * 16/4]); in em_fxsave()3992 size = offsetof(struct fxregs_state, xmm_space[0]); in em_fxsave()3998 struct fxregs_state *new) in fxrstor_fixup()4001 struct fxregs_state old; in fxrstor_fixup()4029 struct fxregs_state fx_state; in em_fxrstor()
3251 sizeof(struct fxregs_state)); in kvm_vcpu_ioctl_x86_get_xsave()3281 guest_xsave->region, sizeof(struct fxregs_state)); in kvm_vcpu_ioctl_x86_set_xsave()7420 struct fxregs_state *fxsave = in kvm_arch_vcpu_ioctl_get_fpu()7437 struct fxregs_state *fxsave = in kvm_arch_vcpu_ioctl_set_fpu()