Lines Matching refs:qdepth
7181 int qdepth = cmnd->device->queue_depth; in schedule_resp() local
7183 if ((num_in_q == qdepth) && in schedule_resp()
8946 static int sdebug_change_qdepth(struct scsi_device *sdev, int qdepth) in sdebug_change_qdepth() argument
8956 if (qdepth > SDEBUG_CANQUEUE) { in sdebug_change_qdepth()
8957 qdepth = SDEBUG_CANQUEUE; in sdebug_change_qdepth()
8959 qdepth, SDEBUG_CANQUEUE); in sdebug_change_qdepth()
8961 if (qdepth < 1) in sdebug_change_qdepth()
8962 qdepth = 1; in sdebug_change_qdepth()
8963 if (qdepth != sdev->queue_depth) in sdebug_change_qdepth()
8964 scsi_change_queue_depth(sdev, qdepth); in sdebug_change_qdepth()
8970 sdev_printk(KERN_INFO, sdev, "%s: qdepth=%d\n", __func__, qdepth); in sdebug_change_qdepth()