Lines Matching refs:check_state

161 	return sh->check_state || sh->reconstruct_state ||  in stripe_operations_active()
1545 if (sh->check_state == check_state_compute_run) in ops_complete_compute()
1546 sh->check_state = check_state_compute_result; in ops_complete_compute()
2220 sh->check_state = check_state_check_result; in ops_complete_check()
2341 if (sh->check_state == check_state_run) in raid_run_ops()
2343 else if (sh->check_state == check_state_run_q) in raid_run_ops()
2345 else if (sh->check_state == check_state_run_pq) in raid_run_ops()
4041 if (!test_bit(STRIPE_COMPUTE_RUN, &sh->state) && !sh->check_state && in handle_stripe_fill()
4359 switch (sh->check_state) { in handle_parity_checks5()
4364 sh->check_state = check_state_run; in handle_parity_checks5()
4373 sh->check_state = check_state_idle; in handle_parity_checks5()
4395 sh->check_state = check_state_idle; in handle_parity_checks5()
4423 sh->check_state = check_state_compute_run; in handle_parity_checks5()
4438 __func__, sh->check_state, in handle_parity_checks5()
4463 switch (sh->check_state) { in handle_parity_checks6()
4471 sh->check_state = check_state_run; in handle_parity_checks6()
4477 if (sh->check_state == check_state_run) in handle_parity_checks6()
4478 sh->check_state = check_state_run_pq; in handle_parity_checks6()
4480 sh->check_state = check_state_run_q; in handle_parity_checks6()
4486 if (sh->check_state == check_state_run) { in handle_parity_checks6()
4491 if (sh->check_state >= check_state_run && in handle_parity_checks6()
4492 sh->check_state <= check_state_run_pq) { in handle_parity_checks6()
4504 sh->check_state = check_state_idle; in handle_parity_checks6()
4555 sh->check_state = check_state_idle; in handle_parity_checks6()
4570 sh->check_state = check_state_compute_result; in handle_parity_checks6()
4592 sh->check_state = check_state_compute_run; in handle_parity_checks6()
4615 __func__, sh->check_state, in handle_parity_checks6()
4959 sh->check_state = head_sh->check_state; in break_stripe_batch_list()
5040 sh->check_state, sh->reconstruct_state); in handle_stripe()
5082 sh->check_state = 0; in handle_stripe()
5185 if (!sh->reconstruct_state && !sh->check_state && !sh->log_io) { in handle_stripe()
5220 if (sh->check_state || in handle_stripe()