Lines Matching refs:in_sync
1377 if (mddev->in_sync) in super_90_sync()
1884 if (mddev->in_sync) in super_1_sync()
2429 if (!mddev->in_sync) { in set_in_sync()
2434 if (!mddev->in_sync && in set_in_sync()
2436 mddev->in_sync = 1; in set_in_sync()
2450 return mddev->in_sync; in set_in_sync()
2611 sync_req = mddev->in_sync; in md_update_sb()
2616 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
2645 mdname(mddev), mddev->in_sync); in md_update_sb()
2688 if (mddev->in_sync != sync_req || in md_update_sb()
3880 mddev->in_sync = 0; in level_store()
3932 mddev->in_sync = 1; in level_store()
4214 else if (mddev->in_sync) in array_state_show()
5783 mddev->in_sync = 1; in md_run()
5946 mddev->in_sync = 0; in md_clean()
5979 ((!mddev->in_sync && !mddev_is_clustered(mddev)) || in __md_stop_writes()
5983 mddev->in_sync = 1; in __md_stop_writes()
6360 if (mddev->in_sync) in get_array_info()
8261 if (mddev->in_sync || mddev->sync_checkers) { in md_write_start()
8263 if (mddev->in_sync) { in md_write_start()
8264 mddev->in_sync = 0; in md_write_start()
8300 WARN_ON_ONCE(mddev->in_sync || mddev->ro); in md_write_inc()
8338 if (mddev->in_sync) { in md_allow_write()
8339 mddev->in_sync = 0; in md_allow_write()
8959 && !mddev->in_sync && mddev->recovery_cp == MaxSector) in md_check_recovery()
8972 if (!mddev->external && mddev->in_sync) in md_check_recovery()
9011 if (try_set_sync && !mddev->external && !mddev->in_sync) { in md_check_recovery()