Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/fpu/
Dxstate.c156 u64 xfeatures; in fpstate_sanitize_xstate() local
161 xfeatures = fpu->state.xsave.header.xfeatures; in fpstate_sanitize_xstate()
167 if ((xfeatures & xfeatures_mask) == xfeatures_mask) in fpstate_sanitize_xstate()
173 if (!(xfeatures & XFEATURE_MASK_FP)) { in fpstate_sanitize_xstate()
186 if (!(xfeatures & XFEATURE_MASK_SSE)) in fpstate_sanitize_xstate()
194 xfeatures = (xfeatures_mask & ~xfeatures) >> 2; in fpstate_sanitize_xstate()
201 while (xfeatures) { in fpstate_sanitize_xstate()
202 if (xfeatures & 0x1) { in fpstate_sanitize_xstate()
211 xfeatures >>= 1; in fpstate_sanitize_xstate()
484 if (hdr->xfeatures & (~xfeatures_mask | XFEATURE_MASK_SUPERVISOR)) in validate_xstate_header()
[all …]
Dsignal.c84 u32 xfeatures; in save_xstate_epilog() local
101 err |= __get_user(xfeatures, (__u32 *)&x->header.xfeatures); in save_xstate_epilog()
114 xfeatures |= XFEATURE_MASK_FPSSE; in save_xstate_epilog()
116 err |= __put_user(xfeatures, (__u32 *)&x->header.xfeatures); in save_xstate_epilog()
212 u64 xfeatures, int fx_only) in sanitize_restored_xstate() argument
229 header->xfeatures = XFEATURE_MASK_FPSSE; in sanitize_restored_xstate()
231 header->xfeatures &= xfeatures; in sanitize_restored_xstate()
273 u64 xfeatures = 0; in __fpu__restore_sig() local
307 xfeatures = fx_sw_user.xfeatures; in __fpu__restore_sig()
344 sanitize_restored_xstate(tsk, &env, xfeatures, fx_only); in __fpu__restore_sig()
[all …]
Dregset.c75 fpu->state.xsave.header.xfeatures |= XFEATURE_MASK_FPSSE; in xfpregs_set()
360 fpu->state.xsave.header.xfeatures |= XFEATURE_MASK_FP; in fpregs_set()
/Linux-v4.19/arch/x86/include/asm/trace/
Dfpu.h17 __field(u64, xfeatures)
25 __entry->xfeatures = fpu->state.xsave.header.xfeatures;
32 __entry->xfeatures,
/Linux-v4.19/arch/x86/include/asm/
Duser.h19 __u64 xfeatures; member
/Linux-v4.19/arch/x86/include/uapi/asm/
Dsigcontext.h60 __u64 xfeatures; member
175 __u64 xfeatures; member
/Linux-v4.19/arch/x86/include/asm/fpu/
Dtypes.h233 u64 xfeatures; member
/Linux-v4.19/arch/x86/kvm/
Dx86.c3517 u64 xstate_bv = xsave->header.xfeatures; in fill_xsave()
3569 xsave->header.xfeatures = xstate_bv; in load_xsave()