Searched refs:sync_thread (Results 1 – 9 of 9) sorted by relevance
3278 if (mddev->sync_thread || in new_offset_store()3954 if (mddev->sync_thread || in level_store()5042 if (mddev->sync_thread) in sync_force_parallel_store()6223 md_wakeup_thread(mddev->sync_thread); in restart_array()6290 if (mddev->sync_thread) { in __md_stop_writes()6406 mddev->sync_thread || in md_set_readonly()6471 mddev->sync_thread || in do_md_stop()7322 mddev->sync_thread) in update_size()7359 if (mddev->sync_thread || in update_raid_disks()9314 if (!mddev->sync_thread) { in md_start_sync()[all …]
372 struct md_thread __rcu *sync_thread; /* doing resync or reconstruct */ member
4314 rcu_assign_pointer(mddev->sync_thread, in raid10_run()4316 if (!mddev->sync_thread) in raid10_run()4715 rcu_assign_pointer(mddev->sync_thread, in raid10_start_reshape()4717 if (!mddev->sync_thread) { in raid10_start_reshape()4722 md_wakeup_thread(mddev->sync_thread); in raid10_start_reshape()
3724 if (mddev->sync_thread) { in raid_message()3751 md_wakeup_thread(mddev->sync_thread); in raid_message()
7048 if (mddev->sync_thread || in raid5_store_stripe_size()8034 rcu_assign_pointer(mddev->sync_thread, in raid5_run()8036 if (!mddev->sync_thread) in raid5_run()8617 rcu_assign_pointer(mddev->sync_thread, in raid5_start_reshape()8619 if (!mddev->sync_thread) { in raid5_start_reshape()8638 md_wakeup_thread(mddev->sync_thread); in raid5_start_reshape()
328 md_wakeup_thread(mddev->sync_thread); in recover_bitmaps()
2362 if (mddev->recovery || mddev->sync_thread) { in location_store()
362 struct task_struct *sync_thread; member
2279 state->sync_thread = kthread_create(&sync_func, (void *)state, threadname); in vchiq_init_state()2280 if (IS_ERR(state->sync_thread)) { in vchiq_init_state()2284 ret = PTR_ERR(state->sync_thread); in vchiq_init_state()2287 set_user_nice(state->sync_thread, -20); in vchiq_init_state()2291 wake_up_process(state->sync_thread); in vchiq_init_state()