Home
last modified time | relevance | path

Searched refs:qc_idx (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/scsi/
Dscsi_debug.c338 int qc_idx; /* index of sdebug_queued_cmd array within sqa_idx */ member
4927 int qc_idx; in sdebug_q_cmd_complete() local
4937 qc_idx = sd_dp->qc_idx; in sdebug_q_cmd_complete()
4944 if (unlikely((qc_idx < 0) || (qc_idx >= SDEBUG_CANQUEUE))) { in sdebug_q_cmd_complete()
4945 pr_err("wild qc_idx=%d\n", qc_idx); in sdebug_q_cmd_complete()
4950 sqcp = &sqp->qc_arr[qc_idx]; in sdebug_q_cmd_complete()
4955 sd_dp->sqa_idx, qc_idx, sd_dp->hc_idx); in sdebug_q_cmd_complete()
4967 if (unlikely(!test_and_clear_bit(qc_idx, sqp->in_use_bm))) { in sdebug_q_cmd_complete()
4977 if (qc_idx >= retval) { in sdebug_q_cmd_complete()
5742 sd_dp->qc_idx = k; in schedule_resp()
[all …]