Lines Matching defs:qdepth
7528 int qdepth = cmnd->device->queue_depth;
7530 if ((num_in_q == qdepth) &&
9300 static int sdebug_change_qdepth(struct scsi_device *sdev, int qdepth)
9310 if (qdepth > SDEBUG_CANQUEUE) {
9311 qdepth = SDEBUG_CANQUEUE;
9312 pr_warn("requested qdepth [%d] exceeds canqueue [%d], trim\n",
9313 qdepth, SDEBUG_CANQUEUE);
9315 if (qdepth < 1)
9316 qdepth = 1;
9317 if (qdepth != sdev->queue_depth)
9318 scsi_change_queue_depth(sdev, qdepth);
9324 sdev_printk(KERN_INFO, sdev, "qdepth=%d\n", qdepth);