Searched refs:queue_depth (Results 1 - 25 of 58) sorted by relevance

123

/drivers/target/iscsi/
H A Discsi_target_device.c48 * 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 Discsi_target_tpg.c544 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 Dtarget_core_tpg.c193 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 Dtarget_core_device.c901 * 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 Dtarget_core_pscsi.c316 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 Dtarget_core_rd.c258 dev_limits.queue_depth = RD_DEVICE_QUEUE_DEPTH;
267 rd_dev->rd_queue_depth = dev->queue_depth;
H A Dtarget_core_file.c210 dev_limits.queue_depth = FD_DEVICE_QUEUE_DEPTH;
219 fd_dev->fd_queue_depth = dev->queue_depth;
/drivers/s390/crypto/
H A Dap_bus.c165 * @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 Dap_bus.h157 int queue_depth; /* AP queue depth.*/ member in struct:ap_device
/drivers/ata/
H A Dlibata-scsi.c1222 * @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 Dzfcp_scsi.c24 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 Dbfad_im.c95 (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 Di2o_block.c904 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 Dhptiop.c867 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 Dscsi_error.c389 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 Dscsi_sysfs.c533 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 D3w-sas.c195 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 Desp_scsi.c2403 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 Deata.c967 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 Du14-34f.c721 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 Dscsi.c890 sdev->queue_depth = tags;
906 sdev->queue_depth = tags;
H A D3w-9xxx.c193 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 D3w-xxxx.c526 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 Dlpfc_scsi.c284 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 Daic7xxx_proc.c310 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);

Completed in 5186 milliseconds

123