Home
last modified time | relevance | path

Searched refs:XSAVE_HDR_OFFSET (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/arch/x86/include/asm/fpu/
Dxstate.h17 #define XSAVE_HDR_OFFSET FXSAVE_SIZE macro
20 #define XSAVE_YMM_OFFSET (XSAVE_HDR_SIZE + XSAVE_HDR_OFFSET)
/Linux-v4.19/arch/x86/kvm/
Dcpuid.c33 u32 ret = XSAVE_HDR_SIZE + XSAVE_HDR_OFFSET; in xstate_required_size()
113 vcpu->arch.guest_xstate_size = XSAVE_HDR_SIZE + XSAVE_HDR_OFFSET; in kvm_update_cpuid()
Dx86.c3524 memcpy(dest, xsave, XSAVE_HDR_OFFSET); in fill_xsave()
3528 *(u64 *)(dest + XSAVE_HDR_OFFSET) = xstate_bv; in fill_xsave()
3559 u64 xstate_bv = *(u64 *)(src + XSAVE_HDR_OFFSET); in load_xsave()
3566 memcpy(xsave, src, XSAVE_HDR_OFFSET); in load_xsave()
3608 *(u64 *)&guest_xsave->region[XSAVE_HDR_OFFSET / sizeof(u32)] = in kvm_vcpu_ioctl_x86_get_xsave()
3619 *(u64 *)&guest_xsave->region[XSAVE_HDR_OFFSET / sizeof(u32)]; in kvm_vcpu_ioctl_x86_set_xsave()
8800 vcpu->arch.guest_xstate_size = XSAVE_HDR_SIZE + XSAVE_HDR_OFFSET; in kvm_arch_vcpu_init()