Lines Matching refs:qdepth
6429 int qdepth = cmnd->device->queue_depth; in schedule_resp() local
6431 if ((num_in_q == qdepth) && in schedule_resp()
8213 static int sdebug_change_qdepth(struct scsi_device *sdev, int qdepth) in sdebug_change_qdepth() argument
8223 if (qdepth > SDEBUG_CANQUEUE) { in sdebug_change_qdepth()
8224 qdepth = SDEBUG_CANQUEUE; in sdebug_change_qdepth()
8226 qdepth, SDEBUG_CANQUEUE); in sdebug_change_qdepth()
8228 if (qdepth < 1) in sdebug_change_qdepth()
8229 qdepth = 1; in sdebug_change_qdepth()
8230 if (qdepth != sdev->queue_depth) in sdebug_change_qdepth()
8231 scsi_change_queue_depth(sdev, qdepth); in sdebug_change_qdepth()
8237 sdev_printk(KERN_INFO, sdev, "%s: qdepth=%d\n", __func__, qdepth); in sdebug_change_qdepth()