| /drivers/scsi/ |
| A D | BusLogic.c | 1647 qdepth = adapter->drvr_opts->qdepth[tgt_id]; in blogic_rdconfig() 1648 adapter->qdepth[tgt_id] = qdepth; in blogic_rdconfig() 1810 if (adapter->qdepth[tgt_id] != adapter->qdepth[0]) { in blogic_reportconfig() 2169 int qdepth = adapter->qdepth[tgt_id]; in blogic_sdev_configure() local 2173 if (qdepth == 0) in blogic_sdev_configure() 2175 adapter->qdepth[tgt_id] = qdepth; in blogic_sdev_configure() 2180 adapter->qdepth[tgt_id] = qdepth; in blogic_sdev_configure() 2183 qdepth = 0; in blogic_sdev_configure() 2186 qdepth += adapter->qdepth[tgt_id]; in blogic_sdev_configure() 3546 drvr_opts->qdepth[tgt_id] = qdepth; in blogic_parseopts() [all …]
|
| A D | BusLogic.h | 885 unsigned char qdepth[BLOGIC_MAXDEV]; member 1048 unsigned char qdepth[BLOGIC_MAXDEV]; member
|
| A D | vmw_pvscsi.c | 532 static int pvscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in pvscsi_change_queue_depth() argument 535 qdepth = 1; in pvscsi_change_queue_depth() 536 return scsi_change_queue_depth(sdev, qdepth); in pvscsi_change_queue_depth()
|
| A D | iscsi_tcp.c | 879 uint16_t qdepth, uint32_t initial_cmdsn) in iscsi_sw_tcp_session_create() argument 897 shost->cmd_per_lun = qdepth; in iscsi_sw_tcp_session_create()
|
| A D | virtio_scsi.c | 694 static int virtscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in virtscsi_change_queue_depth() argument 699 return scsi_change_queue_depth(sdev, min(max_depth, qdepth)); in virtscsi_change_queue_depth()
|
| A D | hpsa.c | 283 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth); 1708 int qdepth; in hpsa_figure_phys_disk_ptrs() local 1715 qdepth = 0; in hpsa_figure_phys_disk_ptrs() 1733 qdepth = min(h->nr_cmds, qdepth + in hpsa_figure_phys_disk_ptrs() 1760 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs() 5815 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth) in hpsa_change_queue_depth() argument 5822 if (qdepth < 1) in hpsa_change_queue_depth() 5823 qdepth = 1; in hpsa_change_queue_depth() 5824 else if (qdepth > logical_drive->queue_depth) in hpsa_change_queue_depth() 5825 qdepth = logical_drive->queue_depth; in hpsa_change_queue_depth() [all …]
|
| A D | scsi_debug.c | 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() [all …]
|
| /drivers/scsi/aic94xx/ |
| A D | aic94xx_dev.c | 100 u32 qdepth = 0; in asd_set_dmamode() local 104 qdepth = ata_id_queue_depth(ata_dev->id); in asd_set_dmamode() 106 (1ULL<<qdepth)-1); in asd_set_dmamode() 107 asd_ddbsite_write_byte(asd_ha, ddb, NUM_SATA_TAGS, qdepth); in asd_set_dmamode() 110 if (qdepth > 0) in asd_set_dmamode()
|
| /drivers/usb/storage/ |
| A D | uas.c | 42 int qdepth, resetting; member 112 for (i = 0; i < devinfo->qdepth; i++) { in uas_do_work() 161 for (i = 0; i < devinfo->qdepth; i++) { in uas_zap_pending() 664 for (idx = 0; idx < devinfo->qdepth; idx++) { in uas_queuecommand_lck() 668 if (idx == devinfo->qdepth) { in uas_queuecommand_lck() 899 scsi_change_queue_depth(sdev, devinfo->qdepth - 2); in uas_sdev_configure() 973 devinfo->qdepth = 32; in uas_configure_endpoints() 978 if (devinfo->qdepth < 0) in uas_configure_endpoints() 979 return devinfo->qdepth; in uas_configure_endpoints() 1043 shost->can_queue = devinfo->qdepth - 2; in uas_probe() [all …]
|
| /drivers/block/rnbd/ |
| A D | rnbd-srv-trace.h | 24 __field(int, qdepth) 29 __entry->qdepth = srv->queue_depth; 35 __entry->qdepth
|
| /drivers/scsi/snic/ |
| A D | snic_main.c | 67 u32 qdepth = 0, max_ios = 0; in snic_sdev_configure() local 72 qdepth = min_t(u32, max_ios, SNIC_MAX_QUEUE_DEPTH); in snic_sdev_configure() 73 scsi_change_queue_depth(sdev, qdepth); in snic_sdev_configure() 85 snic_change_queue_depth(struct scsi_device *sdev, int qdepth) in snic_change_queue_depth() argument 90 qsz = min_t(u32, qdepth, SNIC_MAX_QUEUE_DEPTH); in snic_change_queue_depth()
|
| /drivers/s390/crypto/ |
| A D | zcrypt_api.c | 1385 static void zcrypt_qdepth_mask(char qdepth[], size_t max_adapters) in zcrypt_qdepth_mask() argument 1391 memset(qdepth, 0, max_adapters); in zcrypt_qdepth_mask() 1401 qdepth[card] = in zcrypt_qdepth_mask() 1650 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl() local 1652 zcrypt_qdepth_mask(qdepth, AP_DEVICES); in zcrypt_unlocked_ioctl() 1653 if (copy_to_user((char __user *)arg, qdepth, sizeof(qdepth))) in zcrypt_unlocked_ioctl() 1709 char qdepth[MAX_ZDEV_CARDIDS]; in zcrypt_unlocked_ioctl() local 1711 zcrypt_qdepth_mask(qdepth, MAX_ZDEV_CARDIDS); in zcrypt_unlocked_ioctl() 1712 if (copy_to_user((char __user *)arg, qdepth, sizeof(qdepth))) in zcrypt_unlocked_ioctl()
|
| /drivers/scsi/be2iscsi/ |
| A D | be_iscsi.h | 38 uint16_t qdepth,
|
| A D | be_iscsi.c | 37 u16 qdepth, in beiscsi_session_create() argument
|
| /drivers/message/fusion/ |
| A D | mptscsih.h | 132 extern int mptscsih_change_queue_depth(struct scsi_device *sdev, int qdepth);
|
| A D | mptscsih.c | 2305 mptscsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in mptscsih_change_queue_depth() argument 2330 if (qdepth > max_depth) in mptscsih_change_queue_depth() 2331 qdepth = max_depth; in mptscsih_change_queue_depth() 2333 return scsi_change_queue_depth(sdev, qdepth); in mptscsih_change_queue_depth()
|
| /drivers/scsi/mpt3sas/ |
| A D | mpt3sas_scsih.c | 1838 if (qdepth > max_depth) in scsih_change_queue_depth() 1839 qdepth = max_depth; in scsih_change_queue_depth() 1862 qdepth = shost->can_queue; in mpt3sas_scsih_change_queue_depth() 2525 int qdepth; in scsih_sdev_configure() local 2532 qdepth = 1; in scsih_sdev_configure() 2571 qdepth = MPT3SAS_SAS_QUEUE_DEPTH; in scsih_sdev_configure() 2665 qdepth = ioc->max_nvme_qd; in scsih_sdev_configure() 2722 qdepth = ioc->max_sata_qd; in scsih_sdev_configure() 9680 u16 qdepth; in _scsih_update_device_qdepth() local 9689 qdepth = ioc->max_nvme_qd; in _scsih_update_device_qdepth() [all …]
|
| A D | mpt3sas_ctl.c | 4201 int qdepth; in enable_sdev_max_qd_store() local 4227 qdepth = in enable_sdev_max_qd_store() 4230 qdepth = in enable_sdev_max_qd_store() 4238 qdepth = MPT3SAS_RAID_QUEUE_DEPTH; in enable_sdev_max_qd_store() 4242 qdepth = ioc->max_nvme_qd; in enable_sdev_max_qd_store() 4244 qdepth = (sas_target_priv_data->sas_dev->port_type > 1) ? in enable_sdev_max_qd_store() 4247 mpt3sas_scsih_change_queue_depth(sdev, qdepth); in enable_sdev_max_qd_store()
|
| A D | mpt3sas_base.h | 1844 void mpt3sas_scsih_change_queue_depth(struct scsi_device *sdev, int qdepth);
|
| /drivers/infiniband/ulp/iser/ |
| A D | iscsi_iser.c | 601 uint16_t cmds_max, uint16_t qdepth, in iscsi_iser_session_create() argument 615 shost->cmd_per_lun = qdepth; in iscsi_iser_session_create()
|
| /drivers/scsi/ibmvscsi/ |
| A D | ibmvscsi.c | 1895 static int ibmvscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in ibmvscsi_change_queue_depth() argument 1897 if (qdepth > IBMVSCSI_MAX_CMDS_PER_LUN) in ibmvscsi_change_queue_depth() 1898 qdepth = IBMVSCSI_MAX_CMDS_PER_LUN; in ibmvscsi_change_queue_depth() 1899 return scsi_change_queue_depth(sdev, qdepth); in ibmvscsi_change_queue_depth()
|
| A D | ibmvfc.c | 3477 static int ibmvfc_change_queue_depth(struct scsi_device *sdev, int qdepth) in ibmvfc_change_queue_depth() argument 3479 if (qdepth > IBMVFC_MAX_CMDS_PER_LUN) in ibmvfc_change_queue_depth() 3480 qdepth = IBMVFC_MAX_CMDS_PER_LUN; in ibmvfc_change_queue_depth() 3482 return scsi_change_queue_depth(sdev, qdepth); in ibmvfc_change_queue_depth()
|
| /drivers/infiniband/ulp/srp/ |
| A D | ib_srp.c | 2707 srp_change_queue_depth(struct scsi_device *sdev, int qdepth) in srp_change_queue_depth() argument 2710 qdepth = 1; in srp_change_queue_depth() 2711 return scsi_change_queue_depth(sdev, qdepth); in srp_change_queue_depth()
|
| /drivers/scsi/qedi/ |
| A D | qedi_iscsi.c | 240 u16 qdepth, uint32_t initial_cmdsn) in qedi_session_create() argument
|
| /drivers/scsi/bnx2i/ |
| A D | bnx2i_iscsi.c | 1285 uint16_t cmds_max, uint16_t qdepth, in bnx2i_session_create() argument
|