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,
6149 /* run start up tasks that require md_thread */
7966 static int md_thread(void *arg)
7968 struct md_thread *thread = arg;
7971 * md_thread is a 'system-thread', it's priority should be very
8009 static void md_wakeup_thread_directly(struct md_thread __rcu *thread)
8011 struct md_thread *t;
8020 void md_wakeup_thread(struct md_thread __rcu *thread)
8022 struct md_thread *t;
8035 struct md_thread *md_register_thread(void (*run) (struct md_thread *),
8038 struct md_thread *thread;
8040 thread = kzalloc(sizeof(struct md_thread), GFP_KERNEL);
8049 thread->tsk = kthread_run(md_thread, thread,
8061 void md_unregister_thread(struct mddev *mddev, struct md_thread __rcu **threadp)
8063 struct md_thread *thread = rcu_dereference_protected(*threadp,
8802 void md_do_sync(struct md_thread *thread)