Lines Matching refs:xcomp_bv
128 const uint64_t xcomp_bv) in setup_xstate_comp() argument
146 if ( (1ul << i) & xcomp_bv ) in setup_xstate_comp()
181 if ( !(xsave->xsave_hdr.xcomp_bv & XSTATE_COMPACTION_ENABLED) ) in expand_xsave_states()
188 setup_xstate_comp(comp_offsets, xsave->xsave_hdr.xcomp_bv); in expand_xsave_states()
196 ((struct xsave_struct *)dest)->xsave_hdr.xcomp_bv = 0; in expand_xsave_states()
260 xsave->xsave_hdr.xcomp_bv = v->arch.xcr0_accum | XSTATE_COMPACTION_ENABLED; in compress_xsave_states()
262 setup_xstate_comp(comp_offsets, xsave->xsave_hdr.xcomp_bv); in compress_xsave_states()
411 if ( unlikely(!(ptr->xsave_hdr.xcomp_bv & \ in xrstor()
414 ASSERT(!ptr->xsave_hdr.xcomp_bv); \ in xrstor()
415 ptr->xsave_hdr.xcomp_bv = ptr->xsave_hdr.xstate_bv | \ in xrstor()
438 ptr->xsave_hdr.xstate_bv, ptr->xsave_hdr.xcomp_bv); in xrstor()
456 !(ptr->xsave_hdr.xcomp_bv & XSTATE_COMPACTION_ENABLED))) ) in xrstor()
460 ptr->xsave_hdr.xcomp_bv &= this_cpu(xcr0) | this_cpu(xss); in xrstor()
461 ptr->xsave_hdr.xstate_bv &= ptr->xsave_hdr.xcomp_bv; in xrstor()
462 ptr->xsave_hdr.xcomp_bv |= XSTATE_COMPACTION_ENABLED; in xrstor()
467 ptr->xsave_hdr.xcomp_bv = 0; in xrstor()
475 ptr->xsave_hdr.xcomp_bv = v->arch.xcr0_accum & XSTATE_XSAVES_ONLY in xrstor()
684 hdr->xcomp_bv ) in validate_xstate()