Lines Matching refs:new_thread
1123 struct thread_struct *new_thread) in restore_sprs() argument
1127 old_thread->vrsave != new_thread->vrsave) in restore_sprs()
1128 mtspr(SPRN_VRSAVE, new_thread->vrsave); in restore_sprs()
1133 if (new_thread->dscr_inherit) in restore_sprs()
1134 dscr = new_thread->dscr; in restore_sprs()
1141 if (old_thread->bescr != new_thread->bescr) in restore_sprs()
1142 mtspr(SPRN_BESCR, new_thread->bescr); in restore_sprs()
1143 if (old_thread->ebbhr != new_thread->ebbhr) in restore_sprs()
1144 mtspr(SPRN_EBBHR, new_thread->ebbhr); in restore_sprs()
1145 if (old_thread->ebbrr != new_thread->ebbrr) in restore_sprs()
1146 mtspr(SPRN_EBBRR, new_thread->ebbrr); in restore_sprs()
1148 if (old_thread->fscr != new_thread->fscr) in restore_sprs()
1149 mtspr(SPRN_FSCR, new_thread->fscr); in restore_sprs()
1151 if (old_thread->tar != new_thread->tar) in restore_sprs()
1152 mtspr(SPRN_TAR, new_thread->tar); in restore_sprs()
1156 old_thread->tidr != new_thread->tidr) in restore_sprs()
1157 mtspr(SPRN_TIDR, new_thread->tidr); in restore_sprs()
1160 thread_pkey_regs_restore(new_thread, old_thread); in restore_sprs()
1171 struct thread_struct *new_thread, *old_thread; in __switch_to() local
1177 new_thread = &new->thread; in __switch_to()
1232 restore_sprs(old_thread, new_thread); in __switch_to()
1234 last = _switch(old_thread, new_thread); in __switch_to()