Lines Matching refs:qdepth
3014 int k, num_in_q, qdepth, inject; in schedule_resp() local
3033 qdepth = cmnd->device->queue_depth; in schedule_resp()
3035 if ((qdepth > 0) && (num_in_q >= qdepth)) { in schedule_resp()
3044 if ((num_in_q == (qdepth - 1)) && in schedule_resp()
4477 sdebug_change_qdepth(struct scsi_device *sdev, int qdepth, int reason) in sdebug_change_qdepth() argument
4493 if (qdepth < 1) in sdebug_change_qdepth()
4494 qdepth = 1; in sdebug_change_qdepth()
4496 if (qdepth > SCSI_DEBUG_CANQUEUE + 10) in sdebug_change_qdepth()
4497 qdepth = SCSI_DEBUG_CANQUEUE + 10; in sdebug_change_qdepth()
4498 scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); in sdebug_change_qdepth()
4500 scsi_track_queue_full(sdev, qdepth); in sdebug_change_qdepth()
4510 __func__, qdepth, num_in_q); in sdebug_change_qdepth()
4527 __func__, qdepth, num_in_q, cp); in sdebug_change_qdepth()