Home
last modified time | relevance | path

Searched refs:xsave_hdr (Results 1 – 7 of 7) sorted by relevance

/arch/x86/kernel/
Dxsave.c52 xstate_bv = tsk->thread.fpu.state->xsave.xsave_hdr.xstate_bv; in __sanitize_i387_state()
182 err |= __get_user(xstate_bv, (__u32 *)&x->xsave_hdr.xstate_bv); in save_xstate_epilog()
197 err |= __put_user(xstate_bv, (__u32 *)&x->xsave_hdr.xstate_bv); in save_xstate_epilog()
284 struct xsave_hdr_struct *xsave_hdr = &xsave->xsave_hdr; in sanitize_restored_xstate() local
288 memset(xsave_hdr->reserved, 0, 48); in sanitize_restored_xstate()
295 xsave_hdr->xstate_bv = XSTATE_FPSSE; in sanitize_restored_xstate()
297 xsave_hdr->xstate_bv &= (pcntxt_mask & xstate_bv); in sanitize_restored_xstate()
398 (state_size > offsetof(struct xsave_struct, xsave_hdr) && in __restore_xstate_sig()
399 fpu->state->xsave.xsave_hdr.xcomp_bv)) { in __restore_xstate_sig()
554 init_xstate_buf->xsave_hdr.xcomp_bv = in setup_init_fpu_buf()
[all …]
Di387.c332 target->thread.fpu.state->xsave.xsave_hdr.xstate_bv |= XSTATE_FPSSE; in xfpregs_set()
371 struct xsave_hdr_struct *xsave_hdr; in xstateregs_set() local
388 xsave_hdr = &target->thread.fpu.state->xsave.xsave_hdr; in xstateregs_set()
390 xsave_hdr->xstate_bv &= pcntxt_mask; in xstateregs_set()
393 if (!ret && xsave_hdr->xcomp_bv) in xstateregs_set()
399 memset(xsave_hdr->reserved, 0, 48); in xstateregs_set()
611 target->thread.fpu.state->xsave.xsave_hdr.xstate_bv |= XSTATE_FP; in fpregs_set()
/arch/x86/include/asm/
Duser.h58 struct user_xsave_hdr xsave_hdr; member
Dxsave.h221 err = __clear_user(&buf->xsave_hdr, sizeof(buf->xsave_hdr)); in xsave_user()
Dfpu-internal.h251 if (!(fpu->state->xsave.xsave_hdr.xstate_bv & XSTATE_FP)) in fpu_save_init()
Dprocessor.h394 struct xsave_hdr_struct xsave_hdr; member
/arch/x86/kvm/
Dx86.c3133 u64 xstate_bv = xsave->xsave_hdr.xstate_bv; in fill_xsave()
3179 xsave->xsave_hdr.xstate_bv = xstate_bv; in load_xsave()
3181 xsave->xsave_hdr.xcomp_bv = host_xcr0 | XSTATE_COMPACTION_ENABLED; in load_xsave()
6956 vcpu->arch.guest_fpu.state->xsave.xsave_hdr.xcomp_bv = in fx_init()