Lines Matching refs:check_state
155 return sh->check_state || sh->reconstruct_state || in stripe_operations_active()
1468 if (sh->check_state == check_state_compute_run) in ops_complete_compute()
1469 sh->check_state = check_state_compute_result; in ops_complete_compute()
2143 sh->check_state = check_state_check_result; in ops_complete_check()
2265 if (sh->check_state == check_state_run) in raid_run_ops()
2267 else if (sh->check_state == check_state_run_q) in raid_run_ops()
2269 else if (sh->check_state == check_state_run_pq) in raid_run_ops()
3930 if (!test_bit(STRIPE_COMPUTE_RUN, &sh->state) && !sh->check_state && in handle_stripe_fill()
4248 switch (sh->check_state) { in handle_parity_checks5()
4253 sh->check_state = check_state_run; in handle_parity_checks5()
4262 sh->check_state = check_state_idle; in handle_parity_checks5()
4284 sh->check_state = check_state_idle; in handle_parity_checks5()
4312 sh->check_state = check_state_compute_run; in handle_parity_checks5()
4327 __func__, sh->check_state, in handle_parity_checks5()
4352 switch (sh->check_state) { in handle_parity_checks6()
4360 sh->check_state = check_state_run; in handle_parity_checks6()
4366 if (sh->check_state == check_state_run) in handle_parity_checks6()
4367 sh->check_state = check_state_run_pq; in handle_parity_checks6()
4369 sh->check_state = check_state_run_q; in handle_parity_checks6()
4375 if (sh->check_state == check_state_run) { in handle_parity_checks6()
4380 if (sh->check_state >= check_state_run && in handle_parity_checks6()
4381 sh->check_state <= check_state_run_pq) { in handle_parity_checks6()
4393 sh->check_state = check_state_idle; in handle_parity_checks6()
4444 sh->check_state = check_state_idle; in handle_parity_checks6()
4459 sh->check_state = check_state_compute_result; in handle_parity_checks6()
4481 sh->check_state = check_state_compute_run; in handle_parity_checks6()
4504 __func__, sh->check_state, in handle_parity_checks6()
4847 sh->check_state = head_sh->check_state; in break_stripe_batch_list()
4928 sh->check_state, sh->reconstruct_state); in handle_stripe()
4970 sh->check_state = 0; in handle_stripe()
5073 if (!sh->reconstruct_state && !sh->check_state && !sh->log_io) { in handle_stripe()
5108 if (sh->check_state || in handle_stripe()