Lines Matching refs:check_state

154 	return sh->check_state || sh->reconstruct_state ||
1467 if (sh->check_state == check_state_compute_run)
1468 sh->check_state = check_state_compute_result;
2142 sh->check_state = check_state_check_result;
2264 if (sh->check_state == check_state_run)
2266 else if (sh->check_state == check_state_run_q)
2268 else if (sh->check_state == check_state_run_pq)
3929 if (!test_bit(STRIPE_COMPUTE_RUN, &sh->state) && !sh->check_state &&
4247 switch (sh->check_state) {
4252 sh->check_state = check_state_run;
4261 sh->check_state = check_state_idle;
4283 sh->check_state = check_state_idle;
4311 sh->check_state = check_state_compute_run;
4325 pr_err("%s: unknown check_state: %d sector: %llu\n",
4326 __func__, sh->check_state,
4351 switch (sh->check_state) {
4359 sh->check_state = check_state_run;
4365 if (sh->check_state == check_state_run)
4366 sh->check_state = check_state_run_pq;
4368 sh->check_state = check_state_run_q;
4374 if (sh->check_state == check_state_run) {
4379 if (sh->check_state >= check_state_run &&
4380 sh->check_state <= check_state_run_pq) {
4392 sh->check_state = check_state_idle;
4443 sh->check_state = check_state_idle;
4458 sh->check_state = check_state_compute_result;
4480 sh->check_state = check_state_compute_run;
4502 pr_warn("%s: unknown check_state: %d sector: %llu\n",
4503 __func__, sh->check_state,
4846 sh->check_state = head_sh->check_state;
4927 sh->check_state, sh->reconstruct_state);
4969 sh->check_state = 0;
5072 if (!sh->reconstruct_state && !sh->check_state && !sh->log_io) {
5107 if (sh->check_state ||