Lines Matching refs:check_state
241 return sh->check_state || sh->reconstruct_state || in stripe_operations_active()
1268 if (sh->check_state == check_state_compute_run) in ops_complete_compute()
1269 sh->check_state = check_state_compute_result; in ops_complete_compute()
1853 sh->check_state = check_state_check_result; in ops_complete_check()
1964 if (sh->check_state == check_state_run) in raid_run_ops()
1966 else if (sh->check_state == check_state_run_q) in raid_run_ops()
1968 else if (sh->check_state == check_state_run_pq) in raid_run_ops()
3436 if (!test_bit(STRIPE_COMPUTE_RUN, &sh->state) && !sh->check_state && in handle_stripe_fill()
3695 switch (sh->check_state) { in handle_parity_checks5()
3700 sh->check_state = check_state_run; in handle_parity_checks5()
3709 sh->check_state = check_state_idle; in handle_parity_checks5()
3731 sh->check_state = check_state_idle; in handle_parity_checks5()
3754 sh->check_state = check_state_compute_run; in handle_parity_checks5()
3769 __func__, sh->check_state, in handle_parity_checks5()
3794 switch (sh->check_state) { in handle_parity_checks6()
3802 sh->check_state = check_state_run; in handle_parity_checks6()
3808 if (sh->check_state == check_state_run) in handle_parity_checks6()
3809 sh->check_state = check_state_run_pq; in handle_parity_checks6()
3811 sh->check_state = check_state_run_q; in handle_parity_checks6()
3817 if (sh->check_state == check_state_run) { in handle_parity_checks6()
3822 if (sh->check_state >= check_state_run && in handle_parity_checks6()
3823 sh->check_state <= check_state_run_pq) { in handle_parity_checks6()
3835 sh->check_state = check_state_idle; in handle_parity_checks6()
3878 sh->check_state = check_state_idle; in handle_parity_checks6()
3893 sh->check_state = check_state_compute_result; in handle_parity_checks6()
3910 sh->check_state = check_state_compute_run; in handle_parity_checks6()
3933 __func__, sh->check_state, in handle_parity_checks6()
4262 sh->check_state = head_sh->check_state; in break_stripe_batch_list()
4333 sh->check_state, sh->reconstruct_state); in handle_stripe()
4369 sh->check_state = 0; in handle_stripe()
4457 if (s.to_write && !sh->reconstruct_state && !sh->check_state) in handle_stripe()
4465 if (sh->check_state || in handle_stripe()