/drivers/target/ |
H A D | target_core_tpg.c | 190 if (!acl->queue_depth) { 194 acl->queue_depth = 1; 285 acl->queue_depth = tpg->se_tpg_tfo->tpg_get_default_depth(tpg); 319 tpg->se_tpg_tfo->tpg_get_tag(tpg), acl->queue_depth, 361 u32 queue_depth) 412 acl->queue_depth = queue_depth; 438 tpg->se_tpg_tfo->tpg_get_tag(tpg), acl->queue_depth, 502 tpg->se_tpg_tfo->tpg_get_tag(tpg), acl->queue_depth, 516 u32 queue_depth, 357 core_tpg_add_initiator_node_acl( struct se_portal_group *tpg, struct se_node_acl *se_nacl, const char *initiatorname, u32 queue_depth) argument 513 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 | 1065 int se_dev_set_queue_depth(struct se_device *dev, u32 queue_depth) argument 1073 if (!queue_depth) { 1080 if (queue_depth > dev->dev_attrib.hw_queue_depth) { 1081 pr_err("dev[%p]: Passed queue_depth: %u" 1083 dev, queue_depth, 1088 if (queue_depth > dev->dev_attrib.queue_depth) { 1089 if (queue_depth > dev->dev_attrib.hw_queue_depth) { 1090 pr_err("dev[%p]: Passed queue_depth:" 1092 " TCQ: %u\n", dev, queue_depth, [all...] |
H A D | target_core_configfs.c | 689 DEF_DEV_ATTRIB(queue_depth); variable 690 SE_DEV_ATTR(queue_depth, S_IRUGO | S_IWUSR);
|
/drivers/target/iscsi/ |
H A D | iscsi_target_nego.c | 991 u32 payload_length, queue_depth = 0; local 1190 queue_depth = se_nacl->queue_depth; 1197 * in per-cpu-ida tag allocation logic + small queue_depth. 1200 tag_num = max_t(u32, ISCSIT_MIN_TAGS, queue_depth);
|
H A D | iscsi_target_tpg.c | 601 u32 queue_depth, 605 initiatorname, queue_depth, force); 598 iscsit_tpg_set_initiator_node_queue_depth( struct iscsi_portal_group *tpg, unsigned char *initiatorname, u32 queue_depth, int force) argument
|
/drivers/block/ |
H A D | null_blk.c | 25 unsigned int queue_depth; member in struct:nullb_queue 37 unsigned int queue_depth; member in struct:nullb 125 tag = find_first_zero_bit(nq->tag_map, nq->queue_depth); 126 if (tag >= nq->queue_depth) 336 nq->queue_depth = nullb->queue_depth; 391 nq->cmds = kzalloc(nq->queue_depth * sizeof(*cmd), GFP_KERNEL); 395 tag_size = ALIGN(nq->queue_depth, BITS_PER_LONG) / BITS_PER_LONG; 402 for (i = 0; i < nq->queue_depth; i++) { 436 nullb->queue_depth [all...] |
/drivers/message/i2o/ |
H A D | i2o_block.c | 900 unsigned int queue_depth; local 902 queue_depth = ireq->i2o_blk_dev->open_queue_depth; 904 if (queue_depth < I2O_BLOCK_MAX_OPEN_REQUESTS) { 912 if (queue_depth)
|
/drivers/s390/crypto/ |
H A D | ap_bus.h | 162 int queue_depth; /* AP queue depth.*/ member in struct:ap_device
|
H A D | ap_bus.c | 186 * @queue_depth: Pointer to queue depth value 192 ap_test_queue(ap_qid_t qid, int *queue_depth, int *device_type) argument 201 *queue_depth = (int) (reg2 & 0xff); 513 * @queue_depth: Pointer to queue depth value 518 static int ap_query_queue(ap_qid_t qid, int *queue_depth, int *device_type) argument 528 *queue_depth = t_depth + 1; 682 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->queue_depth); 1199 int queue_depth, device_type, count, max_count, best_domain; local 1225 rc = ap_query_queue(qid, &queue_depth, &device_type); 1369 int queue_depth, device_typ local [all...] |
/drivers/scsi/ |
H A D | 3w-xxxx.c | 527 static int tw_change_queue_depth(struct scsi_device *sdev, int queue_depth, argument 533 if (queue_depth > TW_Q_LENGTH-2) 534 queue_depth = TW_Q_LENGTH-2; 535 scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, queue_depth); 536 return queue_depth;
|
H A D | hptiop.c | 1121 int queue_depth, int reason) 1128 if (queue_depth > hba->max_requests) 1129 queue_depth = hba->max_requests; 1130 scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, queue_depth); 1131 return queue_depth; 1120 hptiop_adjust_disk_queue_depth(struct scsi_device *sdev, int queue_depth, int reason) argument
|
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-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 | 2405 int goal_tags, queue_depth; local 2417 queue_depth = goal_tags; 2418 if (queue_depth < dev->host->cmd_per_lun) 2419 queue_depth = dev->host->cmd_per_lun; 2423 scsi_activate_tcq(dev, queue_depth); 2425 scsi_deactivate_tcq(dev, queue_depth);
|
H A D | scsi_transport_iscsi.c | 2708 uint16_t queue_depth) 2714 session = transport->create_session(ep, cmds_max, queue_depth, 3519 ev->u.c_session.queue_depth); 3532 ev->u.c_bound_session.queue_depth); 2705 iscsi_if_create_session(struct iscsi_internal *priv, struct iscsi_endpoint *ep, struct iscsi_uevent *ev, pid_t pid, uint32_t initial_cmdsn, uint16_t cmds_max, uint16_t queue_depth) argument
|
/drivers/ata/ |
H A D | libata-scsi.c | 1245 * @queue_depth: new queue depth 1253 int queue_depth, int reason) 1261 if (queue_depth < 1 || queue_depth == sdev->queue_depth) 1262 return sdev->queue_depth; 1266 return sdev->queue_depth; 1271 if (queue_depth == 1 || !ata_ncq_enabled(dev)) { 1273 queue_depth = 1; 1278 queue_depth 1252 __ata_change_queue_depth(struct ata_port *ap, struct scsi_device *sdev, int queue_depth, int reason) argument 1305 ata_scsi_change_queue_depth(struct scsi_device *sdev, int queue_depth, int reason) argument [all...] |
/drivers/scsi/arcmsr/ |
H A D | arcmsr_hba.c | 118 int queue_depth, int reason) 123 if (queue_depth > ARCMSR_MAX_CMD_PERLUN) 124 queue_depth = ARCMSR_MAX_CMD_PERLUN; 125 scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, queue_depth); 126 return queue_depth; 117 arcmsr_adjust_disk_queue_depth(struct scsi_device *sdev, int queue_depth, int reason) argument
|
/drivers/scsi/lpfc/ |
H A D | lpfc_scsi.c | 317 old_queue_depth = sdev->queue_depth; 327 return sdev->queue_depth; 331 "depth adjusted to %d.\n", sdev->queue_depth); 337 new_queue_depth = sdev->queue_depth; 344 return sdev->queue_depth; 358 scsi_activate_tcq(sdev, sdev->queue_depth); 360 scsi_deactivate_tcq(sdev, sdev->queue_depth); 445 sdev->queue_depth * num_rsrc_err / 448 new_queue_depth = sdev->queue_depth - 1; 450 new_queue_depth = sdev->queue_depth 3996 uint32_t queue_depth, scsi_id; local [all...] |
/drivers/scsi/megaraid/ |
H A D | megaraid_sas_base.c | 2590 int queue_depth, int reason) 2595 if (queue_depth > sdev->host->can_queue) 2596 queue_depth = sdev->host->can_queue; 2598 queue_depth); 2600 return queue_depth; 2589 megasas_change_queue_depth(struct scsi_device *sdev, int queue_depth, int reason) argument
|
/drivers/scsi/qla4xxx/ |
H A D | ql4_os.c | 9056 int queue_depth = QL4_DEF_QDEPTH; local 9066 queue_depth = ql4xmaxqdepth; 9068 scsi_activate_tcq(sdev, queue_depth);
|
/drivers/scsi/aacraid/ |
H A D | aacraid.h | 852 u16 queue_depth; member in struct:fsa_dev_info
|