Lines Matching refs:thr
531 static void tm_reclaim_thread(struct thread_struct *thr, in tm_reclaim_thread() argument
543 msr_diff = thr->ckpt_regs.msr & ~thr->regs->msr; in tm_reclaim_thread()
545 memcpy(&thr->transact_fp, &thr->fp_state, in tm_reclaim_thread()
548 memcpy(&thr->transact_vr, &thr->vr_state, in tm_reclaim_thread()
572 tm_reclaim(thr, thr->regs->msr, cause); in tm_reclaim_thread()
580 thr->regs->msr |= msr_diff; in tm_reclaim_thread()
601 struct thread_struct *thr = &tsk->thread; in tm_reclaim_task() local
603 if (!thr->regs) in tm_reclaim_task()
606 if (!MSR_TM_ACTIVE(thr->regs->msr)) in tm_reclaim_task()
615 thr->ckpt_regs.msr = thr->regs->msr; in tm_reclaim_task()
619 tsk->pid, thr->regs->nip, in tm_reclaim_task()
620 thr->regs->ccr, thr->regs->msr, in tm_reclaim_task()
621 thr->regs->trap); in tm_reclaim_task()
623 tm_reclaim_thread(thr, task_thread_info(tsk), TM_CAUSE_RESCHED); in tm_reclaim_task()
634 tm_save_sprs(thr); in tm_reclaim_task()