/drivers/target/iscsi/ |
H A D | iscsi_target_device.c | 48 * struct se_node_acl->queue_depth. The value in struct se_node_acl->queue_depth 52 sess->cmdsn_window = se_nacl->queue_depth; 53 sess->max_cmd_sn = (sess->max_cmd_sn + se_nacl->queue_depth) - 1;
|
H A D | iscsi_target_tpg.c | 544 u32 queue_depth, 548 initiatorname, queue_depth, force); 541 iscsit_tpg_set_initiator_node_queue_depth( struct iscsi_portal_group *tpg, unsigned char *initiatorname, u32 queue_depth, int force) argument
|
/drivers/target/ |
H A D | target_core_tpg.c | 193 if (!acl->queue_depth) { 197 acl->queue_depth = 1; 288 acl->queue_depth = tpg->se_tpg_tfo->tpg_get_default_depth(tpg); 325 tpg->se_tpg_tfo->tpg_get_tag(tpg), acl->queue_depth, 367 u32 queue_depth) 418 acl->queue_depth = queue_depth; 445 tpg->se_tpg_tfo->tpg_get_tag(tpg), acl->queue_depth, 509 tpg->se_tpg_tfo->tpg_get_tag(tpg), acl->queue_depth, 523 u32 queue_depth, 363 core_tpg_add_initiator_node_acl( struct se_portal_group *tpg, struct se_node_acl *se_nacl, const char *initiatorname, u32 queue_depth) argument 520 core_tpg_set_initiator_node_queue_depth( struct se_portal_group *tpg, unsigned char *initiatorname, u32 queue_depth, int force) argument [all...] |
H A D | target_core_device.c | 901 * queue_depth is based on subsystem plugin dependent requirements. 904 dev->se_sub_dev->se_dev_attrib.queue_depth = dev_limits->queue_depth; 1133 int se_dev_set_queue_depth(struct se_device *dev, u32 queue_depth) argument 1141 if (!queue_depth) { 1148 if (queue_depth > dev->se_sub_dev->se_dev_attrib.hw_queue_depth) { 1149 pr_err("dev[%p]: Passed queue_depth: %u" 1151 dev, queue_depth, 1156 if (queue_depth > dev->se_sub_dev->se_dev_attrib.queue_depth) { [all...] |
H A D | target_core_pscsi.c | 316 if (!sd->queue_depth) { 317 sd->queue_depth = PSCSI_DEFAULT_QUEUEDEPTH; 320 " queue_depth to %d\n", sd->channel, sd->id, 321 sd->lun, sd->queue_depth); 332 dev_limits.hw_queue_depth = sd->queue_depth; 333 dev_limits.queue_depth = sd->queue_depth;
|
H A D | target_core_rd.c | 258 dev_limits.queue_depth = RD_DEVICE_QUEUE_DEPTH; 267 rd_dev->rd_queue_depth = dev->queue_depth;
|
H A D | target_core_file.c | 210 dev_limits.queue_depth = FD_DEVICE_QUEUE_DEPTH; 219 fd_dev->fd_queue_depth = dev->queue_depth;
|
/drivers/s390/crypto/ |
H A D | ap_bus.c | 165 * @queue_depth: Pointer to queue depth value 171 ap_test_queue(ap_qid_t qid, int *queue_depth, int *device_type) argument 180 *queue_depth = (int) (reg2 & 0xff); 485 * @queue_depth: Pointer to queue depth value 490 static int ap_query_queue(ap_qid_t qid, int *queue_depth, int *device_type) argument 500 *queue_depth = t_depth + 1; 637 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->queue_depth); 1003 int queue_depth, device_type, count, max_count, best_domain; local 1020 rc = ap_query_queue(qid, &queue_depth, &device_type); 1164 int queue_depth, device_typ local [all...] |
H A D | ap_bus.h | 157 int queue_depth; /* AP queue depth.*/ member in struct:ap_device
|
/drivers/ata/ |
H A D | libata-scsi.c | 1222 * @queue_depth: new queue depth 1230 int queue_depth, int reason) 1238 if (queue_depth < 1 || queue_depth == sdev->queue_depth) 1239 return sdev->queue_depth; 1243 return sdev->queue_depth; 1248 if (queue_depth == 1 || !ata_ncq_enabled(dev)) { 1250 queue_depth = 1; 1255 queue_depth 1229 __ata_change_queue_depth(struct ata_port *ap, struct scsi_device *sdev, int queue_depth, int reason) argument 1282 ata_scsi_change_queue_depth(struct scsi_device *sdev, int queue_depth, int reason) argument [all...] |
/drivers/s390/scsi/ |
H A D | zfcp_scsi.c | 24 module_param_named(queue_depth, default_depth, uint, 0600); 25 MODULE_PARM_DESC(queue_depth, "Default queue depth for new SCSI devices"); 51 return sdev->queue_depth;
|
/drivers/scsi/bfa/ |
H A D | bfad_im.c | 95 (bfa_lun_queue_depth > cmnd->device->queue_depth)) { 123 if (bfa_lun_queue_depth > cmnd->device->queue_depth) { 874 if (bfa_lun_queue_depth > tmp_sdev->queue_depth) { 880 tmp_sdev->queue_depth + 1); 884 tmp_sdev->queue_depth + 1); 902 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1);
|
/drivers/message/i2o/ |
H A D | i2o_block.c | 904 unsigned int queue_depth; local 906 queue_depth = ireq->i2o_blk_dev->open_queue_depth; 908 if (queue_depth < I2O_BLOCK_MAX_OPEN_REQUESTS) { 916 if (queue_depth)
|
/drivers/scsi/ |
H A D | hptiop.c | 867 int queue_depth, int reason) 874 if (queue_depth > hba->max_requests) 875 queue_depth = hba->max_requests; 876 scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, queue_depth); 877 return queue_depth; 866 hptiop_adjust_disk_queue_depth(struct scsi_device *sdev, int queue_depth, int reason) argument
|
H A D | scsi_error.c | 389 sdev->queue_depth >= sdev->max_queue_depth) 407 tmp_sdev->queue_depth == sdev->max_queue_depth) 410 * call back into LLD to increase queue_depth by one 413 sht->change_queue_depth(tmp_sdev, tmp_sdev->queue_depth + 1, 436 sht->change_queue_depth(tmp_sdev, tmp_sdev->queue_depth - 1,
|
H A D | scsi_sysfs.c | 533 sdev_rd_attr (queue_depth, "%d\n"); 767 sdev->max_queue_depth = sdev->queue_depth; 773 __ATTR(queue_depth, S_IRUGO | S_IWUSR, sdev_show_queue_depth,
|
H A D | 3w-sas.c | 195 static int twl_change_queue_depth(struct scsi_device *sdev, int queue_depth, argument 201 if (queue_depth > TW_Q_LENGTH-2) 202 queue_depth = TW_Q_LENGTH-2; 203 scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, queue_depth); 204 return queue_depth;
|
H A D | esp_scsi.c | 2403 int goal_tags, queue_depth; local 2415 queue_depth = goal_tags; 2416 if (queue_depth < dev->host->cmd_per_lun) 2417 queue_depth = dev->host->cmd_per_lun; 2421 scsi_activate_tcq(dev, queue_depth); 2423 scsi_deactivate_tcq(dev, queue_depth);
|
H A D | eata.c | 967 if (TLDEV(dev->type) && linked_comm && dev->queue_depth > 2) 976 dev->queue_depth, link_suffix, tag_suffix); 1825 if (linked_comm && SCpnt->device->queue_depth > 2 2407 if (linked_comm && SCpnt->device->queue_depth > 2
|
H A D | u14-34f.c | 721 if (TLDEV(dev->type) && linked_comm && dev->queue_depth > 2) 729 dev->queue_depth, link_suffix, tag_suffix); 1306 if (linked_comm && SCpnt->device->queue_depth > 2 1797 if (linked_comm && SCpnt->device->queue_depth > 2
|
H A D | scsi.c | 890 sdev->queue_depth = tags; 906 sdev->queue_depth = tags;
|
H A D | 3w-9xxx.c | 193 static int twa_change_queue_depth(struct scsi_device *sdev, int queue_depth, argument 199 if (queue_depth > TW_Q_LENGTH-2) 200 queue_depth = TW_Q_LENGTH-2; 201 scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, queue_depth); 202 return queue_depth;
|
H A D | 3w-xxxx.c | 526 static int tw_change_queue_depth(struct scsi_device *sdev, int queue_depth, argument 532 if (queue_depth > TW_Q_LENGTH-2) 533 queue_depth = TW_Q_LENGTH-2; 534 scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, queue_depth); 535 return queue_depth;
|
/drivers/scsi/lpfc/ |
H A D | lpfc_scsi.c | 284 old_queue_depth = sdev->queue_depth; 286 new_queue_depth = sdev->queue_depth; 293 return sdev->queue_depth; 350 uint32_t queue_depth) 357 if (vport->cfg_lun_queue_depth <= queue_depth) 408 sdev->queue_depth * num_rsrc_err / 411 new_queue_depth = sdev->queue_depth - 1; 413 new_queue_depth = sdev->queue_depth - 447 sdev->queue_depth) 450 sdev->queue_depth 349 lpfc_rampup_queue_depth(struct lpfc_vport *vport, uint32_t queue_depth) argument 3544 uint32_t queue_depth, scsi_id; local [all...] |
/drivers/scsi/aic7xxx_old/ |
H A D | aic7xxx_proc.c | 310 size += sprintf(BLS, " Tagged Command Queueing Enabled, Ordered Tags %s, Depth %d/%d\n", sdptr->ordered_tags ? "Enabled" : "Disabled", sdptr->queue_depth, aic_dev->max_q_depth);
|