Lines Matching defs:thread
312 md_wakeup_thread(mddev->thread);
330 * Wake up any possible resync thread that waits for the device
906 * thread state
981 struct md_thread *thread;
997 /* daemon thread must exist while handling io */
998 thread = rcu_dereference_protected(conf->mddev->thread, true);
1004 if (thread->tsk == current) {
1120 md_wakeup_thread(mddev->thread);
1141 * 1. Register the new request and wait if the reconstruction thread has put
1320 md_wakeup_thread(mddev->thread);
1449 md_wakeup_thread(mddev->thread);
2719 * This is a kernel thread which:
3093 md_wakeup_thread(conf->mddev->thread);
3103 static void raid10d(struct md_thread *thread)
3105 struct mddev *mddev = thread->mddev;
4124 rcu_assign_pointer(conf->thread,
4126 if (!conf->thread)
4170 rcu_assign_pointer(mddev->thread, conf->thread);
4171 rcu_assign_pointer(conf->thread, NULL);
4323 md_unregister_thread(mddev, &mddev->thread);
4904 md_wakeup_thread(mddev->thread);