Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/scsi/
DBusLogic.c1767 unsigned char qdepth = 0; in blogic_rdconfig() local
1769 adapter->drvr_opts->qdepth[tgt_id] > 0) in blogic_rdconfig()
1770 qdepth = adapter->drvr_opts->qdepth[tgt_id]; in blogic_rdconfig()
1772 qdepth = BLOGIC_TAG_DEPTH_BB; in blogic_rdconfig()
1773 adapter->qdepth[tgt_id] = qdepth; in blogic_rdconfig()
1942 if (adapter->qdepth[tgt_id] != adapter->qdepth[0]) { in blogic_reportconfig()
1947 if (adapter->qdepth[0] > 0) in blogic_reportconfig()
1948 blogic_info("%d", adapter, adapter->qdepth[0]); in blogic_reportconfig()
2318 int qdepth = adapter->qdepth[tgt_id]; in blogic_slaveconfig() local
2322 if (qdepth == 0) in blogic_slaveconfig()
[all …]
DBusLogic.h893 unsigned char qdepth[BLOGIC_MAXDEV]; member
1059 unsigned char qdepth[BLOGIC_MAXDEV]; member
Dscsi_debug.c4261 int k, num_in_q, qdepth, inject; in schedule_resp() local
4285 qdepth = cmnd->device->queue_depth; in schedule_resp()
4287 if (unlikely((qdepth > 0) && (num_in_q >= qdepth))) { in schedule_resp()
4296 if ((num_in_q == (qdepth - 1)) && in schedule_resp()
5536 static int sdebug_change_qdepth(struct scsi_device *sdev, int qdepth) in sdebug_change_qdepth() argument
5549 if (qdepth < 1) in sdebug_change_qdepth()
5550 qdepth = 1; in sdebug_change_qdepth()
5552 if (qdepth > SDEBUG_CANQUEUE + 10) in sdebug_change_qdepth()
5553 qdepth = SDEBUG_CANQUEUE + 10; in sdebug_change_qdepth()
5554 scsi_change_queue_depth(sdev, qdepth); in sdebug_change_qdepth()
[all …]
Discsi_tcp.c828 uint16_t qdepth, uint32_t initial_cmdsn) in iscsi_sw_tcp_session_create() argument
845 shost->cmd_per_lun = qdepth; in iscsi_sw_tcp_session_create()
Dvmw_pvscsi.c523 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()
Dvirtio_scsi.c672 static int virtscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in virtscsi_change_queue_depth() argument
677 return scsi_change_queue_depth(sdev, min(max_depth, qdepth)); in virtscsi_change_queue_depth()
Dhpsa.c279 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth);
1698 int qdepth; in hpsa_figure_phys_disk_ptrs() local
1705 qdepth = 0; in hpsa_figure_phys_disk_ptrs()
1723 qdepth = min(h->nr_cmds, qdepth + in hpsa_figure_phys_disk_ptrs()
1751 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs()
5760 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth) in hpsa_change_queue_depth() argument
5767 if (qdepth < 1) in hpsa_change_queue_depth()
5768 qdepth = 1; in hpsa_change_queue_depth()
5769 else if (qdepth > logical_drive->queue_depth) in hpsa_change_queue_depth()
5770 qdepth = logical_drive->queue_depth; in hpsa_change_queue_depth()
[all …]
/Linux-v5.4/drivers/scsi/aic94xx/
Daic94xx_dev.c100 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.4/drivers/usb/storage/
Duas.c41 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()
642 for (idx = 0; idx < devinfo->qdepth; idx++) { in uas_queuecommand_lck()
646 if (idx == devinfo->qdepth) { in uas_queuecommand_lck()
848 scsi_change_queue_depth(sdev, devinfo->qdepth - 2); in uas_slave_configure()
916 devinfo->qdepth = 32; in uas_configure_endpoints()
919 devinfo->qdepth = usb_alloc_streams(devinfo->intf, eps + 1, in uas_configure_endpoints()
921 if (devinfo->qdepth < 0) in uas_configure_endpoints()
922 return devinfo->qdepth; in uas_configure_endpoints()
[all …]
/Linux-v5.4/drivers/s390/crypto/
Dzcrypt_api.c1193 static void zcrypt_qdepth_mask(char qdepth[], size_t max_adapters) in zcrypt_qdepth_mask() argument
1199 memset(qdepth, 0, max_adapters); in zcrypt_qdepth_mask()
1209 qdepth[card] = in zcrypt_qdepth_mask()
1406 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl() local
1408 zcrypt_qdepth_mask(qdepth, AP_DEVICES); in zcrypt_unlocked_ioctl()
1409 if (copy_to_user((char __user *) arg, qdepth, sizeof(qdepth))) in zcrypt_unlocked_ioctl()
1464 char qdepth[MAX_ZDEV_CARDIDS]; in zcrypt_unlocked_ioctl() local
1466 zcrypt_qdepth_mask(qdepth, MAX_ZDEV_CARDIDS); in zcrypt_unlocked_ioctl()
1467 if (copy_to_user((char __user *) arg, qdepth, sizeof(qdepth))) in zcrypt_unlocked_ioctl()
/Linux-v5.4/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
104 qsz = min_t(u32, qdepth, SNIC_MAX_QUEUE_DEPTH); in snic_change_queue_depth()
/Linux-v5.4/drivers/scsi/be2iscsi/
Dbe_iscsi.h38 uint16_t qdepth,
Dbe_iscsi.c36 u16 qdepth, in beiscsi_session_create() argument
/Linux-v5.4/drivers/scsi/dpt/
Ddpti_ioctl.h87 int qdepth; /* Controller queue depth. */ member
/Linux-v5.4/drivers/message/fusion/
Dmptscsih.h131 extern int mptscsih_change_queue_depth(struct scsi_device *sdev, int qdepth);
Dmptscsih.c2313 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.4/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c1513 scsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in scsih_change_queue_depth() argument
1555 if (qdepth > max_depth) in scsih_change_queue_depth()
1556 qdepth = max_depth; in scsih_change_queue_depth()
1557 return scsi_change_queue_depth(sdev, qdepth); in scsih_change_queue_depth()
1568 mpt3sas_scsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in mpt3sas_scsih_change_queue_depth() argument
1574 qdepth = shost->can_queue; in mpt3sas_scsih_change_queue_depth()
1576 scsih_change_queue_depth(sdev, qdepth); in mpt3sas_scsih_change_queue_depth()
2235 int qdepth; in scsih_slave_configure() local
2242 qdepth = 1; in scsih_slave_configure()
2281 qdepth = MPT3SAS_SAS_QUEUE_DEPTH; in scsih_slave_configure()
[all …]
Dmpt3sas_ctl.c3442 int qdepth; in enable_sdev_max_qd_store() local
3468 qdepth = in enable_sdev_max_qd_store()
3471 qdepth = in enable_sdev_max_qd_store()
3479 qdepth = MPT3SAS_RAID_QUEUE_DEPTH; in enable_sdev_max_qd_store()
3483 qdepth = MPT3SAS_NVME_QUEUE_DEPTH; in enable_sdev_max_qd_store()
3485 qdepth = MPT3SAS_SAS_QUEUE_DEPTH; in enable_sdev_max_qd_store()
3487 mpt3sas_scsih_change_queue_depth(sdev, qdepth); in enable_sdev_max_qd_store()
Dmpt3sas_base.h1591 void mpt3sas_scsih_change_queue_depth(struct scsi_device *sdev, int qdepth);
/Linux-v5.4/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-v5.4/Documentation/block/
Dnull_blk.rst72 hw_queue_depth=[0..qdepth]: Default: 64
/Linux-v5.4/drivers/scsi/ibmvscsi/
Dibmvscsi.c1874 static int ibmvscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in ibmvscsi_change_queue_depth() argument
1876 if (qdepth > IBMVSCSI_MAX_CMDS_PER_LUN) in ibmvscsi_change_queue_depth()
1877 qdepth = IBMVSCSI_MAX_CMDS_PER_LUN; in ibmvscsi_change_queue_depth()
1878 return scsi_change_queue_depth(sdev, qdepth); in ibmvscsi_change_queue_depth()
Dibmvfc.c2899 static int ibmvfc_change_queue_depth(struct scsi_device *sdev, int qdepth) in ibmvfc_change_queue_depth() argument
2901 if (qdepth > IBMVFC_MAX_CMDS_PER_LUN) in ibmvfc_change_queue_depth()
2902 qdepth = IBMVFC_MAX_CMDS_PER_LUN; in ibmvfc_change_queue_depth()
2904 return scsi_change_queue_depth(sdev, qdepth); in ibmvfc_change_queue_depth()
/Linux-v5.4/include/scsi/
Dscsi_transport_iscsi.h80 uint16_t cmds_max, uint16_t qdepth,
/Linux-v5.4/drivers/scsi/cxlflash/
Dmain.c2565 static int cxlflash_change_queue_depth(struct scsi_device *sdev, int qdepth) in cxlflash_change_queue_depth() argument
2568 if (qdepth > CXLFLASH_MAX_CMDS_PER_LUN) in cxlflash_change_queue_depth()
2569 qdepth = CXLFLASH_MAX_CMDS_PER_LUN; in cxlflash_change_queue_depth()
2571 scsi_change_queue_depth(sdev, qdepth); in cxlflash_change_queue_depth()

12