Lines Matching refs:check_state
154 return sh->check_state || sh->reconstruct_state || in stripe_operations_active()
1385 if (sh->check_state == check_state_compute_run) in ops_complete_compute()
1386 sh->check_state = check_state_compute_result; in ops_complete_compute()
1991 sh->check_state = check_state_check_result; in ops_complete_check()
2105 if (sh->check_state == check_state_run) in raid_run_ops()
2107 else if (sh->check_state == check_state_run_q) in raid_run_ops()
2109 else if (sh->check_state == check_state_run_pq) in raid_run_ops()
3719 if (!test_bit(STRIPE_COMPUTE_RUN, &sh->state) && !sh->check_state && in handle_stripe_fill()
4041 switch (sh->check_state) { in handle_parity_checks5()
4046 sh->check_state = check_state_run; in handle_parity_checks5()
4055 sh->check_state = check_state_idle; in handle_parity_checks5()
4077 sh->check_state = check_state_idle; in handle_parity_checks5()
4105 sh->check_state = check_state_compute_run; in handle_parity_checks5()
4120 __func__, sh->check_state, in handle_parity_checks5()
4145 switch (sh->check_state) { in handle_parity_checks6()
4153 sh->check_state = check_state_run; in handle_parity_checks6()
4159 if (sh->check_state == check_state_run) in handle_parity_checks6()
4160 sh->check_state = check_state_run_pq; in handle_parity_checks6()
4162 sh->check_state = check_state_run_q; in handle_parity_checks6()
4168 if (sh->check_state == check_state_run) { in handle_parity_checks6()
4173 if (sh->check_state >= check_state_run && in handle_parity_checks6()
4174 sh->check_state <= check_state_run_pq) { in handle_parity_checks6()
4186 sh->check_state = check_state_idle; in handle_parity_checks6()
4237 sh->check_state = check_state_idle; in handle_parity_checks6()
4252 sh->check_state = check_state_compute_result; in handle_parity_checks6()
4274 sh->check_state = check_state_compute_run; in handle_parity_checks6()
4297 __func__, sh->check_state, in handle_parity_checks6()
4639 sh->check_state = head_sh->check_state; in break_stripe_batch_list()
4715 sh->check_state, sh->reconstruct_state); in handle_stripe()
4757 sh->check_state = 0; in handle_stripe()
4860 if (!sh->reconstruct_state && !sh->check_state && !sh->log_io) { in handle_stripe()
4895 if (sh->check_state || in handle_stripe()