Home
last modified time | relevance | path

Searched refs:new_thread (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/arch/powerpc/mm/book3s64/
Dpkeys.c282 void thread_pkey_regs_restore(struct thread_struct *new_thread, in thread_pkey_regs_restore() argument
288 if (old_thread->amr != new_thread->amr) in thread_pkey_regs_restore()
289 write_amr(new_thread->amr); in thread_pkey_regs_restore()
290 if (old_thread->iamr != new_thread->iamr) in thread_pkey_regs_restore()
291 write_iamr(new_thread->iamr); in thread_pkey_regs_restore()
292 if (old_thread->uamor != new_thread->uamor) in thread_pkey_regs_restore()
293 write_uamor(new_thread->uamor); in thread_pkey_regs_restore()
/Linux-v5.4/arch/powerpc/kernel/
Dprocess.c1082 struct thread_struct *new_thread) in restore_sprs() argument
1086 old_thread->vrsave != new_thread->vrsave) in restore_sprs()
1087 mtspr(SPRN_VRSAVE, new_thread->vrsave); in restore_sprs()
1092 if (new_thread->dscr_inherit) in restore_sprs()
1093 dscr = new_thread->dscr; in restore_sprs()
1100 if (old_thread->bescr != new_thread->bescr) in restore_sprs()
1101 mtspr(SPRN_BESCR, new_thread->bescr); in restore_sprs()
1102 if (old_thread->ebbhr != new_thread->ebbhr) in restore_sprs()
1103 mtspr(SPRN_EBBHR, new_thread->ebbhr); in restore_sprs()
1104 if (old_thread->ebbrr != new_thread->ebbrr) in restore_sprs()
[all …]
/Linux-v5.4/arch/powerpc/include/asm/
Dpkeys.h206 extern void thread_pkey_regs_restore(struct thread_struct *new_thread,
Dmmu_context.h260 #define thread_pkey_regs_restore(new_thread, old_thread) argument
/Linux-v5.4/arch/um/kernel/
Dprocess.c182 new_thread(task_stack_page(p), &p->thread.switch_buf, handler); in copy_thread()
/Linux-v5.4/arch/um/include/shared/
Dos.h289 extern void new_thread(void *stack, jmp_buf *buf, void (*handler)(void));
/Linux-v5.4/arch/um/os-Linux/skas/
Dprocess.c551 void new_thread(void *stack, jmp_buf *buf, void (*handler)(void)) in new_thread() function
/Linux-v5.4/drivers/android/
Dbinder.c4631 struct binder_proc *proc, struct binder_thread *new_thread) in binder_get_thread_ilocked() argument
4648 if (!new_thread) in binder_get_thread_ilocked()
4650 thread = new_thread; in binder_get_thread_ilocked()
4664 INIT_LIST_HEAD(&new_thread->waiting_thread_node); in binder_get_thread_ilocked()
4671 struct binder_thread *new_thread; in binder_get_thread() local
4677 new_thread = kzalloc(sizeof(*thread), GFP_KERNEL); in binder_get_thread()
4678 if (new_thread == NULL) in binder_get_thread()
4681 thread = binder_get_thread_ilocked(proc, new_thread); in binder_get_thread()
4683 if (thread != new_thread) in binder_get_thread()
4684 kfree(new_thread); in binder_get_thread()