Lines Matching refs:check_state
154 return sh->check_state || sh->reconstruct_state || in stripe_operations_active()
1467 if (sh->check_state == check_state_compute_run) in ops_complete_compute()
1468 sh->check_state = check_state_compute_result; in ops_complete_compute()
2142 sh->check_state = check_state_check_result; in ops_complete_check()
2264 if (sh->check_state == check_state_run) in raid_run_ops()
2266 else if (sh->check_state == check_state_run_q) in raid_run_ops()
2268 else if (sh->check_state == check_state_run_pq) in raid_run_ops()
3932 if (!test_bit(STRIPE_COMPUTE_RUN, &sh->state) && !sh->check_state && in handle_stripe_fill()
4250 switch (sh->check_state) { in handle_parity_checks5()
4255 sh->check_state = check_state_run; in handle_parity_checks5()
4264 sh->check_state = check_state_idle; in handle_parity_checks5()
4286 sh->check_state = check_state_idle; in handle_parity_checks5()
4314 sh->check_state = check_state_compute_run; in handle_parity_checks5()
4329 __func__, sh->check_state, in handle_parity_checks5()
4354 switch (sh->check_state) { in handle_parity_checks6()
4362 sh->check_state = check_state_run; in handle_parity_checks6()
4368 if (sh->check_state == check_state_run) in handle_parity_checks6()
4369 sh->check_state = check_state_run_pq; in handle_parity_checks6()
4371 sh->check_state = check_state_run_q; in handle_parity_checks6()
4377 if (sh->check_state == check_state_run) { in handle_parity_checks6()
4382 if (sh->check_state >= check_state_run && in handle_parity_checks6()
4383 sh->check_state <= check_state_run_pq) { in handle_parity_checks6()
4395 sh->check_state = check_state_idle; in handle_parity_checks6()
4446 sh->check_state = check_state_idle; in handle_parity_checks6()
4461 sh->check_state = check_state_compute_result; in handle_parity_checks6()
4483 sh->check_state = check_state_compute_run; in handle_parity_checks6()
4506 __func__, sh->check_state, in handle_parity_checks6()
4849 sh->check_state = head_sh->check_state; in break_stripe_batch_list()
4930 sh->check_state, sh->reconstruct_state); in handle_stripe()
4972 sh->check_state = 0; in handle_stripe()
5075 if (!sh->reconstruct_state && !sh->check_state && !sh->log_io) { in handle_stripe()
5110 if (sh->check_state || in handle_stripe()