Lines Matching refs:qdepth
4350 int k, num_in_q, qdepth, inject; in schedule_resp() local
4374 qdepth = cmnd->device->queue_depth; in schedule_resp()
4376 if (unlikely((qdepth > 0) && (num_in_q >= qdepth))) { in schedule_resp()
4385 if ((num_in_q == (qdepth - 1)) && in schedule_resp()
5623 static int sdebug_change_qdepth(struct scsi_device *sdev, int qdepth) in sdebug_change_qdepth() argument
5636 if (qdepth < 1) in sdebug_change_qdepth()
5637 qdepth = 1; in sdebug_change_qdepth()
5639 if (qdepth > SDEBUG_CANQUEUE + 10) in sdebug_change_qdepth()
5640 qdepth = SDEBUG_CANQUEUE + 10; in sdebug_change_qdepth()
5641 scsi_change_queue_depth(sdev, qdepth); in sdebug_change_qdepth()
5645 __func__, qdepth, num_in_q); in sdebug_change_qdepth()