Home
last modified time | relevance | path

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

/arch/x86/kernel/fpu/
Dsignal.c83 u32 xfeatures; in save_xstate_epilog() local
100 err |= __get_user(xfeatures, (__u32 *)&x->header.xfeatures); in save_xstate_epilog()
113 xfeatures |= XFEATURE_MASK_FPSSE; in save_xstate_epilog()
115 err |= __put_user(xfeatures, (__u32 *)&x->header.xfeatures); in save_xstate_epilog()
210 u64 xfeatures, int fx_only) in sanitize_restored_xstate() argument
224 header->xfeatures = XFEATURE_MASK_FPSSE; in sanitize_restored_xstate()
226 header->xfeatures &= (xfeatures_mask & xfeatures); in sanitize_restored_xstate()
268 u64 xfeatures = 0; in __fpu__restore_sig() local
302 xfeatures = fx_sw_user.xfeatures; in __fpu__restore_sig()
343 sanitize_restored_xstate(tsk, &env, xfeatures, fx_only); in __fpu__restore_sig()
[all …]
Dxstate.c159 u64 xfeatures; in fpstate_sanitize_xstate() local
164 xfeatures = fpu->state.xsave.header.xfeatures; in fpstate_sanitize_xstate()
170 if ((xfeatures & xfeatures_mask) == xfeatures_mask) in fpstate_sanitize_xstate()
176 if (!(xfeatures & XFEATURE_MASK_FP)) { in fpstate_sanitize_xstate()
189 if (!(xfeatures & XFEATURE_MASK_SSE)) in fpstate_sanitize_xstate()
197 xfeatures = (xfeatures_mask & ~xfeatures) >> 2; in fpstate_sanitize_xstate()
204 while (xfeatures) { in fpstate_sanitize_xstate()
205 if (xfeatures & 0x1) { in fpstate_sanitize_xstate()
214 xfeatures >>= 1; in fpstate_sanitize_xstate()
833 if (!(xsave->header.xfeatures & xstate_feature)) in get_xsave_addr()
[all …]
Dregset.c73 fpu->state.xsave.header.xfeatures |= XFEATURE_MASK_FPSSE; in xfpregs_set()
153 xsave->header.xfeatures &= xfeatures_mask; in xstateregs_set()
359 fpu->state.xsave.header.xfeatures |= XFEATURE_MASK_FP; in fpregs_set()
/arch/x86/include/asm/trace/
Dfpu.h18 __field(u64, xfeatures)
28 __entry->xfeatures = fpu->state.xsave.header.xfeatures;
37 __entry->xfeatures,
/arch/x86/include/asm/
Duser.h18 __u64 xfeatures; member
/arch/x86/include/uapi/asm/
Dsigcontext.h59 __u64 xfeatures; member
174 __u64 xfeatures; member
/arch/x86/include/asm/fpu/
Dtypes.h229 u64 xfeatures; member
/arch/x86/kvm/
Dx86.c3170 u64 xstate_bv = xsave->header.xfeatures; in fill_xsave()
3217 xsave->header.xfeatures = xstate_bv; in load_xsave()