Lines Matching refs:qdepth
3947 int k, num_in_q, qdepth, inject; in schedule_resp() local
3966 qdepth = cmnd->device->queue_depth; in schedule_resp()
3968 if ((qdepth > 0) && (num_in_q >= qdepth)) { in schedule_resp()
3977 if ((num_in_q == (qdepth - 1)) && in schedule_resp()
5085 sdebug_change_qdepth(struct scsi_device *sdev, int qdepth) in sdebug_change_qdepth() argument
5100 if (qdepth < 1) in sdebug_change_qdepth()
5101 qdepth = 1; in sdebug_change_qdepth()
5103 if (qdepth > SCSI_DEBUG_CANQUEUE + 10) in sdebug_change_qdepth()
5104 qdepth = SCSI_DEBUG_CANQUEUE + 10; in sdebug_change_qdepth()
5105 scsi_change_queue_depth(sdev, qdepth); in sdebug_change_qdepth()
5110 __func__, qdepth, num_in_q); in sdebug_change_qdepth()