Lines Matching refs:check_state

161 	return sh->check_state || sh->reconstruct_state ||
1545 if (sh->check_state == check_state_compute_run)
1546 sh->check_state = check_state_compute_result;
2220 sh->check_state = check_state_check_result;
2341 if (sh->check_state == check_state_run)
2343 else if (sh->check_state == check_state_run_q)
2345 else if (sh->check_state == check_state_run_pq)
4041 if (!test_bit(STRIPE_COMPUTE_RUN, &sh->state) && !sh->check_state &&
4359 switch (sh->check_state) {
4364 sh->check_state = check_state_run;
4373 sh->check_state = check_state_idle;
4395 sh->check_state = check_state_idle;
4423 sh->check_state = check_state_compute_run;
4437 pr_err("%s: unknown check_state: %d sector: %llu\n",
4438 __func__, sh->check_state,
4463 switch (sh->check_state) {
4471 sh->check_state = check_state_run;
4477 if (sh->check_state == check_state_run)
4478 sh->check_state = check_state_run_pq;
4480 sh->check_state = check_state_run_q;
4486 if (sh->check_state == check_state_run) {
4491 if (sh->check_state >= check_state_run &&
4492 sh->check_state <= check_state_run_pq) {
4504 sh->check_state = check_state_idle;
4555 sh->check_state = check_state_idle;
4570 sh->check_state = check_state_compute_result;
4592 sh->check_state = check_state_compute_run;
4614 pr_warn("%s: unknown check_state: %d sector: %llu\n",
4615 __func__, sh->check_state,
4959 sh->check_state = head_sh->check_state;
5040 sh->check_state, sh->reconstruct_state);
5082 sh->check_state = 0;
5185 if (!sh->reconstruct_state && !sh->check_state && !sh->log_io) {
5220 if (sh->check_state ||