Lines Matching refs:md_thread
6145 /* run start up tasks that require md_thread */
7938 static int md_thread(void *arg)
7940 struct md_thread *thread = arg;
7943 * md_thread is a 'system-thread', it's priority should be very
7981 void md_wakeup_thread(struct md_thread *thread)
7991 struct md_thread *md_register_thread(void (*run) (struct md_thread *),
7994 struct md_thread *thread;
7996 thread = kzalloc(sizeof(struct md_thread), GFP_KERNEL);
8005 thread->tsk = kthread_run(md_thread, thread,
8017 void md_unregister_thread(struct md_thread **threadp)
8019 struct md_thread *thread;
8678 void md_do_sync(struct md_thread *thread)