Lines Matching refs:locked
2876 s->locked++; in schedule_reconstruction()
2884 if (!s->locked) in schedule_reconstruction()
2894 if (s->locked + conf->max_degraded == disks) in schedule_reconstruction()
2915 s->locked++; in schedule_reconstruction()
2918 if (!s->locked) in schedule_reconstruction()
2932 s->locked++; in schedule_reconstruction()
2940 s->locked++; in schedule_reconstruction()
2945 s->locked, s->ops_request); in schedule_reconstruction()
3410 s->locked++; in fetch_block()
3620 s->locked++; in handle_stripe_dirtying()
3647 s->locked++; in handle_stripe_dirtying()
3676 (s->locked == 0 && (rcw == 0 || rmw == 0) && in handle_stripe_dirtying()
3716 s->locked++; in handle_parity_checks5()
3841 s->locked++; in handle_parity_checks6()
3847 s->locked++; in handle_parity_checks6()
3853 s->locked++; in handle_parity_checks6()
3859 s->locked++; in handle_parity_checks6()
4043 s->locked++; in analyse_stripe()
4351 s.locked, s.uptodate, s.to_read, s.to_write, s.failed, in handle_stripe()
4454 (s.syncing && s.locked == 0 && in handle_stripe()
4463 if ((s.replacing || s.syncing) && s.locked == 0 in handle_stripe()
4472 s.locked++; in handle_stripe()
4478 if ((s.syncing || s.replacing) && s.locked == 0 && in handle_stripe()
4501 s.locked++; in handle_stripe()
4506 s.locked++; in handle_stripe()
4535 s.locked++; in handle_stripe()
4545 } else if (s.expanded && !sh->reconstruct_state && s.locked == 0) { in handle_stripe()
4552 if (s.expanding && s.locked == 0 && in handle_stripe()