Lines Matching refs:qa_indx
615 int qa_indx; member
3443 int qa_indx; in sdebug_q_cmd_complete() local
3451 qa_indx = indx; in sdebug_q_cmd_complete()
3452 if ((qa_indx < 0) || (qa_indx >= SCSI_DEBUG_CANQUEUE)) { in sdebug_q_cmd_complete()
3453 pr_err("wild qa_indx=%d\n", qa_indx); in sdebug_q_cmd_complete()
3457 sqcp = &queued_arr[qa_indx]; in sdebug_q_cmd_complete()
3473 if (!test_and_clear_bit(qa_indx, queued_in_use_bm)) { in sdebug_q_cmd_complete()
3483 if (qa_indx >= retval) { in sdebug_q_cmd_complete()
3502 int qa_indx; in sdebug_q_cmd_hrt_complete() local
3511 qa_indx = sd_hrtp->qa_indx; in sdebug_q_cmd_hrt_complete()
3512 if ((qa_indx < 0) || (qa_indx >= SCSI_DEBUG_CANQUEUE)) { in sdebug_q_cmd_hrt_complete()
3513 pr_err("wild qa_indx=%d\n", qa_indx); in sdebug_q_cmd_hrt_complete()
3517 sqcp = &queued_arr[qa_indx]; in sdebug_q_cmd_hrt_complete()
3533 if (!test_and_clear_bit(qa_indx, queued_in_use_bm)) { in sdebug_q_cmd_hrt_complete()
3543 if (qa_indx >= retval) { in sdebug_q_cmd_hrt_complete()
4035 sd_hp->qa_indx = k; in schedule_resp()