/linux-2.6.39/drivers/target/ |
D | target_core_tpg.c | 212 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 …]
|
D | target_core_device.c | 907 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 …]
|
D | target_core_pscsi.c | 353 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()
|
D | target_core_file.c | 226 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()
|
D | target_core_iblock.c | 171 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/ |
D | ap_bus.c | 170 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 …]
|
D | ap_bus.h | 137 int queue_depth; /* AP queue depth.*/ member
|
/linux-2.6.39/drivers/ata/ |
D | libata-scsi.c | 1233 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/ |
D | target_core_base.h | 587 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/ |
D | bfad_im.c | 93 (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/ |
D | iscsi_if.h | 91 uint16_t queue_depth; member 97 uint16_t queue_depth; member
|
D | scsi_device.h | 83 unsigned short queue_depth; /* How deep of a queue we want */ member
|
/linux-2.6.39/drivers/message/i2o/ |
D | i2o_block.c | 904 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/ |
D | lpfc_scsi.c | 270 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/ |
D | zfcp_scsi.c | 23 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/ |
D | hptiop.c | 867 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()
|
D | scsi_error.c | 364 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()
|
D | scsi_sysfs.c | 494 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,
|
D | 3w-sas.c | 195 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()
|
D | 3w-xxxx.c | 526 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()
|
D | esp_scsi.c | 2405 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()
|
D | scsi.c | 896 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/ |
D | hdreg.h | 458 unsigned short queue_depth; /* (word 75) member
|
/linux-2.6.39/drivers/staging/hv/ |
D | storvsc_drv.c | 604 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/ |
D | aic7xxx_proc.c | 310 …, Depth %d/%d\n", sdptr->ordered_tags ? "Enabled" : "Disabled", sdptr->queue_depth, aic_dev->max_q… in aic7xxx_proc_info()
|