Lines Matching refs:md_thread
109 static void md_wakeup_thread_directly(struct md_thread __rcu *thread);
8005 static int md_thread(void *arg) in md_thread() function
8007 struct md_thread *thread = arg; in md_thread()
8048 static void md_wakeup_thread_directly(struct md_thread __rcu *thread) in md_wakeup_thread_directly()
8050 struct md_thread *t; in md_wakeup_thread_directly()
8059 void md_wakeup_thread(struct md_thread __rcu *thread) in md_wakeup_thread()
8061 struct md_thread *t; in md_wakeup_thread()
8075 struct md_thread *md_register_thread(void (*run) (struct md_thread *), in md_register_thread() argument
8078 struct md_thread *thread; in md_register_thread()
8080 thread = kzalloc(sizeof(struct md_thread), GFP_KERNEL); in md_register_thread()
8089 thread->tsk = kthread_run(md_thread, thread, in md_register_thread()
8101 void md_unregister_thread(struct mddev *mddev, struct md_thread __rcu **threadp) in md_unregister_thread()
8103 struct md_thread *thread = rcu_dereference_protected(*threadp, in md_unregister_thread()
8915 void md_do_sync(struct md_thread *thread) in md_do_sync()