Lines Matching refs:thread
52 info.si_addr = (void *) tsk->thread.uregs->pc; in fpu_exception()
57 fpcr = tsk->thread.fpu_state.fpcr; in fpu_exception()
88 if (tsk->thread.fpu_flags & THREAD_HAS_FPU) { in fpu_setup_sigcontext()
89 fpu_save(&tsk->thread.fpu_state); in fpu_setup_sigcontext()
90 tsk->thread.uregs->epsw &= ~EPSW_FE; in fpu_setup_sigcontext()
91 tsk->thread.fpu_flags &= ~THREAD_HAS_FPU; in fpu_setup_sigcontext()
95 fpu_save(&tsk->thread.fpu_state); in fpu_setup_sigcontext()
96 fpu_state_owner->thread.uregs->epsw &= ~EPSW_FE; in fpu_setup_sigcontext()
108 &tsk->thread.fpu_state, in fpu_setup_sigcontext()
125 if (tsk->thread.fpu_flags & THREAD_HAS_FPU) { in fpu_kill_state()
126 tsk->thread.uregs->epsw &= ~EPSW_FE; in fpu_kill_state()
127 tsk->thread.fpu_flags &= ~THREAD_HAS_FPU; in fpu_kill_state()
131 fpu_state_owner->thread.uregs->epsw &= ~EPSW_FE; in fpu_kill_state()
151 ret = copy_from_user(&tsk->thread.fpu_state, fpucontext, in fpu_restore_sigcontext()
171 memcpy(fpreg, &tsk->thread.fpu_state, sizeof(*fpreg)); in dump_fpu()