Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/include/asm/fpu/
Dinternal.h99 static inline void fpstate_init_fxstate(struct fxregs_state *fx) in fpstate_init_fxstate()
152 static inline int copy_fxregs_to_user(struct fxregs_state __user *fx) in copy_fxregs_to_user()
161 static inline void copy_kernel_to_fxregs(struct fxregs_state *fx) in copy_kernel_to_fxregs()
169 static inline int copy_kernel_to_fxregs_err(struct fxregs_state *fx) in copy_kernel_to_fxregs_err()
177 static inline int copy_user_to_fxregs(struct fxregs_state __user *fx) in copy_user_to_fxregs()
208 static inline void fxsave(struct fxregs_state *fx) in fxsave()
Dtypes.h34 struct fxregs_state { struct
290 struct fxregs_state i387;
306 struct fxregs_state fxsave;
Dsignal.h25 extern void convert_to_fxsr(struct fxregs_state *fxsave,
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/
Dregset.c40 return membuf_write(&to, &fpu->state.fxsave, sizeof(struct fxregs_state)); in xfpregs_get()
179 static inline u32 twd_fxsr_to_i387(struct fxregs_state *fxsave) in twd_fxsr_to_i387()
227 struct fxregs_state *fxsave = &tsk->thread.fpu.state.fxsave; in convert_from_fxsr()
261 void convert_to_fxsr(struct fxregs_state *fxsave, in convert_to_fxsr()
Dinit.c101 static struct fxregs_state fxregs __initdata; in fpu__init_system_mxcsr()
210 sizeof(struct fxregs_state); in fpu__init_system_xstate_size_legacy()
Dsignal.c24 static inline int check_for_xstate(struct fxregs_state __user *buf, in check_for_xstate()
28 int min_xstate_size = sizeof(struct fxregs_state) + in check_for_xstate()
134 err = copy_fxregs_to_user((struct fxregs_state __user *) buf); in copy_fpregs_to_sigframe()
320 state_size = sizeof(struct fxregs_state); in __fpu__restore_sig()
Dxstate.c144 struct fxregs_state *fx = &fpu->state.fxsave; in fpstate_sanitize_xstate()
265 xstate_sizes[XFEATURE_FP] = offsetof(struct fxregs_state, in setup_xstate_features()
269 xstate_sizes[XFEATURE_SSE] = sizeof_field(struct fxregs_state, in setup_xstate_features()
376 xstate_comp_offsets[XFEATURE_SSE] = offsetof(struct fxregs_state, in setup_xstate_comp_offsets()
1102 const unsigned int off_mxcsr = offsetof(struct fxregs_state, mxcsr); in copy_xstate_to_kernel()
1211 offset = offsetof(struct fxregs_state, mxcsr); in copy_kernel_to_xstate()
1266 offset = offsetof(struct fxregs_state, mxcsr); in copy_user_to_xstate()
/kernel/linux/linux-5.10/arch/x86/events/
Dperf_event.h850 struct fxregs_state i387;
/kernel/linux/linux-5.10/arch/x86/kvm/
Demulate.c4102 return offsetof(struct fxregs_state, xmm_space[0]) + nregs * 16; in __fxstate_size()
4135 struct fxregs_state fx_state; in em_fxsave()
4162 static noinline int fxregs_fixup(struct fxregs_state *fx_state, in fxregs_fixup()
4165 struct fxregs_state fx_tmp; in fxregs_fixup()
4177 struct fxregs_state fx_state; in em_fxrstor()
Dx86.c4567 sizeof(struct fxregs_state)); in kvm_vcpu_ioctl_x86_get_xsave()
4596 guest_xsave->region, sizeof(struct fxregs_state)); in kvm_vcpu_ioctl_x86_set_xsave()
9900 struct fxregs_state *fxsave; in kvm_arch_vcpu_ioctl_get_fpu()
9920 struct fxregs_state *fxsave; in kvm_arch_vcpu_ioctl_set_fpu()