Lines Matching refs:qdepth
3942 int k, num_in_q, qdepth, inject; in schedule_resp() local
3967 qdepth = cmnd->device->queue_depth; in schedule_resp()
3969 if ((qdepth > 0) && (num_in_q >= qdepth)) { in schedule_resp()
3978 if ((num_in_q == (qdepth - 1)) && in schedule_resp()
5072 sdebug_change_qdepth(struct scsi_device *sdev, int qdepth) in sdebug_change_qdepth() argument
5087 if (qdepth < 1) in sdebug_change_qdepth()
5088 qdepth = 1; in sdebug_change_qdepth()
5090 if (qdepth > SCSI_DEBUG_CANQUEUE + 10) in sdebug_change_qdepth()
5091 qdepth = SCSI_DEBUG_CANQUEUE + 10; in sdebug_change_qdepth()
5092 scsi_change_queue_depth(sdev, qdepth); in sdebug_change_qdepth()
5097 __func__, qdepth, num_in_q); in sdebug_change_qdepth()