Lines Matching refs:md_thread
345 struct md_thread *thread; /* management thread */
346 struct md_thread *sync_thread; /* doing resync or reconstruct */
569 * start up works that do NOT require md_thread. tasks that
570 * requires md_thread should go into start()
676 struct md_thread {
677 void (*run) (struct md_thread *thread);
700 extern struct md_thread *md_register_thread(
701 void (*run)(struct md_thread *thread),
704 extern void md_unregister_thread(struct md_thread **threadp);
705 extern void md_wakeup_thread(struct md_thread *thread);
723 extern void md_do_sync(struct md_thread *thread);