Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/target/
Dtarget_core_tpg.c168 if (!acl->queue_depth) { in core_set_queue_depth_for_node()
172 acl->queue_depth = 1; in core_set_queue_depth_for_node()
197 acl->queue_depth = tpg->se_tpg_tfo->tpg_get_default_depth(tpg); in target_alloc_node_acl()
199 acl->queue_depth = 1; in target_alloc_node_acl()
230 acl->queue_depth, in target_add_node_acl()
358 tpg->se_tpg_tfo->tpg_get_tag(tpg), acl->queue_depth, in core_tpg_del_initiator_node_acl()
371 u32 queue_depth, in core_tpg_set_initiator_node_queue_depth() argument
434 acl->queue_depth = queue_depth; in core_tpg_set_initiator_node_queue_depth()
462 " Node: %s on %s Target Portal Group: %u\n", queue_depth, in core_tpg_set_initiator_node_queue_depth()
Dtarget_core_pscsi.c309 if (!sd->queue_depth) { in pscsi_add_device_to_list()
310 sd->queue_depth = PSCSI_DEFAULT_QUEUEDEPTH; in pscsi_add_device_to_list()
314 sd->lun, sd->queue_depth); in pscsi_add_device_to_list()
320 dev->dev_attrib.hw_queue_depth = sd->queue_depth; in pscsi_add_device_to_list()
Dtarget_core_configfs.c497 DEF_CONFIGFS_ATTRIB_SHOW(queue_depth);
895 if (val > dev->dev_attrib.queue_depth) { in queue_depth_store()
904 da->queue_depth = dev->queue_depth = val; in queue_depth_store()
996 CONFIGFS_ATTR(, queue_depth);
Dtarget_core_file.c215 fd_dev->fd_queue_depth = dev->queue_depth; in fd_configure_device()
Dtarget_core_device.c890 dev->dev_attrib.queue_depth = dev->dev_attrib.hw_queue_depth; in target_configure_device()
Dtarget_core_transport.c814 *bl += sprintf(b + *bl, " Max Queue Depth: %d", dev->queue_depth); in transport_dump_dev_state()
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_device.c49 sess->cmdsn_window = se_nacl->queue_depth; in iscsit_determine_maxcmdsn()
50 atomic_add(se_nacl->queue_depth - 1, &sess->max_cmd_sn); in iscsit_determine_maxcmdsn()
Discsi_target_nego.c1019 u32 payload_length, queue_depth = 0; in iscsi_target_locate_portal() local
1218 queue_depth = se_nacl->queue_depth; in iscsi_target_locate_portal()
1228 tag_num = max_t(u32, ISCSIT_MIN_TAGS, queue_depth); in iscsi_target_locate_portal()
Discsi_target_tpg.c596 u32 queue_depth, in iscsit_tpg_set_initiator_node_queue_depth() argument
600 initiatorname, queue_depth, force); in iscsit_tpg_set_initiator_node_queue_depth()
Discsi_target_configfs.c687 return sprintf(page, "%u\n", acl_to_nacl(item)->queue_depth); in lio_target_nacl_cmdsn_depth_show()
/linux-4.4.14/drivers/block/
Dnull_blk.c27 unsigned int queue_depth; member
39 unsigned int queue_depth; member
160 tag = find_first_zero_bit(nq->tag_map, nq->queue_depth); in get_tag()
161 if (tag >= nq->queue_depth) in get_tag()
378 nq->queue_depth = nullb->queue_depth; in null_init_queue()
592 nq->cmds = kzalloc(nq->queue_depth * sizeof(*cmd), GFP_KERNEL); in setup_commands()
596 tag_size = ALIGN(nq->queue_depth, BITS_PER_LONG) / BITS_PER_LONG; in setup_commands()
603 for (i = 0; i < nq->queue_depth; i++) { in setup_commands()
621 nullb->queue_depth = hw_queue_depth; in setup_queues()
669 nullb->tag_set.queue_depth = hw_queue_depth; in null_add_dev()
Dvirtio_blk.c563 module_param_named(queue_depth, virtblk_queue_depth, uint, 0444);
631 vblk->tag_set.queue_depth = virtblk_queue_depth; in virtblk_probe()
Drbd.c754 int queue_depth; member
787 rbd_opts->queue_depth = intval; in parse_rbd_opts_token()
3747 rbd_dev->tag_set.queue_depth = rbd_dev->opts->queue_depth; in rbd_init_disk()
4946 rbd_opts->queue_depth = RBD_QUEUE_DEPTH_DEFAULT; in rbd_add_parse_args()
Dloop.c1745 lo->tag_set.queue_depth = 128; in loop_add()
Dxen-blkfront.c792 info->tag_set.queue_depth = BLK_RING_SIZE(info); in xlvbd_init_blk_queue()
/linux-4.4.14/block/
Dblk-mq.c1465 tags = blk_mq_init_tags(set->queue_depth, set->reserved_tags, in blk_mq_init_rq_map()
1473 tags->rqs = kzalloc_node(set->queue_depth * sizeof(struct request *), in blk_mq_init_rq_map()
1487 left = rq_size * set->queue_depth; in blk_mq_init_rq_map()
1489 for (i = 0; i < set->queue_depth; ) { in blk_mq_init_rq_map()
1523 to_do = min(entries_per_page, set->queue_depth - i); in blk_mq_init_rq_map()
1636 unsigned flush_start_tag = set->queue_depth; in blk_mq_exit_hctx()
1681 unsigned flush_start_tag = set->queue_depth; in blk_mq_init_hctx()
2052 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue()
2227 depth = set->queue_depth; in blk_mq_alloc_rq_maps()
2233 set->queue_depth >>= 1; in blk_mq_alloc_rq_maps()
[all …]
/linux-4.4.14/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.4.14/drivers/s390/crypto/
Dap_bus.c473 static int ap_query_queue(ap_qid_t qid, int *queue_depth, int *device_type, in ap_query_queue() argument
486 *queue_depth = (int)(info & 0xff); in ap_query_queue()
646 if (ap_dev->queue_count < ap_dev->queue_depth) { in ap_sm_write()
1048 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->queue_depth); in ap_depth_show()
1615 int queue_depth = 0, device_type = 0; in ap_scan_bus() local
1628 rc = ap_query_queue(qid, &queue_depth, &device_type, in ap_scan_bus()
1651 ap_dev->queue_depth = queue_depth; in ap_scan_bus()
Dap_bus.h188 int queue_depth; /* AP queue depth.*/ member
/linux-4.4.14/include/target/
Dtarget_core_base.h545 u32 queue_depth; member
685 u32 queue_depth; member
768 u32 queue_depth; member
/linux-4.4.14/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.4.14/include/linux/
Dblk-mq.h70 unsigned int queue_depth; /* max hw supported */ member
Dlibata.h1210 int queue_depth);
1212 int queue_depth);
/linux-4.4.14/include/uapi/linux/
Dhdreg.h458 unsigned short queue_depth; /* (word 75) member
/linux-4.4.14/include/scsi/
Discsi_if.h113 uint16_t queue_depth; member
119 uint16_t queue_depth; member
Dscsi_device.h92 unsigned short queue_depth; /* How deep of a queue we want */ member
/linux-4.4.14/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.4.14/drivers/scsi/snic/
Dsnic_main.c105 SNIC_INFO("QDepth Changed to %d\n", sdev->queue_depth); in snic_change_queue_depth()
107 return sdev->queue_depth; in snic_change_queue_depth()
/linux-4.4.14/drivers/scsi/
Dscsi_error.c612 sdev->queue_depth >= sdev->max_queue_depth) in scsi_handle_queue_ramp_up()
630 tmp_sdev->queue_depth == sdev->max_queue_depth) in scsi_handle_queue_ramp_up()
633 scsi_change_queue_depth(tmp_sdev, tmp_sdev->queue_depth + 1); in scsi_handle_queue_ramp_up()
655 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); in scsi_handle_queue_full()
Dscsi.c620 sdev->queue_depth = depth; in scsi_change_queue_depth()
624 return sdev->queue_depth; in scsi_change_queue_depth()
Dscsi_sysfs.c894 sdev->max_queue_depth = sdev->queue_depth; in DECLARE_EVT()
898 sdev_show_function(queue_depth, "%d\n");
900 static DEVICE_ATTR(queue_depth, S_IRUGO | S_IWUSR, sdev_show_queue_depth,
Dhpsa.c1317 h->dev[entry]->queue_depth = new_entry->queue_depth; in hpsa_scsi_update_entry()
1452 if (dev1->queue_depth != dev2->queue_depth) in device_updated()
1651 logical_drive->phys_disk[i]->queue_depth); in hpsa_figure_phys_disk_ptrs()
1665 logical_drive->queue_depth = 8; in hpsa_figure_phys_disk_ptrs()
1673 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs()
1675 logical_drive->queue_depth = h->nr_cmds; in hpsa_figure_phys_disk_ptrs()
1965 int queue_depth; in hpsa_slave_configure() local
1971 queue_depth = sd->queue_depth != 0 ? in hpsa_slave_configure()
1972 sd->queue_depth : sdev->host->can_queue; in hpsa_slave_configure()
1974 queue_depth = sdev->host->can_queue; in hpsa_slave_configure()
[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()
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()
Dhptiop.c1120 int queue_depth) in hptiop_adjust_disk_queue_depth() argument
1124 if (queue_depth > hba->max_requests) in hptiop_adjust_disk_queue_depth()
1125 queue_depth = hba->max_requests; in hptiop_adjust_disk_queue_depth()
1126 return scsi_change_queue_depth(sdev, queue_depth); in hptiop_adjust_disk_queue_depth()
Dhpsa.h72 u16 queue_depth; /* max queue_depth for this device */ member
Dscsi_lib.c385 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.c615 NCR_700_get_depth(SCp->device) > SCp->device->queue_depth) in NCR_700_scsi_done()
1779 if(NCR_700_get_depth(SCp->device) >= SCp->device->queue_depth) { in NCR_700_queuecommand_lck()
Dscsi_transport_iscsi.c2711 uint16_t queue_depth) in iscsi_if_create_session() argument
2717 session = transport->create_session(ep, cmds_max, queue_depth, in iscsi_if_create_session()
3523 ev->u.c_session.queue_depth); in iscsi_if_recv_msg()
3536 ev->u.c_bound_session.queue_depth); in iscsi_if_recv_msg()
Dscsi_scan.c992 sdev->max_queue_depth = sdev->queue_depth; in scsi_add_lun()
Dsg.c932 __put_user((short) sdp->device->queue_depth, in sg_ioctl()
2562 (int) scsidp->queue_depth, in sg_proc_seq_show_dev()
Dscsi_debug.c3967 qdepth = cmnd->device->queue_depth; in schedule_resp()
5099 return sdev->queue_depth; in sdebug_change_qdepth()
Dqla1280.c3994 printk(", Tagged queuing: depth %d", device->queue_depth); in qla1280_get_target_parameters()
Dipr.c4366 return sdev->queue_depth; in ipr_change_queue_depth()
/linux-4.4.14/drivers/mtd/ubi/
Dblock.c409 dev->tag_set.queue_depth = 64; in ubiblock_create()
/linux-4.4.14/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.4.14/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.4.14/drivers/scsi/aacraid/
Daacraid.h912 u16 queue_depth; member
/linux-4.4.14/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()
/linux-4.4.14/drivers/message/fusion/
Dmptsas.c4083 if (current_depth > sdev->queue_depth) { in mptsas_handle_queue_full_event()
4087 "depth (%d)\n", sdev->queue_depth, in mptsas_handle_queue_full_event()
4092 sdev->queue_depth - 1); in mptsas_handle_queue_full_event()
Dmptscsih.c2382 ioc->name, sdev->queue_depth, vtarget->tflags)); in mptscsih_slave_configure()
/linux-4.4.14/drivers/nvme/host/
Dpci.c1708 dev->admin_tagset.queue_depth = NVME_AQ_DEPTH - 1; in nvme_alloc_admin_tags()
2662 dev->tagset.queue_depth = in nvme_dev_add()
/linux-4.4.14/drivers/scsi/cxlflash/
Dmain.c1992 return sdev->queue_depth; in cxlflash_change_queue_depth()
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_os.c9043 int queue_depth = QL4_DEF_QDEPTH; in qla4xxx_slave_alloc() local
9052 queue_depth = ql4xmaxqdepth; in qla4xxx_slave_alloc()
9054 scsi_change_queue_depth(sdev, queue_depth); in qla4xxx_slave_alloc()
/linux-4.4.14/drivers/md/
Ddm.c2724 md->tag_set.queue_depth = BLKDEV_MAX_RQ; in dm_init_request_based_blk_mq_queue()
/linux-4.4.14/drivers/infiniband/ulp/isert/
Dib_isert.c561 tag_num = max_t(u32, ISCSIT_MIN_TAGS, se_nacl->queue_depth); in isert_conn_create_fastreg_pool()
/linux-4.4.14/drivers/block/mtip32xx/
Dmtip32xx.c3980 dd->tags.queue_depth = MTIP_MAX_COMMAND_SLOTS; in mtip_block_initialize()
/linux-4.4.14/Documentation/scsi/
DChangeLog.lpfc902 sdev->queue_depth. The driver informs the midlayer of its