Lines Matching defs:thread
36 /* wake up reclaim thread periodically */
603 md_wakeup_thread(log->rdev->mddev->thread);
1327 * directly call md_update_sb() or depend on md thread) must hold
1330 * for all IO finish, hence waiting for reclaim thread, while reclaim
1331 * thread is calling this function and waiting for reconfig mutex. So
1493 md_wakeup_thread(conf->mddev->thread);
1521 md_wakeup_thread(log->rdev->mddev->thread);
1548 static void r5l_reclaim_thread(struct md_thread *thread)
1550 struct mddev *mddev = thread->mddev;
1579 struct md_thread *thread = rcu_dereference_protected(
1585 kthread_park(thread->tsk);
1589 kthread_unpark(thread->tsk);
2779 md_wakeup_thread(conf->mddev->thread);
2835 md_wakeup_thread(conf->mddev->thread);
3066 struct md_thread *thread;
3125 thread = md_register_thread(r5l_reclaim_thread, log->rdev->mddev,
3127 if (!thread)
3130 thread->timeout = R5C_RECLAIM_WAKEUP_INTERVAL;
3131 rcu_assign_pointer(log->reclaim_thread, thread);