Lines Matching refs:qdepth
5565 int qdepth = cmnd->device->queue_depth; in schedule_resp() local
5567 if ((num_in_q == qdepth) && in schedule_resp()
7302 static int sdebug_change_qdepth(struct scsi_device *sdev, int qdepth) in sdebug_change_qdepth() argument
7312 if (qdepth > SDEBUG_CANQUEUE) { in sdebug_change_qdepth()
7313 qdepth = SDEBUG_CANQUEUE; in sdebug_change_qdepth()
7315 qdepth, SDEBUG_CANQUEUE); in sdebug_change_qdepth()
7317 if (qdepth < 1) in sdebug_change_qdepth()
7318 qdepth = 1; in sdebug_change_qdepth()
7319 if (qdepth != sdev->queue_depth) in sdebug_change_qdepth()
7320 scsi_change_queue_depth(sdev, qdepth); in sdebug_change_qdepth()
7326 sdev_printk(KERN_INFO, sdev, "%s: qdepth=%d\n", __func__, qdepth); in sdebug_change_qdepth()