Lines Matching refs:wait_event
322 wait_event(mddev->sb_wait, atomic_read(&mddev->active_io) == 0); in mddev_suspend()
759 wait_event(mddev->sb_wait, atomic_read(&mddev->pending_writes)==0); in md_super_wait()
5493 wait_event(bitmap->behind_wait, in mddev_detach()
5556 wait_event(resync_wait, !test_bit(MD_RECOVERY_RUNNING, in md_set_readonly()
5558 wait_event(mddev->sb_wait, in md_set_readonly()
5619 wait_event(resync_wait, (mddev->sync_thread == NULL && in do_md_stop()
6934 wait_event(mddev->sb_wait, in md_ioctl()
7695 wait_event(mddev->sb_wait, in md_write_start()
7957 wait_event(mddev->recovery_wait, in md_do_sync()
8054 wait_event(mddev->recovery_wait, in md_do_sync()
8066 wait_event(mddev->recovery_wait, !atomic_read(&mddev->recovery_active)); in md_do_sync()