/linux-4.4.14/drivers/target/ |
D | target_core_tpg.c | 168 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()
|
D | target_core_pscsi.c | 309 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()
|
D | target_core_configfs.c | 497 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);
|
D | target_core_file.c | 215 fd_dev->fd_queue_depth = dev->queue_depth; in fd_configure_device()
|
D | target_core_device.c | 890 dev->dev_attrib.queue_depth = dev->dev_attrib.hw_queue_depth; in target_configure_device()
|
D | target_core_transport.c | 814 *bl += sprintf(b + *bl, " Max Queue Depth: %d", dev->queue_depth); in transport_dump_dev_state()
|
/linux-4.4.14/drivers/target/iscsi/ |
D | iscsi_target_device.c | 49 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()
|
D | iscsi_target_nego.c | 1019 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()
|
D | iscsi_target_tpg.c | 596 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()
|
D | iscsi_target_configfs.c | 687 return sprintf(page, "%u\n", acl_to_nacl(item)->queue_depth); in lio_target_nacl_cmdsn_depth_show()
|
/linux-4.4.14/drivers/block/ |
D | null_blk.c | 27 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()
|
D | virtio_blk.c | 563 module_param_named(queue_depth, virtblk_queue_depth, uint, 0444); 631 vblk->tag_set.queue_depth = virtblk_queue_depth; in virtblk_probe()
|
D | rbd.c | 754 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()
|
D | loop.c | 1745 lo->tag_set.queue_depth = 128; in loop_add()
|
D | xen-blkfront.c | 792 info->tag_set.queue_depth = BLK_RING_SIZE(info); in xlvbd_init_blk_queue()
|
/linux-4.4.14/block/ |
D | blk-mq.c | 1465 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/ |
D | libata-scsi.c | 1272 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 …]
|
D | sata_nv.c | 1956 sdev->queue_depth); in nv_swncq_slave_config()
|
/linux-4.4.14/drivers/s390/crypto/ |
D | ap_bus.c | 473 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()
|
D | ap_bus.h | 188 int queue_depth; /* AP queue depth.*/ member
|
/linux-4.4.14/include/target/ |
D | target_core_base.h | 545 u32 queue_depth; member 685 u32 queue_depth; member 768 u32 queue_depth; member
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfad_im.c | 100 (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/ |
D | blk-mq.h | 70 unsigned int queue_depth; /* max hw supported */ member
|
D | libata.h | 1210 int queue_depth); 1212 int queue_depth);
|
/linux-4.4.14/include/uapi/linux/ |
D | hdreg.h | 458 unsigned short queue_depth; /* (word 75) member
|
/linux-4.4.14/include/scsi/ |
D | iscsi_if.h | 113 uint16_t queue_depth; member 119 uint16_t queue_depth; member
|
D | scsi_device.h | 92 unsigned short queue_depth; /* How deep of a queue we want */ member
|
/linux-4.4.14/drivers/s390/scsi/ |
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");
|
/linux-4.4.14/drivers/scsi/snic/ |
D | snic_main.c | 105 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/ |
D | scsi_error.c | 612 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()
|
D | scsi.c | 620 sdev->queue_depth = depth; in scsi_change_queue_depth() 624 return sdev->queue_depth; in scsi_change_queue_depth()
|
D | scsi_sysfs.c | 894 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,
|
D | hpsa.c | 1317 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 …]
|
D | u14-34f.c | 721 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()
|
D | eata.c | 964 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()
|
D | hptiop.c | 1120 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()
|
D | hpsa.h | 72 u16 queue_depth; /* max queue_depth for this device */ member
|
D | scsi_lib.c | 385 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()
|
D | 53c700.c | 615 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()
|
D | scsi_transport_iscsi.c | 2711 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()
|
D | scsi_scan.c | 992 sdev->max_queue_depth = sdev->queue_depth; in scsi_add_lun()
|
D | sg.c | 932 __put_user((short) sdp->device->queue_depth, in sg_ioctl() 2562 (int) scsidp->queue_depth, in sg_proc_seq_show_dev()
|
D | scsi_debug.c | 3967 qdepth = cmnd->device->queue_depth; in schedule_resp() 5099 return sdev->queue_depth; in sdebug_change_qdepth()
|
D | qla1280.c | 3994 printk(", Tagged queuing: depth %d", device->queue_depth); in qla1280_get_target_parameters()
|
D | ipr.c | 4366 return sdev->queue_depth; in ipr_change_queue_depth()
|
/linux-4.4.14/drivers/mtd/ubi/ |
D | block.c | 409 dev->tag_set.queue_depth = 64; in ubiblock_create()
|
/linux-4.4.14/Documentation/cgroups/ |
D | blkio-controller.txt | 214 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/ |
D | arcmsr_hba.c | 117 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/ |
D | aacraid.h | 912 u16 queue_depth; member
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_scsi.c | 323 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/ |
D | mptsas.c | 4083 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()
|
D | mptscsih.c | 2382 ioc->name, sdev->queue_depth, vtarget->tflags)); in mptscsih_slave_configure()
|
/linux-4.4.14/drivers/nvme/host/ |
D | pci.c | 1708 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/ |
D | main.c | 1992 return sdev->queue_depth; in cxlflash_change_queue_depth()
|
/linux-4.4.14/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 9043 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/ |
D | dm.c | 2724 md->tag_set.queue_depth = BLKDEV_MAX_RQ; in dm_init_request_based_blk_mq_queue()
|
/linux-4.4.14/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 561 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/ |
D | mtip32xx.c | 3980 dd->tags.queue_depth = MTIP_MAX_COMMAND_SLOTS; in mtip_block_initialize()
|
/linux-4.4.14/Documentation/scsi/ |
D | ChangeLog.lpfc | 902 sdev->queue_depth. The driver informs the midlayer of its
|