/linux-6.12.1/drivers/scsi/ |
D | BusLogic.c | 1644 unsigned char qdepth = 0; in blogic_rdconfig() local 1646 adapter->drvr_opts->qdepth[tgt_id] > 0) in blogic_rdconfig() 1647 qdepth = adapter->drvr_opts->qdepth[tgt_id]; in blogic_rdconfig() 1648 adapter->qdepth[tgt_id] = qdepth; in blogic_rdconfig() 1810 if (adapter->qdepth[tgt_id] != adapter->qdepth[0]) { in blogic_reportconfig() 1815 if (adapter->qdepth[0] > 0) in blogic_reportconfig() 1816 blogic_info("%d", adapter, adapter->qdepth[0]); in blogic_reportconfig() 2168 int qdepth = adapter->qdepth[tgt_id]; in blogic_slaveconfig() local 2172 if (qdepth == 0) in blogic_slaveconfig() 2173 qdepth = BLOGIC_MAX_AUTO_TAG_DEPTH; in blogic_slaveconfig() [all …]
|
D | BusLogic.h | 885 unsigned char qdepth[BLOGIC_MAXDEV]; member 1048 unsigned char qdepth[BLOGIC_MAXDEV]; member
|
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()
|
D | iscsi_tcp.c | 923 uint16_t qdepth, uint32_t initial_cmdsn) in iscsi_sw_tcp_session_create() argument 941 shost->cmd_per_lun = qdepth; in iscsi_sw_tcp_session_create()
|
D | virtio_scsi.c | 695 static int virtscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in virtscsi_change_queue_depth() argument 700 return scsi_change_queue_depth(sdev, min(max_depth, qdepth)); in virtscsi_change_queue_depth()
|
D | scsi_debug.c | 6429 int qdepth = cmnd->device->queue_depth; in schedule_resp() local 6431 if ((num_in_q == qdepth) && in schedule_resp() 8213 static int sdebug_change_qdepth(struct scsi_device *sdev, int qdepth) in sdebug_change_qdepth() argument 8223 if (qdepth > SDEBUG_CANQUEUE) { in sdebug_change_qdepth() 8224 qdepth = SDEBUG_CANQUEUE; in sdebug_change_qdepth() 8226 qdepth, SDEBUG_CANQUEUE); in sdebug_change_qdepth() 8228 if (qdepth < 1) in sdebug_change_qdepth() 8229 qdepth = 1; in sdebug_change_qdepth() 8230 if (qdepth != sdev->queue_depth) in sdebug_change_qdepth() 8231 scsi_change_queue_depth(sdev, qdepth); in sdebug_change_qdepth() [all …]
|
D | hpsa.c | 283 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth); 1715 int qdepth; in hpsa_figure_phys_disk_ptrs() local 1722 qdepth = 0; in hpsa_figure_phys_disk_ptrs() 1740 qdepth = min(h->nr_cmds, qdepth + in hpsa_figure_phys_disk_ptrs() 1767 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs() 5821 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth) in hpsa_change_queue_depth() argument 5828 if (qdepth < 1) in hpsa_change_queue_depth() 5829 qdepth = 1; in hpsa_change_queue_depth() 5830 else if (qdepth > logical_drive->queue_depth) in hpsa_change_queue_depth() 5831 qdepth = logical_drive->queue_depth; in hpsa_change_queue_depth() [all …]
|
/linux-6.12.1/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-6.12.1/drivers/block/rnbd/ |
D | rnbd-srv-trace.h | 24 __field(int, qdepth) 29 __entry->qdepth = srv->queue_depth; 35 __entry->qdepth
|
/linux-6.12.1/drivers/usb/storage/ |
D | uas.c | 42 int qdepth, resetting; member 112 for (i = 0; i < devinfo->qdepth; i++) { in uas_do_work() 161 for (i = 0; i < devinfo->qdepth; i++) { in uas_zap_pending() 664 for (idx = 0; idx < devinfo->qdepth; idx++) { in uas_queuecommand_lck() 668 if (idx == devinfo->qdepth) { in uas_queuecommand_lck() 899 scsi_change_queue_depth(sdev, devinfo->qdepth - 2); in uas_device_configure() 973 devinfo->qdepth = 32; in uas_configure_endpoints() 976 devinfo->qdepth = usb_alloc_streams(devinfo->intf, eps + 1, in uas_configure_endpoints() 978 if (devinfo->qdepth < 0) in uas_configure_endpoints() 979 return devinfo->qdepth; in uas_configure_endpoints() [all …]
|
/linux-6.12.1/drivers/scsi/snic/ |
D | snic_main.c | 67 u32 qdepth = 0, max_ios = 0; in snic_slave_configure() local 72 qdepth = min_t(u32, max_ios, SNIC_MAX_QUEUE_DEPTH); in snic_slave_configure() 73 scsi_change_queue_depth(sdev, qdepth); in snic_slave_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-6.12.1/drivers/scsi/be2iscsi/ |
D | be_iscsi.h | 38 uint16_t qdepth,
|
D | be_iscsi.c | 37 u16 qdepth, in beiscsi_session_create() argument
|
/linux-6.12.1/drivers/s390/crypto/ |
D | zcrypt_api.c | 1365 static void zcrypt_qdepth_mask(char qdepth[], size_t max_adapters) in zcrypt_qdepth_mask() argument 1371 memset(qdepth, 0, max_adapters); in zcrypt_qdepth_mask() 1381 qdepth[card] = in zcrypt_qdepth_mask() 1626 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl() local 1628 zcrypt_qdepth_mask(qdepth, AP_DEVICES); in zcrypt_unlocked_ioctl() 1629 if (copy_to_user((char __user *)arg, qdepth, sizeof(qdepth))) in zcrypt_unlocked_ioctl() 1685 char qdepth[MAX_ZDEV_CARDIDS]; in zcrypt_unlocked_ioctl() local 1687 zcrypt_qdepth_mask(qdepth, MAX_ZDEV_CARDIDS); in zcrypt_unlocked_ioctl() 1688 if (copy_to_user((char __user *)arg, qdepth, sizeof(qdepth))) in zcrypt_unlocked_ioctl()
|
/linux-6.12.1/drivers/message/fusion/ |
D | mptscsih.h | 132 extern int mptscsih_change_queue_depth(struct scsi_device *sdev, int qdepth);
|
D | mptscsih.c | 2364 mptscsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in mptscsih_change_queue_depth() argument 2389 if (qdepth > max_depth) in mptscsih_change_queue_depth() 2390 qdepth = max_depth; in mptscsih_change_queue_depth() 2392 return scsi_change_queue_depth(sdev, qdepth); in mptscsih_change_queue_depth()
|
/linux-6.12.1/drivers/scsi/mpt3sas/ |
D | mpt3sas_scsih.c | 1789 scsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in scsih_change_queue_depth() argument 1831 if (qdepth > max_depth) in scsih_change_queue_depth() 1832 qdepth = max_depth; in scsih_change_queue_depth() 1833 scsi_change_queue_depth(sdev, qdepth); in scsih_change_queue_depth() 1849 mpt3sas_scsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in mpt3sas_scsih_change_queue_depth() argument 1855 qdepth = shost->can_queue; in mpt3sas_scsih_change_queue_depth() 1857 scsih_change_queue_depth(sdev, qdepth); in mpt3sas_scsih_change_queue_depth() 2518 int qdepth; in scsih_device_configure() local 2525 qdepth = 1; in scsih_device_configure() 2564 qdepth = MPT3SAS_SAS_QUEUE_DEPTH; in scsih_device_configure() [all …]
|
D | mpt3sas_ctl.c | 3928 int qdepth; in enable_sdev_max_qd_store() local 3954 qdepth = in enable_sdev_max_qd_store() 3957 qdepth = in enable_sdev_max_qd_store() 3965 qdepth = MPT3SAS_RAID_QUEUE_DEPTH; in enable_sdev_max_qd_store() 3969 qdepth = ioc->max_nvme_qd; in enable_sdev_max_qd_store() 3971 qdepth = (sas_target_priv_data->sas_dev->port_type > 1) ? in enable_sdev_max_qd_store() 3974 mpt3sas_scsih_change_queue_depth(sdev, qdepth); in enable_sdev_max_qd_store()
|
/linux-6.12.1/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.c | 605 uint16_t cmds_max, uint16_t qdepth, in iscsi_iser_session_create() argument 619 shost->cmd_per_lun = qdepth; in iscsi_iser_session_create()
|
/linux-6.12.1/Documentation/block/ |
D | null_blk.rst | 72 hw_queue_depth=[0..qdepth]: Default: 64
|
/linux-6.12.1/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()
|
/linux-6.12.1/block/ |
D | mq-deadline.c | 496 static int dd_to_word_depth(struct blk_mq_hw_ctx *hctx, unsigned int qdepth) in dd_to_word_depth() argument 501 return ((qdepth << bt->sb.shift) + nrr - 1) / nrr; in dd_to_word_depth()
|
/linux-6.12.1/include/scsi/ |
D | scsi_transport_iscsi.h | 80 uint16_t cmds_max, uint16_t qdepth,
|
/linux-6.12.1/drivers/scsi/cxlflash/ |
D | main.c | 2542 static int cxlflash_change_queue_depth(struct scsi_device *sdev, int qdepth) in cxlflash_change_queue_depth() argument 2545 if (qdepth > CXLFLASH_MAX_CMDS_PER_LUN) in cxlflash_change_queue_depth() 2546 qdepth = CXLFLASH_MAX_CMDS_PER_LUN; in cxlflash_change_queue_depth() 2548 scsi_change_queue_depth(sdev, qdepth); in cxlflash_change_queue_depth()
|
/linux-6.12.1/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 2707 srp_change_queue_depth(struct scsi_device *sdev, int qdepth) in srp_change_queue_depth() argument 2710 qdepth = 1; in srp_change_queue_depth() 2711 return scsi_change_queue_depth(sdev, qdepth); in srp_change_queue_depth()
|