Lines Matching refs:check_state

163 	return sh->check_state || sh->reconstruct_state ||  in stripe_operations_active()
1390 if (sh->check_state == check_state_compute_run) in ops_complete_compute()
1391 sh->check_state = check_state_compute_result; in ops_complete_compute()
2002 sh->check_state = check_state_check_result; in ops_complete_check()
2116 if (sh->check_state == check_state_run) in raid_run_ops()
2118 else if (sh->check_state == check_state_run_q) in raid_run_ops()
2120 else if (sh->check_state == check_state_run_pq) in raid_run_ops()
3712 if (!test_bit(STRIPE_COMPUTE_RUN, &sh->state) && !sh->check_state && in handle_stripe_fill()
4034 switch (sh->check_state) { in handle_parity_checks5()
4039 sh->check_state = check_state_run; in handle_parity_checks5()
4048 sh->check_state = check_state_idle; in handle_parity_checks5()
4070 sh->check_state = check_state_idle; in handle_parity_checks5()
4098 sh->check_state = check_state_compute_run; in handle_parity_checks5()
4113 __func__, sh->check_state, in handle_parity_checks5()
4138 switch (sh->check_state) { in handle_parity_checks6()
4146 sh->check_state = check_state_run; in handle_parity_checks6()
4152 if (sh->check_state == check_state_run) in handle_parity_checks6()
4153 sh->check_state = check_state_run_pq; in handle_parity_checks6()
4155 sh->check_state = check_state_run_q; in handle_parity_checks6()
4161 if (sh->check_state == check_state_run) { in handle_parity_checks6()
4166 if (sh->check_state >= check_state_run && in handle_parity_checks6()
4167 sh->check_state <= check_state_run_pq) { in handle_parity_checks6()
4179 sh->check_state = check_state_idle; in handle_parity_checks6()
4222 sh->check_state = check_state_idle; in handle_parity_checks6()
4237 sh->check_state = check_state_compute_result; in handle_parity_checks6()
4259 sh->check_state = check_state_compute_run; in handle_parity_checks6()
4282 __func__, sh->check_state, in handle_parity_checks6()
4625 sh->check_state = head_sh->check_state; in break_stripe_batch_list()
4701 sh->check_state, sh->reconstruct_state); in handle_stripe()
4743 sh->check_state = 0; in handle_stripe()
4846 if (!sh->reconstruct_state && !sh->check_state && !sh->log_io) { in handle_stripe()
4881 if (sh->check_state || in handle_stripe()