Searched refs:xstate_bv (Results 1 – 8 of 8) sorted by relevance
47 u64 xstate_bv; in __sanitize_i387_state() local52 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 …]
332 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()
18 __u64 xstate_bv; member
251 if (!(fpu->state->xsave.xsave_hdr.xstate_bv & XSTATE_FP)) in fpu_save_init()
387 u64 xstate_bv; member
28 __u64 xstate_bv; member198 __u64 xstate_bv; member
28 static u32 xstate_required_size(u64 xstate_bv) in xstate_required_size() argument33 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()
3133 u64 xstate_bv = xsave->xsave_hdr.xstate_bv; in fill_xsave() local3143 *(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() local3179 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() local3232 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()