qdepth            607 drivers/infiniband/ulp/iser/iscsi_iser.c 			  uint16_t cmds_max, uint16_t qdepth,
qdepth            621 drivers/infiniband/ulp/iser/iscsi_iser.c 	shost->cmd_per_lun = qdepth;
qdepth           2902 drivers/infiniband/ulp/srp/ib_srp.c srp_change_queue_depth(struct scsi_device *sdev, int qdepth)
qdepth           2905 drivers/infiniband/ulp/srp/ib_srp.c 		qdepth = 1;
qdepth           2906 drivers/infiniband/ulp/srp/ib_srp.c 	return scsi_change_queue_depth(sdev, qdepth);
qdepth           2313 drivers/message/fusion/mptscsih.c mptscsih_change_queue_depth(struct scsi_device *sdev, int qdepth)
qdepth           2338 drivers/message/fusion/mptscsih.c 	if (qdepth > max_depth)
qdepth           2339 drivers/message/fusion/mptscsih.c 		qdepth = max_depth;
qdepth           2341 drivers/message/fusion/mptscsih.c 	return scsi_change_queue_depth(sdev, qdepth);
qdepth            131 drivers/message/fusion/mptscsih.h extern int mptscsih_change_queue_depth(struct scsi_device *sdev, int qdepth);
qdepth           1193 drivers/s390/crypto/zcrypt_api.c static void zcrypt_qdepth_mask(char qdepth[], size_t max_adapters)
qdepth           1199 drivers/s390/crypto/zcrypt_api.c 	memset(qdepth, 0, max_adapters);
qdepth           1209 drivers/s390/crypto/zcrypt_api.c 			qdepth[card] =
qdepth           1408 drivers/s390/crypto/zcrypt_api.c 		char qdepth[AP_DEVICES];
qdepth           1410 drivers/s390/crypto/zcrypt_api.c 		zcrypt_qdepth_mask(qdepth, AP_DEVICES);
qdepth           1411 drivers/s390/crypto/zcrypt_api.c 		if (copy_to_user((char __user *) arg, qdepth, sizeof(qdepth)))
qdepth           1466 drivers/s390/crypto/zcrypt_api.c 		char qdepth[MAX_ZDEV_CARDIDS];
qdepth           1468 drivers/s390/crypto/zcrypt_api.c 		zcrypt_qdepth_mask(qdepth, MAX_ZDEV_CARDIDS);
qdepth           1469 drivers/s390/crypto/zcrypt_api.c 		if (copy_to_user((char __user *) arg, qdepth, sizeof(qdepth)))
qdepth           1767 drivers/scsi/BusLogic.c 		unsigned char qdepth = 0;
qdepth           1769 drivers/scsi/BusLogic.c 				adapter->drvr_opts->qdepth[tgt_id] > 0)
qdepth           1770 drivers/scsi/BusLogic.c 			qdepth = adapter->drvr_opts->qdepth[tgt_id];
qdepth           1772 drivers/scsi/BusLogic.c 			qdepth = BLOGIC_TAG_DEPTH_BB;
qdepth           1773 drivers/scsi/BusLogic.c 		adapter->qdepth[tgt_id] = qdepth;
qdepth           1942 drivers/scsi/BusLogic.c 		if (adapter->qdepth[tgt_id] != adapter->qdepth[0]) {
qdepth           1947 drivers/scsi/BusLogic.c 		if (adapter->qdepth[0] > 0)
qdepth           1948 drivers/scsi/BusLogic.c 			blogic_info("%d", adapter, adapter->qdepth[0]);
qdepth           2318 drivers/scsi/BusLogic.c 	int qdepth = adapter->qdepth[tgt_id];
qdepth           2322 drivers/scsi/BusLogic.c 		if (qdepth == 0)
qdepth           2323 drivers/scsi/BusLogic.c 			qdepth = BLOGIC_MAX_AUTO_TAG_DEPTH;
qdepth           2324 drivers/scsi/BusLogic.c 		adapter->qdepth[tgt_id] = qdepth;
qdepth           2325 drivers/scsi/BusLogic.c 		scsi_change_queue_depth(dev, qdepth);
qdepth           2328 drivers/scsi/BusLogic.c 		qdepth = adapter->untag_qdepth;
qdepth           2329 drivers/scsi/BusLogic.c 		adapter->qdepth[tgt_id] = qdepth;
qdepth           2330 drivers/scsi/BusLogic.c 		scsi_change_queue_depth(dev, qdepth);
qdepth           2332 drivers/scsi/BusLogic.c 	qdepth = 0;
qdepth           2335 drivers/scsi/BusLogic.c 			qdepth += adapter->qdepth[tgt_id];
qdepth           2336 drivers/scsi/BusLogic.c 	if (qdepth > adapter->alloc_ccbs)
qdepth           2337 drivers/scsi/BusLogic.c 		blogic_create_addlccbs(adapter, qdepth - adapter->alloc_ccbs,
qdepth           3497 drivers/scsi/BusLogic.c 				  "	    %3d       %3u    %9u	%9u\n", adapter->qdepth[tgt], adapter->active_cmds[tgt], tgt_stats[tgt].cmds_tried, tgt_stats[tgt].cmds_complete);
qdepth           3711 drivers/scsi/BusLogic.c 					unsigned short qdepth = simple_strtoul(options, &options, 0);
qdepth           3712 drivers/scsi/BusLogic.c 					if (qdepth > BLOGIC_MAX_TAG_DEPTH) {
qdepth           3713 drivers/scsi/BusLogic.c 						blogic_err("BusLogic: Invalid Driver Options " "(invalid Queue Depth %d)\n", NULL, qdepth);
qdepth           3716 drivers/scsi/BusLogic.c 					drvr_opts->qdepth[tgt_id] = qdepth;
qdepth           3732 drivers/scsi/BusLogic.c 				unsigned short qdepth = simple_strtoul(options, &options, 0);
qdepth           3733 drivers/scsi/BusLogic.c 				if (qdepth == 0 ||
qdepth           3734 drivers/scsi/BusLogic.c 						qdepth > BLOGIC_MAX_TAG_DEPTH) {
qdepth           3735 drivers/scsi/BusLogic.c 					blogic_err("BusLogic: Invalid Driver Options " "(invalid Queue Depth %d)\n", NULL, qdepth);
qdepth           3738 drivers/scsi/BusLogic.c 				drvr_opts->common_qdepth = qdepth;
qdepth           3740 drivers/scsi/BusLogic.c 					drvr_opts->qdepth[tgt_id] = qdepth;
qdepth           3821 drivers/scsi/BusLogic.c 			if (drvr_opts->qdepth[tgt_id] == 1) {
qdepth            893 drivers/scsi/BusLogic.h 	unsigned char qdepth[BLOGIC_MAXDEV];
qdepth           1059 drivers/scsi/BusLogic.h 	unsigned char qdepth[BLOGIC_MAXDEV];
qdepth            100 drivers/scsi/aic94xx/aic94xx_dev.c 	u32 qdepth = 0;
qdepth            104 drivers/scsi/aic94xx/aic94xx_dev.c 			qdepth = ata_id_queue_depth(ata_dev->id);
qdepth            106 drivers/scsi/aic94xx/aic94xx_dev.c 					(1ULL<<qdepth)-1);
qdepth            107 drivers/scsi/aic94xx/aic94xx_dev.c 		asd_ddbsite_write_byte(asd_ha, ddb, NUM_SATA_TAGS, qdepth);
qdepth            110 drivers/scsi/aic94xx/aic94xx_dev.c 	if (qdepth > 0)
qdepth             36 drivers/scsi/be2iscsi/be_iscsi.c 						 u16 qdepth,
qdepth             38 drivers/scsi/be2iscsi/be_iscsi.h 						 uint16_t qdepth,
qdepth           1288 drivers/scsi/bnx2i/bnx2i_iscsi.c 		     uint16_t cmds_max, uint16_t qdepth,
qdepth           2424 drivers/scsi/cxgbi/libcxgbi.c 						u16 cmds_max, u16 qdepth,
qdepth           2565 drivers/scsi/cxlflash/main.c static int cxlflash_change_queue_depth(struct scsi_device *sdev, int qdepth)
qdepth           2568 drivers/scsi/cxlflash/main.c 	if (qdepth > CXLFLASH_MAX_CMDS_PER_LUN)
qdepth           2569 drivers/scsi/cxlflash/main.c 		qdepth = CXLFLASH_MAX_CMDS_PER_LUN;
qdepth           2571 drivers/scsi/cxlflash/main.c 	scsi_change_queue_depth(sdev, qdepth);
qdepth             87 drivers/scsi/dpt/dpti_ioctl.h 	int      qdepth;           /* Controller queue depth.         */
qdepth            279 drivers/scsi/hpsa.c static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth);
qdepth           1698 drivers/scsi/hpsa.c 	int qdepth;
qdepth           1705 drivers/scsi/hpsa.c 	qdepth = 0;
qdepth           1723 drivers/scsi/hpsa.c 				qdepth = min(h->nr_cmds, qdepth +
qdepth           1751 drivers/scsi/hpsa.c 		logical_drive->queue_depth = qdepth;
qdepth           5760 drivers/scsi/hpsa.c static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth)
qdepth           5767 drivers/scsi/hpsa.c 	if (qdepth < 1)
qdepth           5768 drivers/scsi/hpsa.c 		qdepth = 1;
qdepth           5769 drivers/scsi/hpsa.c 	else if (qdepth > logical_drive->queue_depth)
qdepth           5770 drivers/scsi/hpsa.c 		qdepth = logical_drive->queue_depth;
qdepth           5772 drivers/scsi/hpsa.c 	return scsi_change_queue_depth(sdev, qdepth);
qdepth           2899 drivers/scsi/ibmvscsi/ibmvfc.c static int ibmvfc_change_queue_depth(struct scsi_device *sdev, int qdepth)
qdepth           2901 drivers/scsi/ibmvscsi/ibmvfc.c 	if (qdepth > IBMVFC_MAX_CMDS_PER_LUN)
qdepth           2902 drivers/scsi/ibmvscsi/ibmvfc.c 		qdepth = IBMVFC_MAX_CMDS_PER_LUN;
qdepth           2904 drivers/scsi/ibmvscsi/ibmvfc.c 	return scsi_change_queue_depth(sdev, qdepth);
qdepth           1874 drivers/scsi/ibmvscsi/ibmvscsi.c static int ibmvscsi_change_queue_depth(struct scsi_device *sdev, int qdepth)
qdepth           1876 drivers/scsi/ibmvscsi/ibmvscsi.c 	if (qdepth > IBMVSCSI_MAX_CMDS_PER_LUN)
qdepth           1877 drivers/scsi/ibmvscsi/ibmvscsi.c 		qdepth = IBMVSCSI_MAX_CMDS_PER_LUN;
qdepth           1878 drivers/scsi/ibmvscsi/ibmvscsi.c 	return scsi_change_queue_depth(sdev, qdepth);
qdepth           4488 drivers/scsi/ipr.c static int ipr_change_queue_depth(struct scsi_device *sdev, int qdepth)
qdepth           4497 drivers/scsi/ipr.c 	if (res && ipr_is_gata(res) && qdepth > IPR_MAX_CMD_PER_ATA_LUN)
qdepth           4498 drivers/scsi/ipr.c 		qdepth = IPR_MAX_CMD_PER_ATA_LUN;
qdepth           4501 drivers/scsi/ipr.c 	scsi_change_queue_depth(sdev, qdepth);
qdepth            836 drivers/scsi/iscsi_tcp.c 			    uint16_t qdepth, uint32_t initial_cmdsn)
qdepth            853 drivers/scsi/iscsi_tcp.c 	shost->cmd_per_lun = qdepth;
qdepth           1591 drivers/scsi/mpt3sas/mpt3sas_base.h void mpt3sas_scsih_change_queue_depth(struct scsi_device *sdev, int qdepth);
qdepth           3455 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	int qdepth;
qdepth           3481 drivers/scsi/mpt3sas/mpt3sas_ctl.c 						qdepth =
qdepth           3484 drivers/scsi/mpt3sas/mpt3sas_ctl.c 						qdepth =
qdepth           3492 drivers/scsi/mpt3sas/mpt3sas_ctl.c 					qdepth = MPT3SAS_RAID_QUEUE_DEPTH;
qdepth           3496 drivers/scsi/mpt3sas/mpt3sas_ctl.c 				qdepth = MPT3SAS_NVME_QUEUE_DEPTH;
qdepth           3498 drivers/scsi/mpt3sas/mpt3sas_ctl.c 				qdepth = MPT3SAS_SAS_QUEUE_DEPTH;
qdepth           3500 drivers/scsi/mpt3sas/mpt3sas_ctl.c 			mpt3sas_scsih_change_queue_depth(sdev, qdepth);
qdepth           1513 drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_change_queue_depth(struct scsi_device *sdev, int qdepth)
qdepth           1555 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	if (qdepth > max_depth)
qdepth           1556 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		qdepth = max_depth;
qdepth           1557 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	return scsi_change_queue_depth(sdev, qdepth);
qdepth           1568 drivers/scsi/mpt3sas/mpt3sas_scsih.c mpt3sas_scsih_change_queue_depth(struct scsi_device *sdev, int qdepth)
qdepth           1574 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		qdepth = shost->can_queue;
qdepth           1576 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	scsih_change_queue_depth(sdev, qdepth);
qdepth           2235 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	int qdepth;
qdepth           2242 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	qdepth = 1;
qdepth           2281 drivers/scsi/mpt3sas/mpt3sas_scsih.c 			qdepth = MPT3SAS_SAS_QUEUE_DEPTH;
qdepth           2284 drivers/scsi/mpt3sas/mpt3sas_scsih.c 			qdepth = MPT3SAS_SATA_QUEUE_DEPTH;
qdepth           2297 drivers/scsi/mpt3sas/mpt3sas_scsih.c 			qdepth = MPT3SAS_RAID_QUEUE_DEPTH;
qdepth           2307 drivers/scsi/mpt3sas/mpt3sas_scsih.c 			qdepth = MPT3SAS_RAID_QUEUE_DEPTH;
qdepth           2311 drivers/scsi/mpt3sas/mpt3sas_scsih.c 			qdepth = MPT3SAS_RAID_QUEUE_DEPTH;
qdepth           2316 drivers/scsi/mpt3sas/mpt3sas_scsih.c 			qdepth = MPT3SAS_RAID_QUEUE_DEPTH;
qdepth           2337 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		mpt3sas_scsih_change_queue_depth(sdev, qdepth);
qdepth           2376 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		qdepth = MPT3SAS_NVME_QUEUE_DEPTH;
qdepth           2401 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		mpt3sas_scsih_change_queue_depth(sdev, qdepth);
qdepth           2427 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		qdepth = MPT3SAS_SAS_QUEUE_DEPTH;
qdepth           2439 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		qdepth = MPT3SAS_SATA_QUEUE_DEPTH;
qdepth           2461 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	mpt3sas_scsih_change_queue_depth(sdev, qdepth);
qdepth            239 drivers/scsi/qedi/qedi_iscsi.c 		    u16 qdepth, uint32_t initial_cmdsn)
qdepth            137 drivers/scsi/qla4xxx/ql4_os.c 			uint16_t qdepth, uint32_t initial_cmdsn);
qdepth           3053 drivers/scsi/qla4xxx/ql4_os.c 			uint16_t cmds_max, uint16_t qdepth,
qdepth           4261 drivers/scsi/scsi_debug.c 	int k, num_in_q, qdepth, inject;
qdepth           4285 drivers/scsi/scsi_debug.c 	qdepth = cmnd->device->queue_depth;
qdepth           4287 drivers/scsi/scsi_debug.c 	if (unlikely((qdepth > 0) && (num_in_q >= qdepth))) {
qdepth           4296 drivers/scsi/scsi_debug.c 		if ((num_in_q == (qdepth - 1)) &&
qdepth           5541 drivers/scsi/scsi_debug.c static int sdebug_change_qdepth(struct scsi_device *sdev, int qdepth)
qdepth           5554 drivers/scsi/scsi_debug.c 	if (qdepth < 1)
qdepth           5555 drivers/scsi/scsi_debug.c 		qdepth = 1;
qdepth           5557 drivers/scsi/scsi_debug.c 	if (qdepth > SDEBUG_CANQUEUE + 10)
qdepth           5558 drivers/scsi/scsi_debug.c 		qdepth = SDEBUG_CANQUEUE + 10;
qdepth           5559 drivers/scsi/scsi_debug.c 	scsi_change_queue_depth(sdev, qdepth);
qdepth           5563 drivers/scsi/scsi_debug.c 			    __func__, qdepth, num_in_q);
qdepth             81 drivers/scsi/snic/snic_main.c 	u32 qdepth = 0, max_ios = 0;
qdepth             86 drivers/scsi/snic/snic_main.c 	qdepth = min_t(u32, max_ios, SNIC_MAX_QUEUE_DEPTH);
qdepth             87 drivers/scsi/snic/snic_main.c 	scsi_change_queue_depth(sdev, qdepth);
qdepth             99 drivers/scsi/snic/snic_main.c snic_change_queue_depth(struct scsi_device *sdev, int qdepth)
qdepth            104 drivers/scsi/snic/snic_main.c 	qsz = min_t(u32, qdepth, SNIC_MAX_QUEUE_DEPTH);
qdepth            672 drivers/scsi/virtio_scsi.c static int virtscsi_change_queue_depth(struct scsi_device *sdev, int qdepth)
qdepth            677 drivers/scsi/virtio_scsi.c 	return scsi_change_queue_depth(sdev, min(max_depth, qdepth));
qdepth            523 drivers/scsi/vmw_pvscsi.c static int pvscsi_change_queue_depth(struct scsi_device *sdev, int qdepth)
qdepth            526 drivers/scsi/vmw_pvscsi.c 		qdepth = 1;
qdepth            527 drivers/scsi/vmw_pvscsi.c 	return scsi_change_queue_depth(sdev, qdepth);
qdepth             41 drivers/usb/storage/uas.c 	int qdepth, resetting;
qdepth            111 drivers/usb/storage/uas.c 	for (i = 0; i < devinfo->qdepth; i++) {
qdepth            161 drivers/usb/storage/uas.c 	for (i = 0; i < devinfo->qdepth; i++) {
qdepth            670 drivers/usb/storage/uas.c 	for (idx = 0; idx < devinfo->qdepth; idx++) {
qdepth            674 drivers/usb/storage/uas.c 	if (idx == devinfo->qdepth) {
qdepth            886 drivers/usb/storage/uas.c 	scsi_change_queue_depth(sdev, devinfo->qdepth - 2);
qdepth            954 drivers/usb/storage/uas.c 		devinfo->qdepth = 32;
qdepth            957 drivers/usb/storage/uas.c 		devinfo->qdepth = usb_alloc_streams(devinfo->intf, eps + 1,
qdepth            959 drivers/usb/storage/uas.c 		if (devinfo->qdepth < 0)
qdepth            960 drivers/usb/storage/uas.c 			return devinfo->qdepth;
qdepth           1024 drivers/usb/storage/uas.c 	shost->can_queue = devinfo->qdepth - 2;
qdepth           1053 drivers/usb/storage/uas.c 	for (i = 0; i < devinfo->qdepth; i++) {
qdepth             80 include/scsi/scsi_transport_iscsi.h 					uint16_t cmds_max, uint16_t qdepth,