Home
last modified time | relevance | path

Searched refs:sync_thread (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/
H A Dmd.c533 md_wakeup_thread(mddev->sync_thread); /* possibly kick off a reshape */ in mddev_resume()
3349 if (mddev->sync_thread || in new_offset_store()
4006 if (mddev->sync_thread || in level_store()
4897 if (mddev->sync_thread) { in action_store()
4951 md_wakeup_thread(mddev->sync_thread); in action_store()
5064 if (mddev->sync_thread) in sync_force_parallel_store()
6149 md_wakeup_thread(mddev->sync_thread); /* possibly kick off a reshape */ in do_md_run()
6173 md_wakeup_thread(mddev->sync_thread); in md_start()
6216 md_wakeup_thread(mddev->sync_thread); in restart_array()
6275 if (mddev->sync_thread) { in __md_stop_writes()
[all...]
H A Dmd.h346 struct md_thread *sync_thread; /* doing resync or reconstruct */ member
H A Draid10.c3925 mddev->sync_thread = md_register_thread(md_do_sync, mddev, in raid10_run()
3927 if (!mddev->sync_thread) in raid10_run()
4327 mddev->sync_thread = md_register_thread(md_do_sync, mddev, in raid10_start_reshape()
4329 if (!mddev->sync_thread) { in raid10_start_reshape()
4334 md_wakeup_thread(mddev->sync_thread); in raid10_start_reshape()
H A Ddm-raid.c3692 if (mddev->sync_thread) { in raid_message()
3718 if (!mddev->suspended && mddev->sync_thread) in raid_message()
3719 md_wakeup_thread(mddev->sync_thread); in raid_message()
H A Draid5.c6716 if (mddev->sync_thread || in raid5_store_stripe_size()
7695 mddev->sync_thread = md_register_thread(md_do_sync, mddev, in raid5_run()
7697 if (!mddev->sync_thread) in raid5_run()
8258 mddev->sync_thread = md_register_thread(md_do_sync, mddev, in raid5_start_reshape()
8260 if (!mddev->sync_thread) { in raid5_start_reshape()
8279 md_wakeup_thread(mddev->sync_thread); in raid5_start_reshape()
H A Dmd-cluster.c328 md_wakeup_thread(mddev->sync_thread); in recover_bitmaps()
H A Dmd-bitmap.c2291 if (mddev->recovery || mddev->sync_thread) { in location_store()
/kernel/linux/linux-6.6/drivers/md/
H A Dmd.c479 md_wakeup_thread(mddev->sync_thread); /* possibly kick off a reshape */ in mddev_resume()
3274 if (mddev->sync_thread || in new_offset_store()
3950 if (mddev->sync_thread || in level_store()
4835 md_wakeup_thread_directly(mddev->sync_thread); in stop_sync_thread()
4860 wait_event(resync_wait, mddev->sync_thread == NULL && in frozen_sync_thread()
4925 md_wakeup_thread(mddev->sync_thread); in action_store()
5038 if (mddev->sync_thread) in sync_force_parallel_store()
6153 md_wakeup_thread(mddev->sync_thread); /* possibly kick off a reshape */ in do_md_run()
6176 md_wakeup_thread(mddev->sync_thread); in md_start()
6219 md_wakeup_thread(mddev->sync_thread); in restart_array()
[all...]
H A Dmd.h372 struct md_thread __rcu *sync_thread; /* doing resync or reconstruct */ member
H A Draid10.c4314 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()
H A Draid5.c7051 if (mddev->sync_thread || in raid5_store_stripe_size()
8037 rcu_assign_pointer(mddev->sync_thread, in raid5_run()
8039 if (!mddev->sync_thread) in raid5_run()
8620 rcu_assign_pointer(mddev->sync_thread, in raid5_start_reshape()
8622 if (!mddev->sync_thread) { in raid5_start_reshape()
8641 md_wakeup_thread(mddev->sync_thread); in raid5_start_reshape()
H A Ddm-raid.c3724 if (mddev->sync_thread) { in raid_message()
3751 md_wakeup_thread(mddev->sync_thread); in raid_message()
H A Dmd-cluster.c328 md_wakeup_thread(mddev->sync_thread); in recover_bitmaps()
H A Dmd-bitmap.c2362 if (mddev->recovery || mddev->sync_thread) { in location_store()
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_core.h419 struct task_struct *sync_thread; member
H A Dvchiq_core.c2248 state->sync_thread = kthread_create(&sync_func, in vchiq_init_state()
2251 if (IS_ERR(state->sync_thread)) { in vchiq_init_state()
2257 set_user_nice(state->sync_thread, -20); in vchiq_init_state()
2261 wake_up_process(state->sync_thread); in vchiq_init_state()
/kernel/linux/linux-6.6/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_core.h362 struct task_struct *sync_thread; member
H A Dvchiq_core.c2279 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()

Completed in 80 milliseconds