Home
last modified time | relevance | path

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

/linux-4.4.14/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.c3942 int k, num_in_q, qdepth, inject; in schedule_resp() local
3967 qdepth = cmnd->device->queue_depth; in schedule_resp()
3969 if ((qdepth > 0) && (num_in_q >= qdepth)) { in schedule_resp()
3978 if ((num_in_q == (qdepth - 1)) && in schedule_resp()
5072 sdebug_change_qdepth(struct scsi_device *sdev, int qdepth) in sdebug_change_qdepth() argument
5087 if (qdepth < 1) in sdebug_change_qdepth()
5088 qdepth = 1; in sdebug_change_qdepth()
5090 if (qdepth > SCSI_DEBUG_CANQUEUE + 10) in sdebug_change_qdepth()
5091 qdepth = SCSI_DEBUG_CANQUEUE + 10; in sdebug_change_qdepth()
5092 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.c703 static int virtscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in virtscsi_change_queue_depth() argument
708 return scsi_change_queue_depth(sdev, min(max_depth, qdepth)); in virtscsi_change_queue_depth()
Dhpsa.c253 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth);
1626 int qdepth; in hpsa_figure_phys_disk_ptrs() local
1633 qdepth = 0; in hpsa_figure_phys_disk_ptrs()
1650 qdepth = min(h->nr_cmds, qdepth + in hpsa_figure_phys_disk_ptrs()
1673 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs()
5232 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth) in hpsa_change_queue_depth() argument
5239 if (qdepth < 1) in hpsa_change_queue_depth()
5240 qdepth = 1; in hpsa_change_queue_depth()
5241 else if (qdepth > logical_drive->queue_depth) in hpsa_change_queue_depth()
5242 qdepth = logical_drive->queue_depth; in hpsa_change_queue_depth()
[all …]
Dipr.c4352 static int ipr_change_queue_depth(struct scsi_device *sdev, int qdepth) in ipr_change_queue_depth() argument
4361 if (res && ipr_is_gata(res) && qdepth > IPR_MAX_CMD_PER_ATA_LUN) in ipr_change_queue_depth()
4362 qdepth = IPR_MAX_CMD_PER_ATA_LUN; in ipr_change_queue_depth()
4365 scsi_change_queue_depth(sdev, qdepth); in ipr_change_queue_depth()
/linux-4.4.14/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.4.14/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()
881 devinfo->qdepth = 32; in uas_configure_endpoints()
884 devinfo->qdepth = usb_alloc_streams(devinfo->intf, eps + 1, in uas_configure_endpoints()
886 if (devinfo->qdepth < 0) in uas_configure_endpoints()
887 return devinfo->qdepth; in uas_configure_endpoints()
950 shost->can_queue = devinfo->qdepth - 2; in uas_probe()
[all …]
/linux-4.4.14/drivers/scsi/snic/
Dsnic_main.c81 u32 qdepth = 0, max_ios = 0; in snic_slave_configure() local
86 qdepth = min_t(u32, max_ios, SNIC_MAX_QUEUE_DEPTH); in snic_slave_configure()
87 scsi_change_queue_depth(sdev, qdepth); in snic_slave_configure()
99 snic_change_queue_depth(struct scsi_device *sdev, int qdepth) in snic_change_queue_depth() argument
103 qsz = min_t(u32, qdepth, SNIC_MAX_QUEUE_DEPTH); in snic_change_queue_depth()
/linux-4.4.14/drivers/s390/crypto/
Dzcrypt_api.h58 unsigned char qdepth[64]; member
Dzcrypt_api.c713 static void zcrypt_qdepth_mask(char qdepth[AP_DEVICES]) in zcrypt_qdepth_mask()
717 memset(qdepth, 0, sizeof(char) * AP_DEVICES); in zcrypt_qdepth_mask()
721 qdepth[AP_QID_DEVICE(zdev->ap_dev->qid)] = in zcrypt_qdepth_mask()
808 zcrypt_qdepth_mask(pstat->qdepth); in zcrypt_ica_status()
899 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl() local
900 zcrypt_qdepth_mask(qdepth); in zcrypt_unlocked_ioctl()
901 if (copy_to_user((char __user *) arg, qdepth, in zcrypt_unlocked_ioctl()
/linux-4.4.14/drivers/scsi/be2iscsi/
Dbe_iscsi.h55 uint16_t qdepth,
Dbe_iscsi.c42 u16 qdepth, in beiscsi_session_create() argument
/linux-4.4.14/drivers/scsi/dpt/
Ddpti_ioctl.h90 int qdepth; /* Controller queue depth. */ member
/linux-4.4.14/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.4.14/Documentation/block/
Dnull_blk.txt63 hw_queue_depth=[0..qdepth]: Default: 64
/linux-4.4.14/drivers/infiniband/ulp/iser/
Discsi_iser.c607 uint16_t cmds_max, uint16_t qdepth, in iscsi_iser_session_create() argument
621 shost->cmd_per_lun = qdepth; in iscsi_iser_session_create()
/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c1201 scsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in scsih_change_queue_depth() argument
1237 if (qdepth > max_depth) in scsih_change_queue_depth()
1238 qdepth = max_depth; in scsih_change_queue_depth()
1239 return scsi_change_queue_depth(sdev, qdepth); in scsih_change_queue_depth()
1804 int qdepth; in scsih_slave_configure() local
1811 qdepth = 1; in scsih_slave_configure()
1850 qdepth = MPT3SAS_SAS_QUEUE_DEPTH; in scsih_slave_configure()
1853 qdepth = MPT3SAS_SATA_QUEUE_DEPTH; in scsih_slave_configure()
1866 qdepth = MPT3SAS_RAID_QUEUE_DEPTH; in scsih_slave_configure()
1876 qdepth = MPT3SAS_RAID_QUEUE_DEPTH; in scsih_slave_configure()
[all …]
/linux-4.4.14/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.4.14/include/scsi/
Dscsi_transport_iscsi.h93 uint16_t cmds_max, uint16_t qdepth,
/linux-4.4.14/drivers/scsi/cxlflash/
Dmain.c1985 static int cxlflash_change_queue_depth(struct scsi_device *sdev, int qdepth) in cxlflash_change_queue_depth() argument
1988 if (qdepth > CXLFLASH_MAX_CMDS_PER_LUN) in cxlflash_change_queue_depth()
1989 qdepth = CXLFLASH_MAX_CMDS_PER_LUN; in cxlflash_change_queue_depth()
1991 scsi_change_queue_depth(sdev, qdepth); in cxlflash_change_queue_depth()
/linux-4.4.14/drivers/infiniband/ulp/srp/
Dib_srp.c2464 srp_change_queue_depth(struct scsi_device *sdev, int qdepth) in srp_change_queue_depth() argument
2467 qdepth = 1; in srp_change_queue_depth()
2468 return scsi_change_queue_depth(sdev, qdepth); in srp_change_queue_depth()
/linux-4.4.14/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c1288 uint16_t cmds_max, uint16_t qdepth, in bnx2i_session_create() argument
/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.c2574 u16 cmds_max, u16 qdepth, in cxgbi_create_session() argument
/linux-4.4.14/Documentation/scsi/
DChangeLog.lpfc1249 * LP9802 qdepth is twice the LP9802DC qdepth. Delay
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_os.c137 uint16_t qdepth, uint32_t initial_cmdsn);
3039 uint16_t cmds_max, uint16_t qdepth, in qla4xxx_session_create() argument