/Linux-v4.19/drivers/scsi/ |
D | BusLogic.c | 1773 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 …]
|
D | BusLogic.h | 900 unsigned char qdepth[BLOGIC_MAXDEV]; member 1066 unsigned char qdepth[BLOGIC_MAXDEV]; member
|
D | scsi_debug.c | 4350 int k, num_in_q, qdepth, inject; in schedule_resp() local 4374 qdepth = cmnd->device->queue_depth; in schedule_resp() 4376 if (unlikely((qdepth > 0) && (num_in_q >= qdepth))) { in schedule_resp() 4385 if ((num_in_q == (qdepth - 1)) && in schedule_resp() 5623 static int sdebug_change_qdepth(struct scsi_device *sdev, int qdepth) in sdebug_change_qdepth() argument 5636 if (qdepth < 1) in sdebug_change_qdepth() 5637 qdepth = 1; in sdebug_change_qdepth() 5639 if (qdepth > SDEBUG_CANQUEUE + 10) in sdebug_change_qdepth() 5640 qdepth = SDEBUG_CANQUEUE + 10; in sdebug_change_qdepth() 5641 scsi_change_queue_depth(sdev, qdepth); in sdebug_change_qdepth() [all …]
|
D | iscsi_tcp.c | 832 uint16_t qdepth, uint32_t initial_cmdsn) in iscsi_sw_tcp_session_create() argument 849 shost->cmd_per_lun = qdepth; in iscsi_sw_tcp_session_create()
|
D | vmw_pvscsi.c | 523 static int pvscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in pvscsi_change_queue_depth() argument 526 qdepth = 1; in pvscsi_change_queue_depth() 527 return scsi_change_queue_depth(sdev, qdepth); in pvscsi_change_queue_depth()
|
D | virtio_scsi.c | 664 static int virtscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in virtscsi_change_queue_depth() argument 669 return scsi_change_queue_depth(sdev, min(max_depth, qdepth)); in virtscsi_change_queue_depth()
|
D | hpsa.c | 277 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth); 1703 int qdepth; in hpsa_figure_phys_disk_ptrs() local 1710 qdepth = 0; in hpsa_figure_phys_disk_ptrs() 1728 qdepth = min(h->nr_cmds, qdepth + in hpsa_figure_phys_disk_ptrs() 1756 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs() 5706 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth) in hpsa_change_queue_depth() argument 5713 if (qdepth < 1) in hpsa_change_queue_depth() 5714 qdepth = 1; in hpsa_change_queue_depth() 5715 else if (qdepth > logical_drive->queue_depth) in hpsa_change_queue_depth() 5716 qdepth = logical_drive->queue_depth; in hpsa_change_queue_depth() [all …]
|
/Linux-v4.19/drivers/scsi/aic94xx/ |
D | aic94xx_dev.c | 117 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-v4.19/drivers/usb/storage/ |
D | uas.c | 41 int qdepth, resetting; member 97 for (i = 0; i < devinfo->qdepth; i++) { in uas_do_work() 136 for (i = 0; i < devinfo->qdepth; i++) { in uas_zap_pending() 649 for (idx = 0; idx < devinfo->qdepth; idx++) { in uas_queuecommand_lck() 653 if (idx == devinfo->qdepth) { in uas_queuecommand_lck() 866 scsi_change_queue_depth(sdev, devinfo->qdepth - 2); in uas_slave_configure() 933 devinfo->qdepth = 32; in uas_configure_endpoints() 936 devinfo->qdepth = usb_alloc_streams(devinfo->intf, eps + 1, in uas_configure_endpoints() 938 if (devinfo->qdepth < 0) in uas_configure_endpoints() 939 return devinfo->qdepth; in uas_configure_endpoints() [all …]
|
/Linux-v4.19/drivers/s390/crypto/ |
D | zcrypt_api.c | 692 static void zcrypt_qdepth_mask(char qdepth[], size_t max_adapters) in zcrypt_qdepth_mask() argument 698 memset(qdepth, 0, max_adapters); in zcrypt_qdepth_mask() 708 qdepth[card] = in zcrypt_qdepth_mask() 898 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl() local 900 zcrypt_qdepth_mask(qdepth, AP_DEVICES); in zcrypt_unlocked_ioctl() 901 if (copy_to_user((char __user *) arg, qdepth, sizeof(qdepth))) in zcrypt_unlocked_ioctl() 956 char qdepth[MAX_ZDEV_CARDIDS]; in zcrypt_unlocked_ioctl() local 958 zcrypt_qdepth_mask(qdepth, MAX_ZDEV_CARDIDS); in zcrypt_unlocked_ioctl() 959 if (copy_to_user((char __user *) arg, qdepth, sizeof(qdepth))) in zcrypt_unlocked_ioctl()
|
/Linux-v4.19/drivers/scsi/snic/ |
D | snic_main.c | 81 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 104 qsz = min_t(u32, qdepth, SNIC_MAX_QUEUE_DEPTH); in snic_change_queue_depth()
|
/Linux-v4.19/drivers/scsi/be2iscsi/ |
D | be_iscsi.h | 43 uint16_t qdepth,
|
D | be_iscsi.c | 40 u16 qdepth, in beiscsi_session_create() argument
|
/Linux-v4.19/drivers/scsi/dpt/ |
D | dpti_ioctl.h | 90 int qdepth; /* Controller queue depth. */ member
|
/Linux-v4.19/drivers/message/fusion/ |
D | mptscsih.h | 131 extern int mptscsih_change_queue_depth(struct scsi_device *sdev, int qdepth);
|
D | mptscsih.c | 2311 mptscsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in mptscsih_change_queue_depth() argument 2336 if (qdepth > max_depth) in mptscsih_change_queue_depth() 2337 qdepth = max_depth; in mptscsih_change_queue_depth() 2339 return scsi_change_queue_depth(sdev, qdepth); in mptscsih_change_queue_depth()
|
/Linux-v4.19/Documentation/block/ |
D | null_blk.txt | 63 hw_queue_depth=[0..qdepth]: Default: 64
|
/Linux-v4.19/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.c | 609 uint16_t cmds_max, uint16_t qdepth, in iscsi_iser_session_create() argument 622 shost->cmd_per_lun = qdepth; in iscsi_iser_session_create()
|
/Linux-v4.19/drivers/scsi/mpt3sas/ |
D | mpt3sas_scsih.c | 1500 scsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in scsih_change_queue_depth() argument 1536 if (qdepth > max_depth) in scsih_change_queue_depth() 1537 qdepth = max_depth; in scsih_change_queue_depth() 1538 return scsi_change_queue_depth(sdev, qdepth); in scsih_change_queue_depth() 2197 int qdepth; in scsih_slave_configure() local 2204 qdepth = 1; in scsih_slave_configure() 2243 qdepth = MPT3SAS_SAS_QUEUE_DEPTH; in scsih_slave_configure() 2246 qdepth = MPT3SAS_SATA_QUEUE_DEPTH; in scsih_slave_configure() 2259 qdepth = MPT3SAS_RAID_QUEUE_DEPTH; in scsih_slave_configure() 2269 qdepth = MPT3SAS_RAID_QUEUE_DEPTH; in scsih_slave_configure() [all …]
|
/Linux-v4.19/drivers/scsi/ibmvscsi/ |
D | ibmvscsi.c | 1886 static int ibmvscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in ibmvscsi_change_queue_depth() argument 1888 if (qdepth > IBMVSCSI_MAX_CMDS_PER_LUN) in ibmvscsi_change_queue_depth() 1889 qdepth = IBMVSCSI_MAX_CMDS_PER_LUN; in ibmvscsi_change_queue_depth() 1890 return scsi_change_queue_depth(sdev, qdepth); in ibmvscsi_change_queue_depth()
|
D | ibmvfc.c | 2908 static int ibmvfc_change_queue_depth(struct scsi_device *sdev, int qdepth) in ibmvfc_change_queue_depth() argument 2910 if (qdepth > IBMVFC_MAX_CMDS_PER_LUN) in ibmvfc_change_queue_depth() 2911 qdepth = IBMVFC_MAX_CMDS_PER_LUN; in ibmvfc_change_queue_depth() 2913 return scsi_change_queue_depth(sdev, qdepth); in ibmvfc_change_queue_depth()
|
/Linux-v4.19/include/scsi/ |
D | scsi_transport_iscsi.h | 93 uint16_t cmds_max, uint16_t qdepth,
|
/Linux-v4.19/drivers/scsi/cxlflash/ |
D | main.c | 2562 static int cxlflash_change_queue_depth(struct scsi_device *sdev, int qdepth) in cxlflash_change_queue_depth() argument 2565 if (qdepth > CXLFLASH_MAX_CMDS_PER_LUN) in cxlflash_change_queue_depth() 2566 qdepth = CXLFLASH_MAX_CMDS_PER_LUN; in cxlflash_change_queue_depth() 2568 scsi_change_queue_depth(sdev, qdepth); in cxlflash_change_queue_depth()
|
/Linux-v4.19/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 2841 srp_change_queue_depth(struct scsi_device *sdev, int qdepth) in srp_change_queue_depth() argument 2844 qdepth = 1; in srp_change_queue_depth() 2845 return scsi_change_queue_depth(sdev, qdepth); in srp_change_queue_depth()
|
/Linux-v4.19/drivers/scsi/qedi/ |
D | qedi_iscsi.c | 243 u16 qdepth, uint32_t initial_cmdsn) in qedi_session_create() argument
|