Lines Matching refs:qa_indx
612 int qa_indx; member
3446 int qa_indx; in sdebug_q_cmd_complete() local
3454 qa_indx = indx; in sdebug_q_cmd_complete()
3455 if ((qa_indx < 0) || (qa_indx >= SCSI_DEBUG_CANQUEUE)) { in sdebug_q_cmd_complete()
3456 pr_err("%s: wild qa_indx=%d\n", __func__, qa_indx); in sdebug_q_cmd_complete()
3460 sqcp = &queued_arr[qa_indx]; in sdebug_q_cmd_complete()
3476 if (!test_and_clear_bit(qa_indx, queued_in_use_bm)) { in sdebug_q_cmd_complete()
3486 if (qa_indx >= retval) { in sdebug_q_cmd_complete()
3505 int qa_indx; in sdebug_q_cmd_hrt_complete() local
3514 qa_indx = sd_hrtp->qa_indx; in sdebug_q_cmd_hrt_complete()
3515 if ((qa_indx < 0) || (qa_indx >= SCSI_DEBUG_CANQUEUE)) { in sdebug_q_cmd_hrt_complete()
3516 pr_err("%s: wild qa_indx=%d\n", __func__, qa_indx); in sdebug_q_cmd_hrt_complete()
3520 sqcp = &queued_arr[qa_indx]; in sdebug_q_cmd_hrt_complete()
3536 if (!test_and_clear_bit(qa_indx, queued_in_use_bm)) { in sdebug_q_cmd_hrt_complete()
3546 if (qa_indx >= retval) { in sdebug_q_cmd_hrt_complete()
4034 sd_hp->qa_indx = k; in schedule_resp()