Home
last modified time | relevance | path

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

/linux/drivers/md/dm-vdo/
H A Dthread-registry.c26 struct registered_thread *new_thread, const void *pointer) in vdo_register_thread() argument
31 INIT_LIST_HEAD(&new_thread->links); in vdo_register_thread()
32 new_thread->pointer = pointer; in vdo_register_thread()
33 new_thread->task = current; in vdo_register_thread()
44 list_add_tail_rcu(&new_thread->links, &registry->links); in vdo_register_thread()
H A Dthread-device.c12 void vdo_register_thread_device_id(struct registered_thread *new_thread, in vdo_register_thread_device_id() argument
15 vdo_register_thread(&device_id_thread_registry, new_thread, id_ptr); in vdo_register_thread_device_id()
H A Dthread-utils.c51 const char *name, struct thread **new_thread) in vdo_create_thread() argument
95 *new_thread = thread; in vdo_create_thread()
H A Dthread-device.h11 void vdo_register_thread_device_id(struct registered_thread *new_thread,
H A Dthread-utils.h17 const char *name, struct thread **new_thread);
H A Dthread-registry.h26 struct registered_thread *new_thread, const void *pointer);
H A Dmemory-alloc.c40 void vdo_register_allocating_thread(struct registered_thread *new_thread, in vdo_register_allocating_thread() argument
49 vdo_register_thread(&allocating_threads, new_thread, flag_ptr); in vdo_register_allocating_thread()
H A Dmemory-alloc.h153 void vdo_register_allocating_thread(struct registered_thread *new_thread,
/linux/arch/powerpc/kernel/
H A Dprocess.c1227 struct thread_struct *new_thread) in restore_sprs() argument
1231 old_thread->vrsave != new_thread->vrsave) in restore_sprs()
1232 mtspr(SPRN_VRSAVE, new_thread->vrsave); in restore_sprs()
1236 old_thread->spefscr != new_thread->spefscr) in restore_sprs()
1237 mtspr(SPRN_SPEFSCR, new_thread->spefscr); in restore_sprs()
1242 if (new_thread->dscr_inherit) in restore_sprs()
1243 dscr = new_thread->dscr; in restore_sprs()
1250 if (old_thread->bescr != new_thread->bescr) in restore_sprs()
1251 mtspr(SPRN_BESCR, new_thread->bescr); in restore_sprs()
1252 if (old_thread->ebbhr != new_thread->ebbhr) in restore_sprs()
[all …]
/linux/arch/um/include/shared/
H A Dos.h293 extern void new_thread(void *stack, jmp_buf *buf, void (*handler)(void));
/linux/drivers/android/
H A Dbinder.c5164 struct binder_proc *proc, struct binder_thread *new_thread) in binder_get_thread_ilocked() argument
5181 if (!new_thread) in binder_get_thread_ilocked()
5183 thread = new_thread; in binder_get_thread_ilocked()
5198 INIT_LIST_HEAD(&new_thread->waiting_thread_node); in binder_get_thread_ilocked()
5205 struct binder_thread *new_thread; in binder_get_thread() local
5211 new_thread = kzalloc(sizeof(*thread), GFP_KERNEL); in binder_get_thread()
5212 if (new_thread == NULL) in binder_get_thread()
5215 thread = binder_get_thread_ilocked(proc, new_thread); in binder_get_thread()
5217 if (thread != new_thread) in binder_get_thread()
5218 kfree(new_thread); in binder_get_thread()