Searched refs:kstate (Results 1 – 1 of 1) sorted by relevance
374 struct fpstate *kstate = gfpu->fpstate; in fpu_copy_guest_fpstate_to_uabi() local379 __copy_xstate_to_uabi_buf(mb, kstate, pkru, XSTATE_COPY_XSAVE); in fpu_copy_guest_fpstate_to_uabi()381 memcpy(&ustate->fxsave, &kstate->regs.fxsave, in fpu_copy_guest_fpstate_to_uabi()392 struct fpstate *kstate = gfpu->fpstate; in fpu_copy_uabi_to_guest_fpstate() local402 memcpy(&kstate->regs.fxsave, &ustate->fxsave, sizeof(ustate->fxsave)); in fpu_copy_uabi_to_guest_fpstate()409 ret = copy_uabi_from_kernel_to_xstate(kstate, ustate); in fpu_copy_uabi_to_guest_fpstate()414 if (kstate->regs.xsave.header.xfeatures & XFEATURE_MASK_PKRU) { in fpu_copy_uabi_to_guest_fpstate()415 xpkru = get_xsave_addr(&kstate->regs.xsave, XFEATURE_PKRU); in fpu_copy_uabi_to_guest_fpstate()