Lines Matching defs:md_thread
102 static void md_wakeup_thread_directly(struct md_thread __rcu **thread);
6671 /* run start up tasks that require md_thread */
8427 static int md_thread(void *arg)
8429 struct md_thread *thread = arg;
8432 * md_thread is a 'system-thread', it's priority should be very
8470 static void md_wakeup_thread_directly(struct md_thread __rcu **thread)
8472 struct md_thread *t;
8481 void __md_wakeup_thread(struct md_thread __rcu *thread)
8483 struct md_thread *t;
8495 struct md_thread *md_register_thread(void (*run) (struct md_thread *),
8498 struct md_thread *thread;
8500 thread = kzalloc(sizeof(struct md_thread), GFP_KERNEL);
8509 thread->tsk = kthread_run(md_thread, thread,
8521 void md_unregister_thread(struct mddev *mddev, struct md_thread __rcu **threadp)
8523 struct md_thread *thread = rcu_dereference_protected(*threadp,
9397 void md_do_sync(struct md_thread *thread)