Lines Matching refs:locked
2874 s->locked++; in schedule_reconstruction()
2882 if (!s->locked) in schedule_reconstruction()
2892 if (s->locked + conf->max_degraded == disks) in schedule_reconstruction()
2913 s->locked++; in schedule_reconstruction()
2916 if (!s->locked) in schedule_reconstruction()
2930 s->locked++; in schedule_reconstruction()
2938 s->locked++; in schedule_reconstruction()
2943 s->locked, s->ops_request); in schedule_reconstruction()
3414 s->locked++; in fetch_block()
3626 s->locked++; in handle_stripe_dirtying()
3653 s->locked++; in handle_stripe_dirtying()
3682 (s->locked == 0 && (rcw == 0 || rmw == 0) && in handle_stripe_dirtying()
3722 s->locked++; in handle_parity_checks5()
3847 s->locked++; in handle_parity_checks6()
3853 s->locked++; in handle_parity_checks6()
3859 s->locked++; in handle_parity_checks6()
3865 s->locked++; in handle_parity_checks6()
4050 s->locked++; in analyse_stripe()
4363 s.locked, s.uptodate, s.to_read, s.to_write, s.failed, in handle_stripe()
4466 (s.syncing && s.locked == 0 && in handle_stripe()
4475 if ((s.replacing || s.syncing) && s.locked == 0 in handle_stripe()
4484 s.locked++; in handle_stripe()
4490 if ((s.syncing || s.replacing) && s.locked == 0 && in handle_stripe()
4513 s.locked++; in handle_stripe()
4518 s.locked++; in handle_stripe()
4547 s.locked++; in handle_stripe()
4557 } else if (s.expanded && !sh->reconstruct_state && s.locked == 0) { in handle_stripe()
4564 if (s.expanding && s.locked == 0 && in handle_stripe()