Lines Matching refs:in_sync
1445 if (mddev->in_sync)
1924 * be in_sync with rest of array.
1961 if (mddev->in_sync)
2546 if (!mddev->in_sync) {
2551 if (!mddev->in_sync &&
2553 mddev->in_sync = 1;
2555 * Ensure ->in_sync is visible before we clear
2567 return mddev->in_sync;
2730 sync_req = mddev->in_sync;
2735 && (mddev->in_sync && mddev->recovery_cp == MaxSector)
2764 mdname(mddev), mddev->in_sync);
2805 if (mddev->in_sync != sync_req ||
2898 len += sprintf(page+len, "in_sync%s", sep);
4009 mddev->in_sync = 0;
4061 * it must always be in_sync
4063 mddev->in_sync = 1;
4352 else if (mddev->in_sync)
6009 mddev->in_sync = 1;
6172 mddev->in_sync = 0;
6207 ((!mddev->in_sync && !mddev_is_clustered(mddev)) ||
6211 mddev->in_sync = 1;
6585 if (mddev->in_sync)
8520 if (mddev->in_sync || mddev->sync_checkers) {
8522 if (mddev->in_sync) {
8523 mddev->in_sync = 0;
8559 WARN_ON_ONCE(mddev->in_sync || mddev->ro);
8670 if (mddev->in_sync) {
8671 mddev->in_sync = 0;
9289 && !mddev->in_sync && mddev->recovery_cp == MaxSector)
9302 if (!mddev->external && mddev->in_sync)
9312 * - add already-in_sync devices if the array itself
9342 if (try_set_sync && !mddev->external && !mddev->in_sync) {