Lines Matching refs:check_state
166 return sh->check_state || sh->reconstruct_state || in stripe_operations_active()
1523 if (sh->check_state == check_state_compute_run) in ops_complete_compute()
1524 sh->check_state = check_state_compute_result; in ops_complete_compute()
2198 sh->check_state = check_state_check_result; in ops_complete_check()
2319 if (sh->check_state == check_state_run) in raid_run_ops()
2321 else if (sh->check_state == check_state_run_q) in raid_run_ops()
2323 else if (sh->check_state == check_state_run_pq) in raid_run_ops()
3956 if (!test_bit(STRIPE_COMPUTE_RUN, &sh->state) && !sh->check_state && in handle_stripe_fill()
4278 switch (sh->check_state) { in handle_parity_checks5()
4283 sh->check_state = check_state_run; in handle_parity_checks5()
4292 sh->check_state = check_state_idle; in handle_parity_checks5()
4313 sh->check_state = check_state_idle; in handle_parity_checks5()
4341 sh->check_state = check_state_compute_run; in handle_parity_checks5()
4356 __func__, sh->check_state, in handle_parity_checks5()
4381 switch (sh->check_state) { in handle_parity_checks6()
4389 sh->check_state = check_state_run; in handle_parity_checks6()
4395 if (sh->check_state == check_state_run) in handle_parity_checks6()
4396 sh->check_state = check_state_run_pq; in handle_parity_checks6()
4398 sh->check_state = check_state_run_q; in handle_parity_checks6()
4404 if (sh->check_state == check_state_run) { in handle_parity_checks6()
4409 if (sh->check_state >= check_state_run && in handle_parity_checks6()
4410 sh->check_state <= check_state_run_pq) { in handle_parity_checks6()
4422 sh->check_state = check_state_idle; in handle_parity_checks6()
4472 sh->check_state = check_state_idle; in handle_parity_checks6()
4487 sh->check_state = check_state_compute_result; in handle_parity_checks6()
4509 sh->check_state = check_state_compute_run; in handle_parity_checks6()
4532 __func__, sh->check_state, in handle_parity_checks6()
4878 sh->check_state = head_sh->check_state; in break_stripe_batch_list()
4956 sh->check_state, sh->reconstruct_state); in handle_stripe()
4999 sh->check_state = 0; in handle_stripe()
5102 if (!sh->reconstruct_state && !sh->check_state && !sh->log_io) { in handle_stripe()
5137 if (sh->check_state || in handle_stripe()