Lines Matching refs:md_thread
92 static void md_wakeup_thread_directly(struct md_thread __rcu *thread);
442 struct md_thread *thread = rcu_dereference_protected(mddev->thread, in mddev_suspend()
7909 static int md_thread(void *arg) in md_thread() function
7911 struct md_thread *thread = arg; in md_thread()
7952 static void md_wakeup_thread_directly(struct md_thread __rcu *thread) in md_wakeup_thread_directly()
7954 struct md_thread *t; in md_wakeup_thread_directly()
7963 void md_wakeup_thread(struct md_thread __rcu *thread) in md_wakeup_thread()
7965 struct md_thread *t; in md_wakeup_thread()
7978 struct md_thread *md_register_thread(void (*run) (struct md_thread *), in md_register_thread() argument
7981 struct md_thread *thread; in md_register_thread()
7983 thread = kzalloc(sizeof(struct md_thread), GFP_KERNEL); in md_register_thread()
7992 thread->tsk = kthread_run(md_thread, thread, in md_register_thread()
8004 void md_unregister_thread(struct mddev *mddev, struct md_thread __rcu **threadp) in md_unregister_thread()
8006 struct md_thread *thread = rcu_dereference_protected(*threadp, in md_unregister_thread()
8744 void md_do_sync(struct md_thread *thread) in md_do_sync()