Home
last modified time | relevance | path

Searched refs:fxregs_state (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/arch/x86/kernel/fpu/
Dxstate.c154 struct fxregs_state *fx = &fpu->state.fxsave; in fpstate_sanitize_xstate()
264 xstate_sizes[0] = offsetof(struct fxregs_state, xmm_space); in setup_xstate_features()
266 xstate_sizes[1] = FIELD_SIZEOF(struct fxregs_state, xmm_space); in setup_xstate_features()
360 xstate_comp_offsets[1] = offsetof(struct fxregs_state, xmm_space); in setup_xstate_comp()
1036 offset = offsetof(struct fxregs_state, mxcsr); in copy_xstate_to_kernel()
1044 offset = offsetof(struct fxregs_state, sw_reserved); in copy_xstate_to_kernel()
1124 offset = offsetof(struct fxregs_state, mxcsr); in copy_xstate_to_user()
1132 offset = offsetof(struct fxregs_state, sw_reserved); in copy_xstate_to_user()
1174 offset = offsetof(struct fxregs_state, mxcsr); in copy_kernel_to_xstate()
1229 offset = offsetof(struct fxregs_state, mxcsr); in copy_user_to_xstate()
Dsignal.c23 static inline int check_for_xstate(struct fxregs_state __user *buf, in check_for_xstate()
27 int min_xstate_size = sizeof(struct fxregs_state) + in check_for_xstate()
128 err = copy_fxregs_to_user((struct fxregs_state __user *) buf); in copy_fpregs_to_sigframe()
302 state_size = sizeof(struct fxregs_state); in __fpu__restore_sig()
Dinit.c101 static struct fxregs_state fxregs __initdata; in fpu__init_system_mxcsr()
216 sizeof(struct fxregs_state); in fpu__init_system_xstate_size_legacy()
Dregset.c190 static inline u32 twd_fxsr_to_i387(struct fxregs_state *fxsave) in twd_fxsr_to_i387()
238 struct fxregs_state *fxsave = &tsk->thread.fpu.state.fxsave; in convert_from_fxsr()
276 struct fxregs_state *fxsave = &tsk->thread.fpu.state.fxsave; in convert_to_fxsr()
/Linux-v4.19/arch/x86/include/asm/fpu/
Dtypes.h34 struct fxregs_state { struct
254 struct fxregs_state i387;
270 struct fxregs_state fxsave;
Dinternal.h99 static inline void fpstate_init_fxstate(struct fxregs_state *fx) in fpstate_init_fxstate()
133 static inline int copy_fxregs_to_user(struct fxregs_state __user *fx) in copy_fxregs_to_user()
144 static inline void copy_kernel_to_fxregs(struct fxregs_state *fx) in copy_kernel_to_fxregs()
158 static inline int copy_user_to_fxregs(struct fxregs_state __user *fx) in copy_user_to_fxregs()
/Linux-v4.19/arch/x86/kvm/
Demulate.c4019 return offsetof(struct fxregs_state, xmm_space[0]) + nregs * 16; in __fxstate_size()
4052 struct fxregs_state fx_state; in em_fxsave()
4075 static noinline int fxregs_fixup(struct fxregs_state *fx_state, in fxregs_fixup()
4078 struct fxregs_state fx_tmp; in fxregs_fixup()
4090 struct fxregs_state fx_state; in em_fxrstor()
Dx86.c3607 sizeof(struct fxregs_state)); in kvm_vcpu_ioctl_x86_get_xsave()
3637 guest_xsave->region, sizeof(struct fxregs_state)); in kvm_vcpu_ioctl_x86_set_xsave()
8358 struct fxregs_state *fxsave; in kvm_arch_vcpu_ioctl_get_fpu()
8378 struct fxregs_state *fxsave; in kvm_arch_vcpu_ioctl_set_fpu()