new_thread 260 arch/powerpc/include/asm/mmu_context.h #define thread_pkey_regs_restore(new_thread, old_thread) new_thread 206 arch/powerpc/include/asm/pkeys.h extern void thread_pkey_regs_restore(struct thread_struct *new_thread, new_thread 1082 arch/powerpc/kernel/process.c struct thread_struct *new_thread) new_thread 1086 arch/powerpc/kernel/process.c old_thread->vrsave != new_thread->vrsave) new_thread 1087 arch/powerpc/kernel/process.c mtspr(SPRN_VRSAVE, new_thread->vrsave); new_thread 1092 arch/powerpc/kernel/process.c if (new_thread->dscr_inherit) new_thread 1093 arch/powerpc/kernel/process.c dscr = new_thread->dscr; new_thread 1100 arch/powerpc/kernel/process.c if (old_thread->bescr != new_thread->bescr) new_thread 1101 arch/powerpc/kernel/process.c mtspr(SPRN_BESCR, new_thread->bescr); new_thread 1102 arch/powerpc/kernel/process.c if (old_thread->ebbhr != new_thread->ebbhr) new_thread 1103 arch/powerpc/kernel/process.c mtspr(SPRN_EBBHR, new_thread->ebbhr); new_thread 1104 arch/powerpc/kernel/process.c if (old_thread->ebbrr != new_thread->ebbrr) new_thread 1105 arch/powerpc/kernel/process.c mtspr(SPRN_EBBRR, new_thread->ebbrr); new_thread 1107 arch/powerpc/kernel/process.c if (old_thread->fscr != new_thread->fscr) new_thread 1108 arch/powerpc/kernel/process.c mtspr(SPRN_FSCR, new_thread->fscr); new_thread 1110 arch/powerpc/kernel/process.c if (old_thread->tar != new_thread->tar) new_thread 1111 arch/powerpc/kernel/process.c mtspr(SPRN_TAR, new_thread->tar); new_thread 1115 arch/powerpc/kernel/process.c old_thread->tidr != new_thread->tidr) new_thread 1116 arch/powerpc/kernel/process.c mtspr(SPRN_TIDR, new_thread->tidr); new_thread 1119 arch/powerpc/kernel/process.c thread_pkey_regs_restore(new_thread, old_thread); new_thread 1125 arch/powerpc/kernel/process.c struct thread_struct *new_thread, *old_thread; new_thread 1131 arch/powerpc/kernel/process.c new_thread = &new->thread; new_thread 1186 arch/powerpc/kernel/process.c restore_sprs(old_thread, new_thread); new_thread 1188 arch/powerpc/kernel/process.c last = _switch(old_thread, new_thread); new_thread 282 arch/powerpc/mm/book3s64/pkeys.c void thread_pkey_regs_restore(struct thread_struct *new_thread, new_thread 288 arch/powerpc/mm/book3s64/pkeys.c if (old_thread->amr != new_thread->amr) new_thread 289 arch/powerpc/mm/book3s64/pkeys.c write_amr(new_thread->amr); new_thread 290 arch/powerpc/mm/book3s64/pkeys.c if (old_thread->iamr != new_thread->iamr) new_thread 291 arch/powerpc/mm/book3s64/pkeys.c write_iamr(new_thread->iamr); new_thread 292 arch/powerpc/mm/book3s64/pkeys.c if (old_thread->uamor != new_thread->uamor) new_thread 293 arch/powerpc/mm/book3s64/pkeys.c write_uamor(new_thread->uamor); new_thread 289 arch/um/include/shared/os.h extern void new_thread(void *stack, jmp_buf *buf, void (*handler)(void)); new_thread 182 arch/um/kernel/process.c new_thread(task_stack_page(p), &p->thread.switch_buf, handler); new_thread 4631 drivers/android/binder.c struct binder_proc *proc, struct binder_thread *new_thread) new_thread 4648 drivers/android/binder.c if (!new_thread) new_thread 4650 drivers/android/binder.c thread = new_thread; new_thread 4664 drivers/android/binder.c INIT_LIST_HEAD(&new_thread->waiting_thread_node); new_thread 4671 drivers/android/binder.c struct binder_thread *new_thread; new_thread 4677 drivers/android/binder.c new_thread = kzalloc(sizeof(*thread), GFP_KERNEL); new_thread 4678 drivers/android/binder.c if (new_thread == NULL) new_thread 4681 drivers/android/binder.c thread = binder_get_thread_ilocked(proc, new_thread); new_thread 4683 drivers/android/binder.c if (thread != new_thread) new_thread 4684 drivers/android/binder.c kfree(new_thread);