| /linux/drivers/scsi/aic94xx/ |
| H 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()
|
| /linux/drivers/scsi/snic/ |
| H 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()
|
| /linux/drivers/s390/crypto/ |
| H A D | zcrypt_api.c | 1382 static void zcrypt_qdepth_mask(char qdepth[], size_t max_adapters) in zcrypt_qdepth_mask() argument 1388 memset(qdepth, 0, max_adapters); in zcrypt_qdepth_mask() 1398 qdepth[card] = in zcrypt_qdepth_mask() 1646 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl() local 1648 zcrypt_qdepth_mask(qdepth, AP_DEVICES); in zcrypt_unlocked_ioctl() 1649 if (copy_to_user((char __user *)arg, qdepth, sizeof(qdepth))) in zcrypt_unlocked_ioctl() 1705 char qdepth[MAX_ZDEV_CARDIDS]; in zcrypt_unlocked_ioctl() local 1707 zcrypt_qdepth_mask(qdepth, MAX_ZDEV_CARDIDS); in zcrypt_unlocked_ioctl() 1708 if (copy_to_user((char __user *)arg, qdepth, sizeof(qdepth))) in zcrypt_unlocked_ioctl()
|
| /linux/drivers/scsi/be2iscsi/ |
| H A D | be_iscsi.h | 38 uint16_t qdepth,
|
| H A D | be_iscsi.c | 37 u16 qdepth, in beiscsi_session_create() argument
|
| /linux/drivers/scsi/leapraid/ |
| H A D | leapraid_os.c | 1632 static int leapraid_calc_max_queue_depth(struct scsi_device *sdev, int qdepth) in leapraid_calc_max_queue_depth() argument 1695 if (qdepth > max_depth) in leapraid_calc_max_queue_depth() 1696 qdepth = max_depth; in leapraid_calc_max_queue_depth() 1698 return qdepth; in leapraid_calc_max_queue_depth() 1701 int leapraid_change_queue_depth(struct scsi_device *sdev, int qdepth) in leapraid_change_queue_depth() argument 1703 qdepth = leapraid_calc_max_queue_depth(sdev, qdepth); in leapraid_change_queue_depth() 1704 scsi_change_queue_depth(sdev, qdepth); in leapraid_change_queue_depth()
|
| H A D | leapraid_func.h | 1443 int leapraid_change_queue_depth(struct scsi_device *sdev, int qdepth);
|
| H A D | leapraid_func.c | 4682 u16 qdepth; in leapraid_update_dev_qdepth() local 4691 qdepth = (sas_dev->port_connection > 1) ? in leapraid_update_dev_qdepth() 4696 qdepth = attr->sata_max_queue_depth; in leapraid_update_dev_qdepth() 4700 leapraid_change_queue_depth(sdev, qdepth); in leapraid_update_dev_qdepth()
|
| /linux/drivers/infiniband/ulp/iser/ |
| H 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()
|
| /linux/drivers/scsi/mpt3sas/ |
| H A D | mpt3sas_scsih.c | 1853 scsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in scsih_change_queue_depth() argument 1895 if (qdepth > max_depth) in scsih_change_queue_depth() 1896 qdepth = max_depth; in scsih_change_queue_depth() 1897 scsi_change_queue_depth(sdev, qdepth); in scsih_change_queue_depth() 1913 mpt3sas_scsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in mpt3sas_scsih_change_queue_depth() argument 1919 qdepth = shost->can_queue; in mpt3sas_scsih_change_queue_depth() 1921 scsih_change_queue_depth(sdev, qdepth); in mpt3sas_scsih_change_queue_depth() 2580 int qdepth; in scsih_sdev_configure() local 2589 qdepth = 1; in scsih_sdev_configure() 2628 qdepth = MPT3SAS_SAS_QUEUE_DEPTH; in scsih_sdev_configure() [all …]
|
| H A D | mpt3sas_ctl.c | 4197 int qdepth; in enable_sdev_max_qd_store() local 4223 qdepth = in enable_sdev_max_qd_store() 4226 qdepth = in enable_sdev_max_qd_store() 4234 qdepth = MPT3SAS_RAID_QUEUE_DEPTH; in enable_sdev_max_qd_store() 4238 qdepth = ioc->max_nvme_qd; in enable_sdev_max_qd_store() 4240 qdepth = (sas_target_priv_data->sas_dev->port_type > 1) ? in enable_sdev_max_qd_store() 4243 mpt3sas_scsih_change_queue_depth(sdev, qdepth); in enable_sdev_max_qd_store()
|
| /linux/Documentation/block/ |
| H A D | null_blk.rst | 72 hw_queue_depth=[0..qdepth]: Default: 64
|
| /linux/drivers/scsi/ |
| H 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()
|
| H A 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() 5812 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth) in hpsa_change_queue_depth() argument 5819 if (qdepth < 1) in hpsa_change_queue_depth() 5820 qdepth = 1; in hpsa_change_queue_depth() 5821 else if (qdepth > logical_drive->queue_depth) in hpsa_change_queue_depth() 5822 qdepth = logical_drive->queue_depth; in hpsa_change_queue_depth() [all …]
|
| H A D | scsi_debug.c | 7160 int qdepth = cmnd->device->queue_depth; in schedule_resp() local 7162 if ((num_in_q == qdepth) && in schedule_resp() 8921 static int sdebug_change_qdepth(struct scsi_device *sdev, int qdepth) in sdebug_change_qdepth() argument 8931 if (qdepth > SDEBUG_CANQUEUE) { in sdebug_change_qdepth() 8932 qdepth = SDEBUG_CANQUEUE; in sdebug_change_qdepth() 8934 qdepth, SDEBUG_CANQUEUE); in sdebug_change_qdepth() 8936 if (qdepth < 1) in sdebug_change_qdepth() 8937 qdepth = 1; in sdebug_change_qdepth() 8938 if (qdepth != sdev->queue_depth) in sdebug_change_qdepth() 8939 scsi_change_queue_depth(sdev, qdepth); in sdebug_change_qdepth() [all …]
|
| H A D | ipr.c | 4409 static int ipr_change_queue_depth(struct scsi_device *sdev, int qdepth) in ipr_change_queue_depth() argument 4411 scsi_change_queue_depth(sdev, qdepth); in ipr_change_queue_depth()
|
| /linux/drivers/scsi/ibmvscsi/ |
| H A D | ibmvscsi.c | 1896 static int ibmvscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in ibmvscsi_change_queue_depth() argument 1898 if (qdepth > IBMVSCSI_MAX_CMDS_PER_LUN) in ibmvscsi_change_queue_depth() 1899 qdepth = IBMVSCSI_MAX_CMDS_PER_LUN; in ibmvscsi_change_queue_depth() 1900 return scsi_change_queue_depth(sdev, qdepth); in ibmvscsi_change_queue_depth()
|
| H A D | ibmvfc-core.c | 3570 static int ibmvfc_change_queue_depth(struct scsi_device *sdev, int qdepth) in ibmvfc_change_queue_depth() argument 3572 if (qdepth > IBMVFC_MAX_CMDS_PER_LUN) in ibmvfc_change_queue_depth() 3573 qdepth = IBMVFC_MAX_CMDS_PER_LUN; in ibmvfc_change_queue_depth() 3575 return scsi_change_queue_depth(sdev, qdepth); in ibmvfc_change_queue_depth()
|
| /linux/drivers/infiniband/ulp/srp/ |
| H A D | ib_srp.c | 2747 srp_change_queue_depth(struct scsi_device *sdev, int qdepth) in srp_change_queue_depth() argument 2750 qdepth = 1; in srp_change_queue_depth() 2751 return scsi_change_queue_depth(sdev, qdepth); in srp_change_queue_depth()
|
| /linux/drivers/scsi/qedi/ |
| H A D | qedi_iscsi.c | 240 u16 qdepth, uint32_t initial_cmdsn) in qedi_session_create() argument
|
| /linux/drivers/scsi/bnx2i/ |
| H A D | bnx2i_iscsi.c | 1285 uint16_t cmds_max, uint16_t qdepth, in bnx2i_session_create() argument
|
| /linux/Documentation/scsi/ |
| H A D | ChangeLog.lpfc | 1249 * LP9802 qdepth is twice the LP9802DC qdepth. Delay
|
| /linux/drivers/scsi/cxgbi/ |
| H A D | libcxgbi.c | 2727 u16 cmds_max, u16 qdepth, in cxgbi_create_session() argument
|
| /linux/drivers/scsi/qla4xxx/ |
| H A D | ql4_os.c | 136 uint16_t qdepth, uint32_t initial_cmdsn); 3091 uint16_t cmds_max, uint16_t qdepth, in qla4xxx_session_create() argument
|