Lines Matching refs:check_state

245 	return sh->check_state || sh->reconstruct_state ||  in stripe_operations_active()
1266 if (sh->check_state == check_state_compute_run) in ops_complete_compute()
1267 sh->check_state = check_state_compute_result; in ops_complete_compute()
1851 sh->check_state = check_state_check_result; in ops_complete_check()
1962 if (sh->check_state == check_state_run) in raid_run_ops()
1964 else if (sh->check_state == check_state_run_q) in raid_run_ops()
1966 else if (sh->check_state == check_state_run_pq) in raid_run_ops()
3432 if (!test_bit(STRIPE_COMPUTE_RUN, &sh->state) && !sh->check_state && in handle_stripe_fill()
3689 switch (sh->check_state) { in handle_parity_checks5()
3694 sh->check_state = check_state_run; in handle_parity_checks5()
3703 sh->check_state = check_state_idle; in handle_parity_checks5()
3725 sh->check_state = check_state_idle; in handle_parity_checks5()
3748 sh->check_state = check_state_compute_run; in handle_parity_checks5()
3763 __func__, sh->check_state, in handle_parity_checks5()
3788 switch (sh->check_state) { in handle_parity_checks6()
3796 sh->check_state = check_state_run; in handle_parity_checks6()
3802 if (sh->check_state == check_state_run) in handle_parity_checks6()
3803 sh->check_state = check_state_run_pq; in handle_parity_checks6()
3805 sh->check_state = check_state_run_q; in handle_parity_checks6()
3811 if (sh->check_state == check_state_run) { in handle_parity_checks6()
3816 if (sh->check_state >= check_state_run && in handle_parity_checks6()
3817 sh->check_state <= check_state_run_pq) { in handle_parity_checks6()
3829 sh->check_state = check_state_idle; in handle_parity_checks6()
3872 sh->check_state = check_state_idle; in handle_parity_checks6()
3887 sh->check_state = check_state_compute_result; in handle_parity_checks6()
3904 sh->check_state = check_state_compute_run; in handle_parity_checks6()
3927 __func__, sh->check_state, in handle_parity_checks6()
4253 sh->check_state = head_sh->check_state; in break_stripe_batch_list()
4324 sh->check_state, sh->reconstruct_state); in handle_stripe()
4357 sh->check_state = 0; in handle_stripe()
4445 if (s.to_write && !sh->reconstruct_state && !sh->check_state) in handle_stripe()
4453 if (sh->check_state || in handle_stripe()