Lines Matching refs:thread
28 struct registered_thread *thread; in vdo_register_thread() local
36 list_for_each_entry(thread, ®istry->links, links) { in vdo_register_thread()
37 if (thread->task == current) { in vdo_register_thread()
39 list_del_rcu(&thread->links); in vdo_register_thread()
51 INIT_LIST_HEAD(&thread->links); in vdo_register_thread()
57 struct registered_thread *thread; in vdo_unregister_thread() local
61 list_for_each_entry(thread, ®istry->links, links) { in vdo_unregister_thread()
62 if (thread->task == current) { in vdo_unregister_thread()
63 list_del_rcu(&thread->links); in vdo_unregister_thread()
74 INIT_LIST_HEAD(&thread->links); in vdo_unregister_thread()
80 struct registered_thread *thread; in vdo_lookup_thread() local
84 list_for_each_entry_rcu(thread, ®istry->links, links) { in vdo_lookup_thread()
85 if (thread->task == current) { in vdo_lookup_thread()
86 result = thread->pointer; in vdo_lookup_thread()