Home
last modified time | relevance | path

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

/arch/x86/kernel/fpu/
Dregset.c95 struct fxregs_state newstate; in xfpregs_set() local
102 if (pos != 0 || count != sizeof(newstate)) in xfpregs_set()
105 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate, 0, -1); in xfpregs_set()
110 if (newstate.mxcsr & ~mxcsr_feature_mask) in xfpregs_set()
116 memcpy(&fpu->fpstate->regs.fxsave, &newstate, sizeof(newstate)); in xfpregs_set()
/arch/x86/kernel/
Dsmpboot.c1567 u32 newstate = CPUDEAD_MWAIT_KEXEC_HLT; in smp_kick_mwait_play_dead() local
1579 for (i = 0; READ_ONCE(md->status) != newstate && i < 1000; i++) { in smp_kick_mwait_play_dead()
1581 WRITE_ONCE(md->control, newstate); in smp_kick_mwait_play_dead()
1585 if (READ_ONCE(md->status) != newstate) in smp_kick_mwait_play_dead()
/arch/arm64/kernel/
Dptrace.c624 struct user_fpsimd_state newstate; in __fpr_set() local
632 newstate = target->thread.uw.fpsimd_state; in __fpr_set()
634 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate, in __fpr_set()
635 start_pos, start_pos + sizeof(newstate)); in __fpr_set()
639 target->thread.uw.fpsimd_state = newstate; in __fpr_set()