/Linux-v5.10/drivers/scsi/ |
D | BusLogic.c | 1768 unsigned char qdepth = 0; in blogic_rdconfig() local 1770 adapter->drvr_opts->qdepth[tgt_id] > 0) in blogic_rdconfig() 1771 qdepth = adapter->drvr_opts->qdepth[tgt_id]; in blogic_rdconfig() 1773 qdepth = BLOGIC_TAG_DEPTH_BB; in blogic_rdconfig() 1774 adapter->qdepth[tgt_id] = qdepth; in blogic_rdconfig() 1943 if (adapter->qdepth[tgt_id] != adapter->qdepth[0]) { in blogic_reportconfig() 1948 if (adapter->qdepth[0] > 0) in blogic_reportconfig() 1949 blogic_info("%d", adapter, adapter->qdepth[0]); in blogic_reportconfig() 2319 int qdepth = adapter->qdepth[tgt_id]; in blogic_slaveconfig() local 2323 if (qdepth == 0) in blogic_slaveconfig() [all …]
|
D | BusLogic.h | 893 unsigned char qdepth[BLOGIC_MAXDEV]; member 1059 unsigned char qdepth[BLOGIC_MAXDEV]; member
|
D | vmw_pvscsi.c | 534 static int pvscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in pvscsi_change_queue_depth() argument 537 qdepth = 1; in pvscsi_change_queue_depth() 538 return scsi_change_queue_depth(sdev, qdepth); in pvscsi_change_queue_depth()
|
D | iscsi_tcp.c | 844 uint16_t qdepth, uint32_t initial_cmdsn) in iscsi_sw_tcp_session_create() argument 861 shost->cmd_per_lun = qdepth; in iscsi_sw_tcp_session_create()
|
D | virtio_scsi.c | 685 static int virtscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in virtscsi_change_queue_depth() argument 690 return scsi_change_queue_depth(sdev, min(max_depth, qdepth)); in virtscsi_change_queue_depth()
|
D | scsi_debug.c | 5366 int k, num_in_q, qdepth; in schedule_resp() local 5391 qdepth = cmnd->device->queue_depth; in schedule_resp() 5392 if (unlikely((qdepth > 0) && (num_in_q >= qdepth))) { in schedule_resp() 5401 if ((num_in_q == (qdepth - 1)) && in schedule_resp() 7118 static int sdebug_change_qdepth(struct scsi_device *sdev, int qdepth) in sdebug_change_qdepth() argument 7131 if (qdepth < 1) in sdebug_change_qdepth() 7132 qdepth = 1; in sdebug_change_qdepth() 7134 if (qdepth > SDEBUG_CANQUEUE + 10) in sdebug_change_qdepth() 7135 qdepth = SDEBUG_CANQUEUE + 10; in sdebug_change_qdepth() 7136 scsi_change_queue_depth(sdev, qdepth); in sdebug_change_qdepth() [all …]
|
D | hpsa.c | 284 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth); 1709 int qdepth; in hpsa_figure_phys_disk_ptrs() local 1716 qdepth = 0; in hpsa_figure_phys_disk_ptrs() 1734 qdepth = min(h->nr_cmds, qdepth + in hpsa_figure_phys_disk_ptrs() 1761 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs() 5805 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth) in hpsa_change_queue_depth() argument 5812 if (qdepth < 1) in hpsa_change_queue_depth() 5813 qdepth = 1; in hpsa_change_queue_depth() 5814 else if (qdepth > logical_drive->queue_depth) in hpsa_change_queue_depth() 5815 qdepth = logical_drive->queue_depth; in hpsa_change_queue_depth() [all …]
|
/Linux-v5.10/drivers/scsi/aic94xx/ |
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()
|
/Linux-v5.10/drivers/usb/storage/ |
D | uas.c | 41 int qdepth, resetting; member 111 for (i = 0; i < devinfo->qdepth; i++) { in uas_do_work() 161 for (i = 0; i < devinfo->qdepth; i++) { in uas_zap_pending() 669 for (idx = 0; idx < devinfo->qdepth; idx++) { in uas_queuecommand_lck() 673 if (idx == devinfo->qdepth) { in uas_queuecommand_lck() 896 scsi_change_queue_depth(sdev, devinfo->qdepth - 2); in uas_slave_configure() 963 devinfo->qdepth = 32; in uas_configure_endpoints() 966 devinfo->qdepth = usb_alloc_streams(devinfo->intf, eps + 1, in uas_configure_endpoints() 968 if (devinfo->qdepth < 0) in uas_configure_endpoints() 969 return devinfo->qdepth; in uas_configure_endpoints() [all …]
|
/Linux-v5.10/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-v5.10/drivers/s390/crypto/ |
D | zcrypt_api.c | 1307 static void zcrypt_qdepth_mask(char qdepth[], size_t max_adapters) in zcrypt_qdepth_mask() argument 1313 memset(qdepth, 0, max_adapters); in zcrypt_qdepth_mask() 1323 qdepth[card] = in zcrypt_qdepth_mask() 1622 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl() local 1624 zcrypt_qdepth_mask(qdepth, AP_DEVICES); in zcrypt_unlocked_ioctl() 1625 if (copy_to_user((char __user *) arg, qdepth, sizeof(qdepth))) in zcrypt_unlocked_ioctl() 1681 char qdepth[MAX_ZDEV_CARDIDS]; in zcrypt_unlocked_ioctl() local 1683 zcrypt_qdepth_mask(qdepth, MAX_ZDEV_CARDIDS); in zcrypt_unlocked_ioctl() 1684 if (copy_to_user((char __user *) arg, qdepth, sizeof(qdepth))) in zcrypt_unlocked_ioctl()
|
/Linux-v5.10/drivers/scsi/be2iscsi/ |
D | be_iscsi.h | 38 uint16_t qdepth,
|
D | be_iscsi.c | 37 u16 qdepth, in beiscsi_session_create() argument
|
/Linux-v5.10/drivers/scsi/dpt/ |
D | dpti_ioctl.h | 87 int qdepth; /* Controller queue depth. */ member
|
/Linux-v5.10/drivers/message/fusion/ |
D | mptscsih.h | 131 extern int mptscsih_change_queue_depth(struct scsi_device *sdev, int qdepth);
|
D | mptscsih.c | 2313 mptscsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in mptscsih_change_queue_depth() argument 2338 if (qdepth > max_depth) in mptscsih_change_queue_depth() 2339 qdepth = max_depth; in mptscsih_change_queue_depth() 2341 return scsi_change_queue_depth(sdev, qdepth); in mptscsih_change_queue_depth()
|
/Linux-v5.10/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.c | 607 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-v5.10/Documentation/block/ |
D | null_blk.rst | 72 hw_queue_depth=[0..qdepth]: Default: 64
|
/Linux-v5.10/drivers/scsi/mpt3sas/ |
D | mpt3sas_scsih.c | 1623 scsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in scsih_change_queue_depth() argument 1665 if (qdepth > max_depth) in scsih_change_queue_depth() 1666 qdepth = max_depth; in scsih_change_queue_depth() 1667 scsi_change_queue_depth(sdev, qdepth); in scsih_change_queue_depth() 1683 mpt3sas_scsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in mpt3sas_scsih_change_queue_depth() argument 1689 qdepth = shost->can_queue; in mpt3sas_scsih_change_queue_depth() 1691 scsih_change_queue_depth(sdev, qdepth); in mpt3sas_scsih_change_queue_depth() 2350 int qdepth; in scsih_slave_configure() local 2357 qdepth = 1; in scsih_slave_configure() 2396 qdepth = MPT3SAS_SAS_QUEUE_DEPTH; in scsih_slave_configure() [all …]
|
D | mpt3sas_ctl.c | 3724 int qdepth; in enable_sdev_max_qd_store() local 3750 qdepth = in enable_sdev_max_qd_store() 3753 qdepth = in enable_sdev_max_qd_store() 3761 qdepth = MPT3SAS_RAID_QUEUE_DEPTH; in enable_sdev_max_qd_store() 3765 qdepth = MPT3SAS_NVME_QUEUE_DEPTH; in enable_sdev_max_qd_store() 3767 qdepth = MPT3SAS_SAS_QUEUE_DEPTH; in enable_sdev_max_qd_store() 3769 mpt3sas_scsih_change_queue_depth(sdev, qdepth); in enable_sdev_max_qd_store()
|
D | mpt3sas_base.h | 1644 void mpt3sas_scsih_change_queue_depth(struct scsi_device *sdev, int qdepth);
|
/Linux-v5.10/include/scsi/ |
D | scsi_transport_iscsi.h | 80 uint16_t cmds_max, uint16_t qdepth,
|
/Linux-v5.10/drivers/scsi/ibmvscsi/ |
D | ibmvscsi.c | 1892 static int ibmvscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in ibmvscsi_change_queue_depth() argument 1894 if (qdepth > IBMVSCSI_MAX_CMDS_PER_LUN) in ibmvscsi_change_queue_depth() 1895 qdepth = IBMVSCSI_MAX_CMDS_PER_LUN; in ibmvscsi_change_queue_depth() 1896 return scsi_change_queue_depth(sdev, qdepth); in ibmvscsi_change_queue_depth()
|
D | ibmvfc.c | 2975 static int ibmvfc_change_queue_depth(struct scsi_device *sdev, int qdepth) in ibmvfc_change_queue_depth() argument 2977 if (qdepth > IBMVFC_MAX_CMDS_PER_LUN) in ibmvfc_change_queue_depth() 2978 qdepth = IBMVFC_MAX_CMDS_PER_LUN; in ibmvfc_change_queue_depth() 2980 return scsi_change_queue_depth(sdev, qdepth); in ibmvfc_change_queue_depth()
|
/Linux-v5.10/drivers/scsi/cxlflash/ |
D | main.c | 2560 static int cxlflash_change_queue_depth(struct scsi_device *sdev, int qdepth) in cxlflash_change_queue_depth() argument 2563 if (qdepth > CXLFLASH_MAX_CMDS_PER_LUN) in cxlflash_change_queue_depth() 2564 qdepth = CXLFLASH_MAX_CMDS_PER_LUN; in cxlflash_change_queue_depth() 2566 scsi_change_queue_depth(sdev, qdepth); in cxlflash_change_queue_depth()
|