Home
last modified time | relevance | path

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

/Linux-v6.1/arch/x86/kernel/fpu/
Dcore.c374 struct fpstate *kstate = gfpu->fpstate; in fpu_copy_guest_fpstate_to_uabi() local
379 __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() local
402 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()