Lines Matching refs:in_sync
1438 if (mddev->in_sync) in super_90_sync()
1954 if (mddev->in_sync) in super_1_sync()
2505 if (!mddev->in_sync) { in set_in_sync()
2510 if (!mddev->in_sync && in set_in_sync()
2512 mddev->in_sync = 1; in set_in_sync()
2526 return mddev->in_sync; in set_in_sync()
2689 sync_req = mddev->in_sync; in md_update_sb()
2694 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
2723 mdname(mddev), mddev->in_sync); in md_update_sb()
2764 if (mddev->in_sync != sync_req || in md_update_sb()
3996 mddev->in_sync = 0; in level_store()
4050 mddev->in_sync = 1; in level_store()
4339 else if (mddev->in_sync) in array_state_show()
6042 mddev->in_sync = 1; in md_run()
6209 mddev->in_sync = 0; in md_clean()
6243 ((!mddev->in_sync && !mddev_is_clustered(mddev)) || in __md_stop_writes()
6247 mddev->in_sync = 1; in __md_stop_writes()
6631 if (mddev->in_sync) in get_array_info()
8585 if (mddev->in_sync || mddev->sync_checkers) { in md_write_start()
8587 if (mddev->in_sync) { in md_write_start()
8588 mddev->in_sync = 0; in md_write_start()
8624 WARN_ON_ONCE(mddev->in_sync || !md_is_rdwr(mddev)); in md_write_inc()
8723 if (mddev->in_sync) { in md_allow_write()
8724 mddev->in_sync = 0; in md_allow_write()
9343 && !mddev->in_sync && mddev->recovery_cp == MaxSector) in md_check_recovery()
9356 if (!mddev->external && mddev->in_sync) in md_check_recovery()
9395 if (try_set_sync && !mddev->external && !mddev->in_sync) { in md_check_recovery()