Home
last modified time | relevance | path

Searched refs:queue_depth (Results 1 – 25 of 62) sorted by relevance

123

/linux-2.6.39/drivers/target/
Dtarget_core_tpg.c212 if (!acl->queue_depth) { in core_set_queue_depth_for_node()
216 acl->queue_depth = 1; in core_set_queue_depth_for_node()
277 acl->queue_depth = TPG_TFO(tpg)->tpg_get_default_depth(tpg); in core_tpg_check_initiator_node_acl()
306 TPG_TFO(tpg)->tpg_get_tag(tpg), acl->queue_depth, in core_tpg_check_initiator_node_acl()
348 u32 queue_depth) in core_tpg_add_initiator_node_acl() argument
397 acl->queue_depth = queue_depth; in core_tpg_add_initiator_node_acl()
424 TPG_TFO(tpg)->tpg_get_tag(tpg), acl->queue_depth, in core_tpg_add_initiator_node_acl()
480 TPG_TFO(tpg)->tpg_get_tag(tpg), acl->queue_depth, in core_tpg_del_initiator_node_acl()
494 u32 queue_depth, in core_tpg_set_initiator_node_queue_depth() argument
556 acl->queue_depth = queue_depth; in core_tpg_set_initiator_node_queue_depth()
[all …]
Dtarget_core_device.c907 DEV_ATTRIB(dev)->queue_depth = dev_limits->queue_depth; in se_dev_set_default_attribs()
1143 int se_dev_set_queue_depth(struct se_device *dev, u32 queue_depth) in se_dev_set_queue_depth() argument
1145 u32 orig_queue_depth = dev->queue_depth; in se_dev_set_queue_depth()
1153 if (!(queue_depth)) { in se_dev_set_queue_depth()
1160 if (queue_depth > DEV_ATTRIB(dev)->hw_queue_depth) { in se_dev_set_queue_depth()
1163 dev, queue_depth, in se_dev_set_queue_depth()
1168 if (queue_depth > DEV_ATTRIB(dev)->queue_depth) { in se_dev_set_queue_depth()
1169 if (queue_depth > DEV_ATTRIB(dev)->hw_queue_depth) { in se_dev_set_queue_depth()
1172 " TCQ: %u\n", dev, queue_depth, in se_dev_set_queue_depth()
1179 DEV_ATTRIB(dev)->queue_depth = dev->queue_depth = queue_depth; in se_dev_set_queue_depth()
[all …]
Dtarget_core_pscsi.c353 if (!sd->queue_depth) { in pscsi_add_device_to_list()
354 sd->queue_depth = PSCSI_DEFAULT_QUEUEDEPTH; in pscsi_add_device_to_list()
358 sd->lun, sd->queue_depth); in pscsi_add_device_to_list()
371 dev_limits.hw_queue_depth = sd->queue_depth; in pscsi_add_device_to_list()
372 dev_limits.queue_depth = sd->queue_depth; in pscsi_add_device_to_list()
Dtarget_core_file.c226 dev_limits.queue_depth = FD_DEVICE_QUEUE_DEPTH; in fd_create_virtdevice()
235 fd_dev->fd_queue_depth = dev->queue_depth; in fd_create_virtdevice()
Dtarget_core_iblock.c171 dev_limits.queue_depth = IBLOCK_DEVICE_QUEUE_DEPTH; in iblock_create_virtdevice()
183 ib_dev->ibd_depth = dev->queue_depth; in iblock_create_virtdevice()
/linux-2.6.39/drivers/s390/crypto/
Dap_bus.c170 ap_test_queue(ap_qid_t qid, int *queue_depth, int *device_type) in ap_test_queue() argument
179 *queue_depth = (int) (reg2 & 0xff); in ap_test_queue()
463 static int ap_query_queue(ap_qid_t qid, int *queue_depth, int *device_type) in ap_query_queue() argument
473 *queue_depth = t_depth + 1; in ap_query_queue()
610 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->queue_depth); in ap_depth_show()
976 int queue_depth, device_type, count, max_count, best_domain; in ap_select_domain() local
993 rc = ap_query_queue(qid, &queue_depth, &device_type); in ap_select_domain()
1137 int queue_depth, device_type; in ap_scan_bus() local
1147 rc = ap_query_queue(qid, &queue_depth, &device_type); in ap_scan_bus()
1152 rc = ap_query_queue(qid, &queue_depth, in ap_scan_bus()
[all …]
Dap_bus.h137 int queue_depth; /* AP queue depth.*/ member
/linux-2.6.39/drivers/ata/
Dlibata-scsi.c1233 int ata_scsi_change_queue_depth(struct scsi_device *sdev, int queue_depth, in ata_scsi_change_queue_depth() argument
1243 if (queue_depth < 1 || queue_depth == sdev->queue_depth) in ata_scsi_change_queue_depth()
1244 return sdev->queue_depth; in ata_scsi_change_queue_depth()
1248 return sdev->queue_depth; in ata_scsi_change_queue_depth()
1253 if (queue_depth == 1 || !ata_ncq_enabled(dev)) { in ata_scsi_change_queue_depth()
1255 queue_depth = 1; in ata_scsi_change_queue_depth()
1260 queue_depth = min(queue_depth, sdev->host->can_queue); in ata_scsi_change_queue_depth()
1261 queue_depth = min(queue_depth, ata_id_queue_depth(dev->id)); in ata_scsi_change_queue_depth()
1262 queue_depth = min(queue_depth, ATA_MAX_QUEUE - 1); in ata_scsi_change_queue_depth()
1264 if (sdev->queue_depth == queue_depth) in ata_scsi_change_queue_depth()
[all …]
/linux-2.6.39/include/target/
Dtarget_core_base.h587 u32 queue_depth; member
673 u32 queue_depth; member
696 u32 queue_depth; member
759 u32 queue_depth; member
/linux-2.6.39/drivers/scsi/bfa/
Dbfad_im.c93 (bfa_lun_queue_depth > cmnd->device->queue_depth)) { in bfa_cb_ioim_done()
121 if (bfa_lun_queue_depth > cmnd->device->queue_depth) { in bfa_cb_ioim_good_comp()
855 if (bfa_lun_queue_depth > tmp_sdev->queue_depth) { in bfad_ramp_up_qdepth()
861 tmp_sdev->queue_depth + 1); in bfad_ramp_up_qdepth()
865 tmp_sdev->queue_depth + 1); in bfad_ramp_up_qdepth()
883 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); in bfad_handle_qfull()
/linux-2.6.39/include/scsi/
Discsi_if.h91 uint16_t queue_depth; member
97 uint16_t queue_depth; member
Dscsi_device.h83 unsigned short queue_depth; /* How deep of a queue we want */ member
/linux-2.6.39/drivers/message/i2o/
Di2o_block.c904 unsigned int queue_depth; in i2o_block_request_fn() local
906 queue_depth = ireq->i2o_blk_dev->open_queue_depth; in i2o_block_request_fn()
908 if (queue_depth < I2O_BLOCK_MAX_OPEN_REQUESTS) { in i2o_block_request_fn()
916 if (queue_depth) in i2o_block_request_fn()
/linux-2.6.39/drivers/scsi/lpfc/
Dlpfc_scsi.c270 old_queue_depth = sdev->queue_depth; in lpfc_change_queue_depth()
272 new_queue_depth = sdev->queue_depth; in lpfc_change_queue_depth()
279 return sdev->queue_depth; in lpfc_change_queue_depth()
336 uint32_t queue_depth) in lpfc_rampup_queue_depth() argument
343 if (vport->cfg_lun_queue_depth <= queue_depth) in lpfc_rampup_queue_depth()
394 sdev->queue_depth * num_rsrc_err / in lpfc_ramp_down_queue_handler()
397 new_queue_depth = sdev->queue_depth - 1; in lpfc_ramp_down_queue_handler()
399 new_queue_depth = sdev->queue_depth - in lpfc_ramp_down_queue_handler()
433 sdev->queue_depth) in lpfc_ramp_up_queue_handler()
436 sdev->queue_depth+1, in lpfc_ramp_up_queue_handler()
[all …]
/linux-2.6.39/drivers/s390/scsi/
Dzfcp_scsi.c23 module_param_named(queue_depth, default_depth, uint, 0600);
24 MODULE_PARM_DESC(queue_depth, "Default queue depth for new SCSI devices");
53 return sdev->queue_depth; in zfcp_scsi_change_queue_depth()
/linux-2.6.39/drivers/scsi/
Dhptiop.c867 int queue_depth, int reason) in hptiop_adjust_disk_queue_depth() argument
874 if (queue_depth > hba->max_requests) in hptiop_adjust_disk_queue_depth()
875 queue_depth = hba->max_requests; in hptiop_adjust_disk_queue_depth()
876 scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, queue_depth); in hptiop_adjust_disk_queue_depth()
877 return queue_depth; in hptiop_adjust_disk_queue_depth()
Dscsi_error.c364 sdev->queue_depth >= sdev->max_queue_depth) in scsi_handle_queue_ramp_up()
382 tmp_sdev->queue_depth == sdev->max_queue_depth) in scsi_handle_queue_ramp_up()
388 sht->change_queue_depth(tmp_sdev, tmp_sdev->queue_depth + 1, in scsi_handle_queue_ramp_up()
411 sht->change_queue_depth(tmp_sdev, tmp_sdev->queue_depth - 1, in scsi_handle_queue_full()
Dscsi_sysfs.c494 sdev_rd_attr (queue_depth, "%d\n");
728 sdev->max_queue_depth = sdev->queue_depth; in sdev_store_queue_depth_rw()
734 __ATTR(queue_depth, S_IRUGO | S_IWUSR, sdev_show_queue_depth,
D3w-sas.c195 static int twl_change_queue_depth(struct scsi_device *sdev, int queue_depth, in twl_change_queue_depth() argument
201 if (queue_depth > TW_Q_LENGTH-2) in twl_change_queue_depth()
202 queue_depth = TW_Q_LENGTH-2; in twl_change_queue_depth()
203 scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, queue_depth); in twl_change_queue_depth()
204 return queue_depth; in twl_change_queue_depth()
D3w-xxxx.c526 static int tw_change_queue_depth(struct scsi_device *sdev, int queue_depth, in tw_change_queue_depth() argument
532 if (queue_depth > TW_Q_LENGTH-2) in tw_change_queue_depth()
533 queue_depth = TW_Q_LENGTH-2; in tw_change_queue_depth()
534 scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, queue_depth); in tw_change_queue_depth()
535 return queue_depth; in tw_change_queue_depth()
Desp_scsi.c2405 int goal_tags, queue_depth; in esp_slave_configure() local
2417 queue_depth = goal_tags; in esp_slave_configure()
2418 if (queue_depth < dev->host->cmd_per_lun) in esp_slave_configure()
2419 queue_depth = dev->host->cmd_per_lun; in esp_slave_configure()
2423 scsi_activate_tcq(dev, queue_depth); in esp_slave_configure()
2425 scsi_deactivate_tcq(dev, queue_depth); in esp_slave_configure()
Dscsi.c896 sdev->queue_depth = tags; in scsi_adjust_queue_depth()
912 sdev->queue_depth = tags; in scsi_adjust_queue_depth()
/linux-2.6.39/include/linux/
Dhdreg.h458 unsigned short queue_depth; /* (word 75) member
/linux-2.6.39/drivers/staging/hv/
Dstorvsc_drv.c604 scsi_bufflen(scmnd), scmnd->device->queue_depth, in storvsc_queuecommand_lck()
796 sdevice->queue_depth); in storvsc_device_configure()
/linux-2.6.39/drivers/scsi/aic7xxx_old/
Daic7xxx_proc.c310 …, Depth %d/%d\n", sdptr->ordered_tags ? "Enabled" : "Disabled", sdptr->queue_depth, aic_dev->max_q… in aic7xxx_proc_info()

123