Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dxsave.c47 u64 xstate_bv; in __sanitize_i387_state() local
52 xstate_bv = tsk->thread.fpu.state->xsave.xsave_hdr.xstate_bv; in __sanitize_i387_state()
58 if ((xstate_bv & pcntxt_mask) == pcntxt_mask) in __sanitize_i387_state()
64 if (!(xstate_bv & XSTATE_FP)) { in __sanitize_i387_state()
77 if (!(xstate_bv & XSTATE_SSE)) in __sanitize_i387_state()
80 xstate_bv = (pcntxt_mask & ~xstate_bv) >> 2; in __sanitize_i387_state()
86 while (xstate_bv) { in __sanitize_i387_state()
87 if (xstate_bv & 0x1) { in __sanitize_i387_state()
96 xstate_bv >>= 1; in __sanitize_i387_state()
166 u32 xstate_bv; in save_xstate_epilog() local
[all …]
Di387.c332 target->thread.fpu.state->xsave.xsave_hdr.xstate_bv |= XSTATE_FPSSE; in xfpregs_set()
390 xsave_hdr->xstate_bv &= pcntxt_mask; in xstateregs_set()
611 target->thread.fpu.state->xsave.xsave_hdr.xstate_bv |= XSTATE_FP; in fpregs_set()
/arch/x86/include/asm/
Duser.h18 __u64 xstate_bv; member
Dfpu-internal.h251 if (!(fpu->state->xsave.xsave_hdr.xstate_bv & XSTATE_FP)) in fpu_save_init()
Dprocessor.h387 u64 xstate_bv; member
/arch/x86/include/uapi/asm/
Dsigcontext.h28 __u64 xstate_bv; member
198 __u64 xstate_bv; member
/arch/x86/kvm/
Dcpuid.c28 static u32 xstate_required_size(u64 xstate_bv) in xstate_required_size() argument
33 xstate_bv &= XSTATE_EXTEND_MASK; in xstate_required_size()
34 while (xstate_bv) { in xstate_required_size()
35 if (xstate_bv & 0x1) { in xstate_required_size()
41 xstate_bv >>= 1; in xstate_required_size()
Dx86.c3133 u64 xstate_bv = xsave->xsave_hdr.xstate_bv; in fill_xsave() local
3143 *(u64 *)(dest + XSAVE_HDR_OFFSET) = xstate_bv; in fill_xsave()
3149 valid = xstate_bv & ~XSTATE_FPSSE; in fill_xsave()
3169 u64 xstate_bv = *(u64 *)(src + XSAVE_HDR_OFFSET); in load_xsave() local
3179 xsave->xsave_hdr.xstate_bv = xstate_bv; in load_xsave()
3187 valid = xstate_bv & ~XSTATE_FPSSE; in load_xsave()
3223 u64 xstate_bv = in kvm_vcpu_ioctl_x86_set_xsave() local
3232 if (xstate_bv & ~kvm_supported_xcr0()) in kvm_vcpu_ioctl_x86_set_xsave()
3236 if (xstate_bv & ~XSTATE_FPSSE) in kvm_vcpu_ioctl_x86_set_xsave()