Lines Matching refs:thr
254 #define loadvec(thr) ((thr).load_vec) argument
334 #define loadvec(thr) 0 argument
829 static void tm_reclaim_thread(struct thread_struct *thr, uint8_t cause) in tm_reclaim_thread() argument
849 giveup_all(container_of(thr, struct task_struct, thread)); in tm_reclaim_thread()
851 tm_reclaim(thr, cause); in tm_reclaim_thread()
865 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread()
866 memcpy(&thr->ckfp_state, &thr->fp_state, in tm_reclaim_thread()
868 if ((thr->ckpt_regs.msr & MSR_VEC) == 0) in tm_reclaim_thread()
869 memcpy(&thr->ckvr_state, &thr->vr_state, in tm_reclaim_thread()
891 struct thread_struct *thr = &tsk->thread; in tm_reclaim_task() local
893 if (!thr->regs) in tm_reclaim_task()
896 if (!MSR_TM_ACTIVE(thr->regs->msr)) in tm_reclaim_task()
903 tsk->pid, thr->regs->nip, in tm_reclaim_task()
904 thr->regs->ccr, thr->regs->msr, in tm_reclaim_task()
905 thr->regs->trap); in tm_reclaim_task()
907 tm_reclaim_thread(thr, TM_CAUSE_RESCHED); in tm_reclaim_task()
918 tm_save_sprs(thr); in tm_reclaim_task()