Lines Matching refs:in_sync
1488 if (mddev->in_sync)
1994 * be in_sync with rest of array.
2029 if (mddev->in_sync)
2534 if (!mddev->in_sync) {
2539 if (!mddev->in_sync &&
2541 mddev->in_sync = 1;
2543 * Ensure ->in_sync is visible before we clear
2555 return mddev->in_sync;
2718 sync_req = mddev->in_sync;
2723 && (mddev->in_sync && mddev->recovery_cp == MaxSector)
2752 mdname(mddev), mddev->in_sync);
2788 if (mddev->in_sync != sync_req ||
2876 len += sprintf(page+len, "in_sync%s", sep);
4005 mddev->in_sync = 0;
4057 * it must always be in_sync
4059 mddev->in_sync = 1;
4374 else if (mddev->in_sync)
6222 mddev->in_sync = 1;
6393 mddev->in_sync = 0;
6420 ((!mddev->in_sync && !mddev_is_clustered(mddev)) ||
6424 mddev->in_sync = 1;
6772 if (mddev->in_sync)
8676 if (mddev->in_sync || mddev->sync_checkers) {
8678 if (mddev->in_sync) {
8679 mddev->in_sync = 0;
8709 WARN_ON_ONCE(mddev->in_sync || !md_is_rdwr(mddev));
8823 if (mddev->in_sync) {
8824 mddev->in_sync = 0;
9482 * - add already-in_sync devices if the array itself is in-sync.
9610 && !mddev->in_sync && mddev->recovery_cp == MaxSector)
9628 if (!mddev->external && mddev->in_sync)
9673 if (try_set_sync && !mddev->external && !mddev->in_sync) {