Lines Matching refs:in_sync
1503 if (mddev->in_sync) in super_90_sync()
2022 if (mddev->in_sync) in super_1_sync()
2602 if (!mddev->in_sync) { in set_in_sync()
2607 if (!mddev->in_sync && in set_in_sync()
2609 mddev->in_sync = 1; in set_in_sync()
2623 return mddev->in_sync; in set_in_sync()
2786 sync_req = mddev->in_sync; in md_update_sb()
2791 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
2820 mdname(mddev), mddev->in_sync); in md_update_sb()
2863 if (mddev->in_sync != sync_req || in md_update_sb()
4071 mddev->in_sync = 0; in level_store()
4125 mddev->in_sync = 1; in level_store()
4415 else if (mddev->in_sync) in array_state_show()
6049 mddev->in_sync = 1; in md_run()
6212 mddev->in_sync = 0; in md_clean()
6246 ((!mddev->in_sync && !mddev_is_clustered(mddev)) || in __md_stop_writes()
6250 mddev->in_sync = 1; in __md_stop_writes()
6627 if (mddev->in_sync) in get_array_info()
8535 if (mddev->in_sync || mddev->sync_checkers) { in md_write_start()
8537 if (mddev->in_sync) { in md_write_start()
8538 mddev->in_sync = 0; in md_write_start()
8574 WARN_ON_ONCE(mddev->in_sync || mddev->ro); in md_write_inc()
8612 if (mddev->in_sync) { in md_allow_write()
8613 mddev->in_sync = 0; in md_allow_write()
9232 && !mddev->in_sync && mddev->recovery_cp == MaxSector) in md_check_recovery()
9245 if (!mddev->external && mddev->in_sync) in md_check_recovery()
9284 if (try_set_sync && !mddev->external && !mddev->in_sync) { in md_check_recovery()