Lines Matching refs:qdepth
4261 int k, num_in_q, qdepth, inject; in schedule_resp() local
4285 qdepth = cmnd->device->queue_depth; in schedule_resp()
4287 if (unlikely((qdepth > 0) && (num_in_q >= qdepth))) { in schedule_resp()
4296 if ((num_in_q == (qdepth - 1)) && in schedule_resp()
5536 static int sdebug_change_qdepth(struct scsi_device *sdev, int qdepth) in sdebug_change_qdepth() argument
5549 if (qdepth < 1) in sdebug_change_qdepth()
5550 qdepth = 1; in sdebug_change_qdepth()
5552 if (qdepth > SDEBUG_CANQUEUE + 10) in sdebug_change_qdepth()
5553 qdepth = SDEBUG_CANQUEUE + 10; in sdebug_change_qdepth()
5554 scsi_change_queue_depth(sdev, qdepth); in sdebug_change_qdepth()
5558 __func__, qdepth, num_in_q); in sdebug_change_qdepth()