Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/target/
Dtarget_core_tpg.c190 if (!acl->queue_depth) { in core_set_queue_depth_for_node()
194 acl->queue_depth = 1; in core_set_queue_depth_for_node()
285 acl->queue_depth = tpg->se_tpg_tfo->tpg_get_default_depth(tpg); in core_tpg_check_initiator_node_acl()
319 tpg->se_tpg_tfo->tpg_get_tag(tpg), acl->queue_depth, in core_tpg_check_initiator_node_acl()
361 u32 queue_depth) in core_tpg_add_initiator_node_acl() argument
412 acl->queue_depth = queue_depth; in core_tpg_add_initiator_node_acl()
438 tpg->se_tpg_tfo->tpg_get_tag(tpg), acl->queue_depth, in core_tpg_add_initiator_node_acl()
502 tpg->se_tpg_tfo->tpg_get_tag(tpg), acl->queue_depth, in core_tpg_del_initiator_node_acl()
516 u32 queue_depth, in core_tpg_set_initiator_node_queue_depth() argument
579 acl->queue_depth = queue_depth; in core_tpg_set_initiator_node_queue_depth()
[all …]
Dtarget_core_device.c1103 int se_dev_set_queue_depth(struct se_device *dev, u32 queue_depth) in se_dev_set_queue_depth() argument
1111 if (!queue_depth) { in se_dev_set_queue_depth()
1117 if (queue_depth > dev->dev_attrib.queue_depth) { in se_dev_set_queue_depth()
1118 if (queue_depth > dev->dev_attrib.hw_queue_depth) { in se_dev_set_queue_depth()
1121 " TCQ: %u\n", dev, queue_depth, in se_dev_set_queue_depth()
1126 dev->dev_attrib.queue_depth = dev->queue_depth = queue_depth; in se_dev_set_queue_depth()
1128 dev, queue_depth); in se_dev_set_queue_depth()
1568 dev->dev_attrib.queue_depth = dev->dev_attrib.hw_queue_depth; in target_configure_device()
Dtarget_core_pscsi.c313 if (!sd->queue_depth) { in pscsi_add_device_to_list()
314 sd->queue_depth = PSCSI_DEFAULT_QUEUEDEPTH; in pscsi_add_device_to_list()
318 sd->lun, sd->queue_depth); in pscsi_add_device_to_list()
324 dev->dev_attrib.hw_queue_depth = sd->queue_depth; in pscsi_add_device_to_list()
Dtarget_core_file.c234 fd_dev->fd_queue_depth = dev->queue_depth; in fd_configure_device()
Dtarget_core_transport.c842 *bl += sprintf(b + *bl, " Max Queue Depth: %d", dev->queue_depth); in transport_dump_dev_state()
/linux-4.1.27/drivers/block/
Dnull_blk.c25 unsigned int queue_depth; member
37 unsigned int queue_depth; member
163 tag = find_first_zero_bit(nq->tag_map, nq->queue_depth); in get_tag()
164 if (tag >= nq->queue_depth) in get_tag()
374 nq->queue_depth = nullb->queue_depth; in null_init_queue()
429 nq->cmds = kzalloc(nq->queue_depth * sizeof(*cmd), GFP_KERNEL); in setup_commands()
433 tag_size = ALIGN(nq->queue_depth, BITS_PER_LONG) / BITS_PER_LONG; in setup_commands()
440 for (i = 0; i < nq->queue_depth; i++) { in setup_commands()
474 nullb->queue_depth = hw_queue_depth; in setup_queues()
522 nullb->tag_set.queue_depth = hw_queue_depth; in null_add_dev()
Dvirtio_blk.c564 module_param_named(queue_depth, virtblk_queue_depth, uint, 0444);
632 vblk->tag_set.queue_depth = virtblk_queue_depth; in virtblk_probe()
Dnvme-core.c1583 dev->admin_tagset.queue_depth = NVME_AQ_DEPTH - 1; in nvme_alloc_admin_tags()
2336 dev->tagset.queue_depth = in nvme_dev_add()
Dloop.c1558 lo->tag_set.queue_depth = 128; in loop_add()
Drbd.c3768 rbd_dev->tag_set.queue_depth = BLKDEV_MAX_RQ; in rbd_init_disk()
/linux-4.1.27/drivers/target/iscsi/
Discsi_target_device.c50 sess->cmdsn_window = se_nacl->queue_depth; in iscsit_determine_maxcmdsn()
51 sess->max_cmd_sn = (sess->max_cmd_sn + se_nacl->queue_depth) - 1; in iscsit_determine_maxcmdsn()
Discsi_target_nego.c1024 u32 payload_length, queue_depth = 0; in iscsi_target_locate_portal() local
1223 queue_depth = se_nacl->queue_depth; in iscsi_target_locate_portal()
1233 tag_num = max_t(u32, ISCSIT_MIN_TAGS, queue_depth); in iscsi_target_locate_portal()
Discsi_target_tpg.c595 u32 queue_depth, in iscsit_tpg_set_initiator_node_queue_depth() argument
599 initiatorname, queue_depth, force); in iscsit_tpg_set_initiator_node_queue_depth()
Discsi_target_configfs.c774 return sprintf(page, "%u\n", se_nacl->queue_depth); in lio_target_nacl_show_cmdsn_depth()
/linux-4.1.27/block/
Dblk-mq.c1441 tags = blk_mq_init_tags(set->queue_depth, set->reserved_tags, in blk_mq_init_rq_map()
1449 tags->rqs = kzalloc_node(set->queue_depth * sizeof(struct request *), in blk_mq_init_rq_map()
1463 left = rq_size * set->queue_depth; in blk_mq_init_rq_map()
1465 for (i = 0; i < set->queue_depth; ) { in blk_mq_init_rq_map()
1494 to_do = min(entries_per_page, set->queue_depth - i); in blk_mq_init_rq_map()
1608 unsigned flush_start_tag = set->queue_depth; in blk_mq_exit_hctx()
1653 unsigned flush_start_tag = set->queue_depth; in blk_mq_init_hctx()
2000 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue()
2151 depth = set->queue_depth; in blk_mq_alloc_rq_maps()
2157 set->queue_depth >>= 1; in blk_mq_alloc_rq_maps()
[all …]
/linux-4.1.27/drivers/s390/crypto/
Dap_bus.c191 ap_test_queue(ap_qid_t qid, int *queue_depth, int *device_type) in ap_test_queue() argument
200 *queue_depth = (int) (reg2 & 0xff); in ap_test_queue()
521 static int ap_query_queue(ap_qid_t qid, int *queue_depth, int *device_type) in ap_query_queue() argument
531 *queue_depth = t_depth + 1; in ap_query_queue()
685 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->queue_depth); in ap_depth_show()
1244 int queue_depth, device_type, count, max_count, best_domain; in ap_select_domain() local
1270 rc = ap_query_queue(qid, &queue_depth, &device_type); in ap_select_domain()
1414 int queue_depth, device_type; in ap_scan_bus() local
1428 rc = ap_query_queue(qid, &queue_depth, &device_type); in ap_scan_bus()
1435 rc = ap_query_queue(qid, &queue_depth, in ap_scan_bus()
[all …]
Dap_bus.h163 int queue_depth; /* AP queue depth.*/ member
/linux-4.1.27/drivers/ata/
Dlibata-scsi.c1272 int queue_depth) in __ata_change_queue_depth() argument
1277 if (queue_depth < 1 || queue_depth == sdev->queue_depth) in __ata_change_queue_depth()
1278 return sdev->queue_depth; in __ata_change_queue_depth()
1282 return sdev->queue_depth; in __ata_change_queue_depth()
1287 if (queue_depth == 1 || !ata_ncq_enabled(dev)) { in __ata_change_queue_depth()
1289 queue_depth = 1; in __ata_change_queue_depth()
1294 queue_depth = min(queue_depth, sdev->host->can_queue); in __ata_change_queue_depth()
1295 queue_depth = min(queue_depth, ata_id_queue_depth(dev->id)); in __ata_change_queue_depth()
1296 queue_depth = min(queue_depth, ATA_MAX_QUEUE - 1); in __ata_change_queue_depth()
1298 if (sdev->queue_depth == queue_depth) in __ata_change_queue_depth()
[all …]
Dsata_nv.c1956 sdev->queue_depth); in nv_swncq_slave_config()
/linux-4.1.27/include/target/
Dtarget_core_backend_configfs.h105 DEF_TB_DEV_ATTRIB(_backend, queue_depth); \
106 TB_DEV_ATTR(_backend, queue_depth, S_IRUGO | S_IWUSR); \
Dtarget_core_base.h593 u32 queue_depth; member
700 u32 queue_depth; member
761 u32 queue_depth; member
/linux-4.1.27/drivers/staging/i2o/
Di2o_block.c900 unsigned int queue_depth; in i2o_block_request_fn() local
902 queue_depth = ireq->i2o_blk_dev->open_queue_depth; in i2o_block_request_fn()
904 if (queue_depth < I2O_BLOCK_MAX_OPEN_REQUESTS) { in i2o_block_request_fn()
912 if (queue_depth) in i2o_block_request_fn()
/linux-4.1.27/drivers/scsi/bfa/
Dbfad_im.c100 (bfa_lun_queue_depth > cmnd->device->queue_depth)) { in bfa_cb_ioim_done()
128 if (bfa_lun_queue_depth > cmnd->device->queue_depth) { in bfa_cb_ioim_good_comp()
866 if (bfa_lun_queue_depth > tmp_sdev->queue_depth) { in bfad_ramp_up_qdepth()
870 tmp_sdev->queue_depth + 1); in bfad_ramp_up_qdepth()
888 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); in bfad_handle_qfull()
/linux-4.1.27/include/linux/
Dblk-mq.h67 unsigned int queue_depth; /* max hw supported */ member
Dlibata.h1209 int queue_depth);
1211 int queue_depth);
/linux-4.1.27/include/uapi/linux/
Dhdreg.h458 unsigned short queue_depth; /* (word 75) member
/linux-4.1.27/include/scsi/
Discsi_if.h113 uint16_t queue_depth; member
119 uint16_t queue_depth; member
Dscsi_device.h91 unsigned short queue_depth; /* How deep of a queue we want */ member
/linux-4.1.27/drivers/s390/scsi/
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");
/linux-4.1.27/drivers/scsi/
Dscsi.c687 sdev->queue_depth = depth; in scsi_change_queue_depth()
691 return sdev->queue_depth; in scsi_change_queue_depth()
Dscsi_sysfs.c869 sdev->max_queue_depth = sdev->queue_depth; in DECLARE_EVT()
873 sdev_show_function(queue_depth, "%d\n");
875 static DEVICE_ATTR(queue_depth, S_IRUGO | S_IWUSR, sdev_show_queue_depth,
Dscsi_error.c607 sdev->queue_depth >= sdev->max_queue_depth) in scsi_handle_queue_ramp_up()
625 tmp_sdev->queue_depth == sdev->max_queue_depth) in scsi_handle_queue_ramp_up()
628 scsi_change_queue_depth(tmp_sdev, tmp_sdev->queue_depth + 1); in scsi_handle_queue_ramp_up()
650 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); in scsi_handle_queue_full()
Dhpsa.c990 h->dev[entry]->queue_depth = new_entry->queue_depth; in hpsa_scsi_update_entry()
1116 if (dev1->queue_depth != dev2->queue_depth) in device_updated()
1302 logical_drive->phys_disk[i]->queue_depth); in hpsa_figure_phys_disk_ptrs()
1315 logical_drive->queue_depth = h->nr_cmds; in hpsa_figure_phys_disk_ptrs()
1323 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs()
1325 logical_drive->queue_depth = h->nr_cmds; in hpsa_figure_phys_disk_ptrs()
1528 if (sd->queue_depth) in hpsa_slave_alloc()
1529 scsi_change_queue_depth(sdev, sd->queue_depth); in hpsa_slave_alloc()
2712 this_device->queue_depth = h->nr_cmds; in hpsa_update_device_info()
3047 dev->queue_depth = in hpsa_get_ioaccel_drive_info()
[all …]
Du14-34f.c721 if (TLDEV(dev->type) && linked_comm && dev->queue_depth > 2) in u14_34f_slave_configure()
729 dev->queue_depth, link_suffix, tag_suffix); in u14_34f_slave_configure()
1306 if (linked_comm && SCpnt->device->queue_depth > 2 in u14_34f_queuecommand_lck()
1797 if (linked_comm && SCpnt->device->queue_depth > 2 in ihdlr()
Dhpsa.h49 u16 queue_depth; /* max queue_depth for this device */ member
Dhptiop.c1121 int queue_depth) in hptiop_adjust_disk_queue_depth() argument
1125 if (queue_depth > hba->max_requests) in hptiop_adjust_disk_queue_depth()
1126 queue_depth = hba->max_requests; in hptiop_adjust_disk_queue_depth()
1127 return scsi_change_queue_depth(sdev, queue_depth); in hptiop_adjust_disk_queue_depth()
Deata.c964 if (TLDEV(dev->type) && linked_comm && dev->queue_depth > 2) in eata2x_slave_configure()
973 dev->queue_depth, link_suffix, tag_suffix); in eata2x_slave_configure()
1813 if (linked_comm && SCpnt->device->queue_depth > 2 in eata2x_queuecommand_lck()
2395 if (linked_comm && SCpnt->device->queue_depth > 2 in ihdlr()
Dscsi_lib.c384 if (atomic_read(&sdev->device_busy) >= sdev->queue_depth) in scsi_device_is_busy()
1432 if (busy >= sdev->queue_depth) in scsi_dev_queue_ready()
2201 shost->tag_set.queue_depth = shost->can_queue; in scsi_mq_setup_tags()
D53c700.c616 NCR_700_get_depth(SCp->device) > SCp->device->queue_depth) in NCR_700_scsi_done()
1776 if(NCR_700_get_depth(SCp->device) >= SCp->device->queue_depth) { in NCR_700_queuecommand_lck()
Dscsi_transport_iscsi.c2708 uint16_t queue_depth) in iscsi_if_create_session() argument
2714 session = transport->create_session(ep, cmds_max, queue_depth, in iscsi_if_create_session()
3519 ev->u.c_session.queue_depth); in iscsi_if_recv_msg()
3532 ev->u.c_bound_session.queue_depth); in iscsi_if_recv_msg()
Dscsi_scan.c987 sdev->max_queue_depth = sdev->queue_depth; in scsi_add_lun()
Dsg.c926 __put_user((short) sdp->device->queue_depth, in sg_ioctl()
2556 (int) scsidp->queue_depth, in sg_proc_seq_show_dev()
Dscsi_debug.c3966 qdepth = cmnd->device->queue_depth; in schedule_resp()
5112 return sdev->queue_depth; in sdebug_change_qdepth()
Dqla1280.c3994 printk(", Tagged queuing: depth %d", device->queue_depth); in qla1280_get_target_parameters()
Dipr.c4361 return sdev->queue_depth; in ipr_change_queue_depth()
/linux-4.1.27/drivers/mtd/ubi/
Dblock.c400 dev->tag_set.queue_depth = 64; in ubiblock_create()
/linux-4.1.27/Documentation/cgroups/
Dblkio-controller.txt214 this time represents the actual service time. When queue_depth > 1,
229 the wait_time for its individual IOs. For devices with queue_depth > 1
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_scsi.c323 sdev->queue_depth * num_rsrc_err / in lpfc_ramp_down_queue_handler()
326 new_queue_depth = sdev->queue_depth - 1; in lpfc_ramp_down_queue_handler()
328 new_queue_depth = sdev->queue_depth - in lpfc_ramp_down_queue_handler()
3873 uint32_t queue_depth, scsi_id; in lpfc_scsi_cmd_iocb_cmpl() local
4092 queue_depth = cmd->device->queue_depth; in lpfc_scsi_cmd_iocb_cmpl()
/linux-4.1.27/drivers/scsi/arcmsr/
Darcmsr_hba.c117 static int arcmsr_adjust_disk_queue_depth(struct scsi_device *sdev, int queue_depth) in arcmsr_adjust_disk_queue_depth() argument
119 if (queue_depth > ARCMSR_MAX_CMD_PERLUN) in arcmsr_adjust_disk_queue_depth()
120 queue_depth = ARCMSR_MAX_CMD_PERLUN; in arcmsr_adjust_disk_queue_depth()
121 return scsi_change_queue_depth(sdev, queue_depth); in arcmsr_adjust_disk_queue_depth()
/linux-4.1.27/drivers/scsi/aacraid/
Daacraid.h907 u16 queue_depth; member
/linux-4.1.27/drivers/message/fusion/
Dmptsas.c4084 if (current_depth > sdev->queue_depth) { in mptsas_handle_queue_full_event()
4088 "depth (%d)\n", sdev->queue_depth, in mptsas_handle_queue_full_event()
Dmptscsih.c2382 ioc->name, sdev->queue_depth, vtarget->tflags)); in mptscsih_slave_configure()
/linux-4.1.27/drivers/md/
Ddm.c2781 md->tag_set.queue_depth = BLKDEV_MAX_RQ; in dm_init_request_based_blk_mq_queue()
/linux-4.1.27/drivers/scsi/qla4xxx/
Dql4_os.c9051 int queue_depth = QL4_DEF_QDEPTH; in qla4xxx_slave_alloc() local
9060 queue_depth = ql4xmaxqdepth; in qla4xxx_slave_alloc()
9062 scsi_change_queue_depth(sdev, queue_depth); in qla4xxx_slave_alloc()
/linux-4.1.27/drivers/block/mtip32xx/
Dmtip32xx.c3894 dd->tags.queue_depth = MTIP_MAX_COMMAND_SLOTS; in mtip_block_initialize()
/linux-4.1.27/drivers/infiniband/ulp/isert/
Dib_isert.c606 tag_num = max_t(u32, ISCSIT_MIN_TAGS, se_nacl->queue_depth); in isert_conn_create_fastreg_pool()
/linux-4.1.27/Documentation/scsi/
DChangeLog.lpfc902 sdev->queue_depth. The driver informs the midlayer of its