Lines Matching refs:fpstate
82 return membuf_write(&to, &fpu->fpstate->regs.fxsave, in xfpregs_get()
83 sizeof(fpu->fpstate->regs.fxsave)); in xfpregs_get()
116 memcpy(&fpu->fpstate->regs.fxsave, &newstate, sizeof(newstate)); in xfpregs_set()
121 memset(&fpu->fpstate->regs.fxsave.xmm_space[8*4], 0, 8 * 16); in xfpregs_set()
125 fpu->fpstate->regs.xsave.header.xfeatures |= XFEATURE_MASK_FPSSE; in xfpregs_set()
171 ret = copy_uabi_from_kernel_to_xstate(fpu->fpstate, kbuf ?: tmpbuf, &target->thread.pkru); in xstateregs_set()
197 cetregs = get_xsave_addr(&fpu->fpstate->regs.xsave, XFEATURE_CET_USER); in ssp_get()
217 struct xregs_state *xsave = &fpu->fpstate->regs.xsave; in ssp_set()
370 __convert_from_fxsr(env, tsk, &tsk->thread.fpu.fpstate->regs.fxsave); in convert_from_fxsr()
413 return membuf_write(&to, &fpu->fpstate->regs.fsave, in fpregs_get()
424 fx = &fpu->fpstate->regs.fxsave; in fpregs_get()
453 convert_to_fxsr(&fpu->fpstate->regs.fxsave, &env); in fpregs_set()
455 memcpy(&fpu->fpstate->regs.fsave, &env, sizeof(env)); in fpregs_set()
462 fpu->fpstate->regs.xsave.header.xfeatures |= XFEATURE_MASK_FP; in fpregs_set()