Home
last modified time | relevance | path

Searched refs:qdepth (Results 1 – 29 of 29) sorted by relevance

/linux-4.1.27/drivers/scsi/
DBusLogic.c1773 unsigned char qdepth = 0; in blogic_rdconfig() local
1775 adapter->drvr_opts->qdepth[tgt_id] > 0) in blogic_rdconfig()
1776 qdepth = adapter->drvr_opts->qdepth[tgt_id]; in blogic_rdconfig()
1778 qdepth = BLOGIC_TAG_DEPTH_BB; in blogic_rdconfig()
1779 adapter->qdepth[tgt_id] = qdepth; in blogic_rdconfig()
1948 if (adapter->qdepth[tgt_id] != adapter->qdepth[0]) { in blogic_reportconfig()
1953 if (adapter->qdepth[0] > 0) in blogic_reportconfig()
1954 blogic_info("%d", adapter, adapter->qdepth[0]); in blogic_reportconfig()
2323 int qdepth = adapter->qdepth[tgt_id]; in blogic_slaveconfig() local
2327 if (qdepth == 0) in blogic_slaveconfig()
[all …]
DBusLogic.h900 unsigned char qdepth[BLOGIC_MAXDEV]; member
1066 unsigned char qdepth[BLOGIC_MAXDEV]; member
Dscsi_debug.c3947 int k, num_in_q, qdepth, inject; in schedule_resp() local
3966 qdepth = cmnd->device->queue_depth; in schedule_resp()
3968 if ((qdepth > 0) && (num_in_q >= qdepth)) { in schedule_resp()
3977 if ((num_in_q == (qdepth - 1)) && in schedule_resp()
5085 sdebug_change_qdepth(struct scsi_device *sdev, int qdepth) in sdebug_change_qdepth() argument
5100 if (qdepth < 1) in sdebug_change_qdepth()
5101 qdepth = 1; in sdebug_change_qdepth()
5103 if (qdepth > SCSI_DEBUG_CANQUEUE + 10) in sdebug_change_qdepth()
5104 qdepth = SCSI_DEBUG_CANQUEUE + 10; in sdebug_change_qdepth()
5105 scsi_change_queue_depth(sdev, qdepth); in sdebug_change_qdepth()
[all …]
Discsi_tcp.c820 uint16_t qdepth, uint32_t initial_cmdsn) in iscsi_sw_tcp_session_create() argument
837 shost->cmd_per_lun = qdepth; in iscsi_sw_tcp_session_create()
Dvmw_pvscsi.c507 static int pvscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in pvscsi_change_queue_depth() argument
510 qdepth = 1; in pvscsi_change_queue_depth()
511 return scsi_change_queue_depth(sdev, qdepth); in pvscsi_change_queue_depth()
Dvirtio_scsi.c698 static int virtscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in virtscsi_change_queue_depth() argument
703 return scsi_change_queue_depth(sdev, min(max_depth, qdepth)); in virtscsi_change_queue_depth()
Dhpsa.c220 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth);
1281 int qdepth; in hpsa_figure_phys_disk_ptrs() local
1286 qdepth = 0; in hpsa_figure_phys_disk_ptrs()
1301 qdepth = min(h->nr_cmds, qdepth + in hpsa_figure_phys_disk_ptrs()
1323 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs()
4203 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth) in hpsa_change_queue_depth() argument
4210 if (qdepth < 1) in hpsa_change_queue_depth()
4211 qdepth = 1; in hpsa_change_queue_depth()
4212 else if (qdepth > logical_drive->queue_depth) in hpsa_change_queue_depth()
4213 qdepth = logical_drive->queue_depth; in hpsa_change_queue_depth()
[all …]
Dipr.c4347 static int ipr_change_queue_depth(struct scsi_device *sdev, int qdepth) in ipr_change_queue_depth() argument
4356 if (res && ipr_is_gata(res) && qdepth > IPR_MAX_CMD_PER_ATA_LUN) in ipr_change_queue_depth()
4357 qdepth = IPR_MAX_CMD_PER_ATA_LUN; in ipr_change_queue_depth()
4360 scsi_change_queue_depth(sdev, qdepth); in ipr_change_queue_depth()
/linux-4.1.27/drivers/scsi/aic94xx/
Daic94xx_dev.c117 u32 qdepth = 0; in asd_set_dmamode() local
121 qdepth = ata_id_queue_depth(ata_dev->id); in asd_set_dmamode()
123 (1ULL<<qdepth)-1); in asd_set_dmamode()
124 asd_ddbsite_write_byte(asd_ha, ddb, NUM_SATA_TAGS, qdepth); in asd_set_dmamode()
127 if (qdepth > 0) in asd_set_dmamode()
/linux-4.1.27/drivers/usb/storage/
Duas.c42 int qdepth, resetting; member
98 for (i = 0; i < devinfo->qdepth; i++) { in uas_do_work()
137 for (i = 0; i < devinfo->qdepth; i++) { in uas_zap_pending()
626 for (idx = 0; idx < devinfo->qdepth; idx++) { in uas_queuecommand_lck()
630 if (idx == devinfo->qdepth) { in uas_queuecommand_lck()
814 scsi_change_queue_depth(sdev, devinfo->qdepth - 2); in uas_slave_configure()
884 devinfo->qdepth = 32; in uas_configure_endpoints()
887 devinfo->qdepth = usb_alloc_streams(devinfo->intf, eps + 1, in uas_configure_endpoints()
889 if (devinfo->qdepth < 0) in uas_configure_endpoints()
890 return devinfo->qdepth; in uas_configure_endpoints()
[all …]
/linux-4.1.27/drivers/s390/crypto/
Dzcrypt_api.h58 unsigned char qdepth[64]; member
Dzcrypt_api.c712 static void zcrypt_qdepth_mask(char qdepth[AP_DEVICES]) in zcrypt_qdepth_mask()
716 memset(qdepth, 0, sizeof(char) * AP_DEVICES); in zcrypt_qdepth_mask()
720 qdepth[AP_QID_DEVICE(zdev->ap_dev->qid)] = in zcrypt_qdepth_mask()
807 zcrypt_qdepth_mask(pstat->qdepth); in zcrypt_ica_status()
898 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl() local
899 zcrypt_qdepth_mask(qdepth); in zcrypt_unlocked_ioctl()
900 if (copy_to_user((char __user *) arg, qdepth, in zcrypt_unlocked_ioctl()
/linux-4.1.27/drivers/scsi/be2iscsi/
Dbe_iscsi.h55 uint16_t qdepth,
Dbe_iscsi.c42 u16 qdepth, in beiscsi_session_create() argument
/linux-4.1.27/drivers/scsi/dpt/
Ddpti_ioctl.h90 int qdepth; /* Controller queue depth. */ member
/linux-4.1.27/drivers/message/fusion/
Dmptscsih.h131 extern int mptscsih_change_queue_depth(struct scsi_device *sdev, int qdepth);
Dmptscsih.c2318 mptscsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in mptscsih_change_queue_depth() argument
2343 if (qdepth > max_depth) in mptscsih_change_queue_depth()
2344 qdepth = max_depth; in mptscsih_change_queue_depth()
2346 return scsi_change_queue_depth(sdev, qdepth); in mptscsih_change_queue_depth()
/linux-4.1.27/Documentation/block/
Dnull_blk.txt63 hw_queue_depth=[0..qdepth]: Default: 64
/linux-4.1.27/drivers/infiniband/ulp/iser/
Discsi_iser.c602 uint16_t cmds_max, uint16_t qdepth, in iscsi_iser_session_create() argument
616 shost->cmd_per_lun = qdepth; in iscsi_iser_session_create()
/linux-4.1.27/drivers/scsi/mpt2sas/
Dmpt2sas_scsih.c1190 _scsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in _scsih_change_queue_depth() argument
1222 if (qdepth > max_depth) in _scsih_change_queue_depth()
1223 qdepth = max_depth; in _scsih_change_queue_depth()
1224 return scsi_change_queue_depth(sdev, qdepth); in _scsih_change_queue_depth()
1964 int qdepth; in _scsih_slave_configure() local
1971 qdepth = 1; in _scsih_slave_configure()
2009 qdepth = MPT2SAS_SAS_QUEUE_DEPTH; in _scsih_slave_configure()
2012 qdepth = MPT2SAS_SATA_QUEUE_DEPTH; in _scsih_slave_configure()
2025 qdepth = MPT2SAS_RAID_QUEUE_DEPTH; in _scsih_slave_configure()
2035 qdepth = MPT2SAS_RAID_QUEUE_DEPTH; in _scsih_slave_configure()
[all …]
/linux-4.1.27/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c1065 _scsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in _scsih_change_queue_depth() argument
1098 if (qdepth > max_depth) in _scsih_change_queue_depth()
1099 qdepth = max_depth; in _scsih_change_queue_depth()
1100 return scsi_change_queue_depth(sdev, qdepth); in _scsih_change_queue_depth()
1631 int qdepth; in _scsih_slave_configure() local
1638 qdepth = 1; in _scsih_slave_configure()
1673 qdepth = MPT3SAS_SAS_QUEUE_DEPTH; in _scsih_slave_configure()
1676 qdepth = MPT3SAS_SATA_QUEUE_DEPTH; in _scsih_slave_configure()
1689 qdepth = MPT3SAS_RAID_QUEUE_DEPTH; in _scsih_slave_configure()
1699 qdepth = MPT3SAS_RAID_QUEUE_DEPTH; in _scsih_slave_configure()
[all …]
/linux-4.1.27/drivers/scsi/ibmvscsi/
Dibmvscsi.c1944 static int ibmvscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in ibmvscsi_change_queue_depth() argument
1946 if (qdepth > IBMVSCSI_MAX_CMDS_PER_LUN) in ibmvscsi_change_queue_depth()
1947 qdepth = IBMVSCSI_MAX_CMDS_PER_LUN; in ibmvscsi_change_queue_depth()
1948 return scsi_change_queue_depth(sdev, qdepth); in ibmvscsi_change_queue_depth()
Dibmvfc.c2902 static int ibmvfc_change_queue_depth(struct scsi_device *sdev, int qdepth) in ibmvfc_change_queue_depth() argument
2904 if (qdepth > IBMVFC_MAX_CMDS_PER_LUN) in ibmvfc_change_queue_depth()
2905 qdepth = IBMVFC_MAX_CMDS_PER_LUN; in ibmvfc_change_queue_depth()
2907 return scsi_change_queue_depth(sdev, qdepth); in ibmvfc_change_queue_depth()
/linux-4.1.27/include/scsi/
Dscsi_transport_iscsi.h93 uint16_t cmds_max, uint16_t qdepth,
/linux-4.1.27/drivers/infiniband/ulp/srp/
Dib_srp.c2405 srp_change_queue_depth(struct scsi_device *sdev, int qdepth) in srp_change_queue_depth() argument
2408 qdepth = 1; in srp_change_queue_depth()
2409 return scsi_change_queue_depth(sdev, qdepth); in srp_change_queue_depth()
/linux-4.1.27/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c1286 uint16_t cmds_max, uint16_t qdepth, in bnx2i_session_create() argument
/linux-4.1.27/drivers/scsi/cxgbi/
Dlibcxgbi.c2570 u16 cmds_max, u16 qdepth, in cxgbi_create_session() argument
/linux-4.1.27/Documentation/scsi/
DChangeLog.lpfc1249 * LP9802 qdepth is twice the LP9802DC qdepth. Delay
/linux-4.1.27/drivers/scsi/qla4xxx/
Dql4_os.c137 uint16_t qdepth, uint32_t initial_cmdsn);
3040 uint16_t cmds_max, uint16_t qdepth, in qla4xxx_session_create() argument