Home
last modified time | relevance | path

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

1234

/drivers/target/
A Dtarget_core_tpg.c158 struct se_node_acl *acl, u32 queue_depth) in target_set_nacl_queue_depth() argument
160 acl->queue_depth = queue_depth; in target_set_nacl_queue_depth()
162 if (!acl->queue_depth) { in target_set_nacl_queue_depth()
166 acl->queue_depth = 1; in target_set_nacl_queue_depth()
174 u32 queue_depth; in target_alloc_node_acl() local
193 queue_depth = 1; in target_alloc_node_acl()
194 target_set_nacl_queue_depth(tpg, acl, queue_depth); in target_alloc_node_acl()
218 acl->queue_depth, in target_add_node_acl()
381 u32 queue_depth) in core_tpg_set_initiator_node_queue_depth() argument
390 if (acl->queue_depth == queue_depth) in core_tpg_set_initiator_node_queue_depth()
[all …]
A Dtarget_core_pscsi.c290 if (!sd->queue_depth) { in pscsi_add_device_to_list()
291 sd->queue_depth = PSCSI_DEFAULT_QUEUEDEPTH; in pscsi_add_device_to_list()
295 sd->lun, sd->queue_depth); in pscsi_add_device_to_list()
302 dev->dev_attrib.hw_queue_depth = sd->queue_depth; in pscsi_add_device_to_list()
/drivers/s390/block/
A Ddasd_genhd.c23 static unsigned int queue_depth = 32; variable
26 module_param(queue_depth, uint, 0444);
27 MODULE_PARM_DESC(queue_depth, "Default queue depth for new DASD devices");
58 block->tag_set.queue_depth = queue_depth; in dasd_gendisk_alloc()
/drivers/infiniband/ulp/rtrs/
A Drtrs-clt.c71 size_t max_depth = clt->queue_depth; in __rtrs_get_permit()
724 q_size = clt_path->queue_depth; in post_recv_path()
1691 if (WARN_ON(!clt_path->queue_depth)) in create_con_cq_qp()
1699 clt_path->queue_depth * 4 + 1); in create_con_cq_qp()
1701 clt_path->queue_depth * 3 + 1); in create_con_cq_qp()
1827 u16 version, queue_depth; in rtrs_rdma_conn_established() local
1854 queue_depth = le16_to_cpu(msg->queue_depth); in rtrs_rdma_conn_established()
1856 if (clt_path->queue_depth > 0 && queue_depth != clt_path->queue_depth) { in rtrs_rdma_conn_established()
1875 clt_path->queue_depth = queue_depth; in rtrs_rdma_conn_established()
1892 clt->queue_depth = clt_path->queue_depth; in rtrs_rdma_conn_established()
[all …]
A Drtrs-srv.c112 for (i = 0; i < srv->queue_depth; i++) in rtrs_srv_free_ops_ids()
147 for (i = 0; i < srv->queue_depth; ++i) { in rtrs_srv_alloc_ops_ids()
588 mrs_num = srv->queue_depth; in map_cont_bufs()
610 srv->queue_depth - chunks); in map_cont_bufs()
995 q_size = srv->queue_depth; in post_recv_path()
1346 return srv->queue_depth; in rtrs_srv_get_queue_depth()
1381 for (i = 0; i < srv->queue_depth; i++) in free_srv()
1424 srv->queue_depth = sess_queue_depth; in get_or_create_srv()
1434 for (i = 0; i < srv->queue_depth; i++) { in get_or_create_srv()
1616 .queue_depth = cpu_to_le16(srv->queue_depth), in rtrs_rdma_do_accept()
[all …]
A Drtrs-clt.h143 size_t queue_depth; member
172 size_t queue_depth; member
A Drtrs.h111 u32 queue_depth; member
A Drtrs-srv.h110 size_t queue_depth; member
/drivers/ata/
A Dlibata-sata.c1281 int queue_depth) in ata_change_queue_depth() argument
1290 if (!dev || queue_depth < 1 || queue_depth == sdev->queue_depth) { in ata_change_queue_depth()
1292 return sdev->queue_depth; in ata_change_queue_depth()
1301 if (queue_depth > max_queue_depth) { in ata_change_queue_depth()
1310 if (queue_depth == 1 || !ata_ncq_supported(dev)) { in ata_change_queue_depth()
1312 queue_depth = 1; in ata_change_queue_depth()
1319 if (queue_depth == sdev->queue_depth) in ata_change_queue_depth()
1320 return sdev->queue_depth; in ata_change_queue_depth()
1322 return scsi_change_queue_depth(sdev, queue_depth); in ata_change_queue_depth()
1341 int ata_scsi_change_queue_depth(struct scsi_device *sdev, int queue_depth) in ata_scsi_change_queue_depth() argument
[all …]
/drivers/target/iscsi/
A Discsi_target_device.c41 sess->cmdsn_window = se_nacl->queue_depth; in iscsit_determine_maxcmdsn()
42 atomic_add(se_nacl->queue_depth - 1, &sess->max_cmd_sn); in iscsit_determine_maxcmdsn()
A Discsi_target_nego.c1118 u32 payload_length, queue_depth = 0; in iscsi_target_locate_portal() local
1299 queue_depth = se_nacl->queue_depth; in iscsi_target_locate_portal()
1309 tag_num = max_t(u32, ISCSIT_MIN_TAGS, queue_depth); in iscsi_target_locate_portal()
/drivers/gpu/drm/scheduler/tests/
A Dtests_basic.c75 unsigned int queue_depth; member
84 .queue_depth = 100,
90 .queue_depth = 100,
97 .queue_depth = 100,
103 .queue_depth = 100,
136 for (i = 0; i < params->queue_depth; i++) { in drm_sched_basic_test()
/drivers/scsi/snic/
A Dsnic_main.c91 if (qsz < sdev->queue_depth) in snic_change_queue_depth()
93 else if (qsz > sdev->queue_depth) in snic_change_queue_depth()
96 atomic64_set(&snic->s_stats.misc.last_qsz, sdev->queue_depth); in snic_change_queue_depth()
100 return sdev->queue_depth; in snic_change_queue_depth()
/drivers/block/rnbd/
A Drnbd-srv.h25 int queue_depth; member
A Drnbd-clt.h86 size_t queue_depth; member
A Drnbd-srv-trace.h29 __entry->qdepth = srv->queue_depth;
/drivers/block/
A Dzloop.c72 unsigned int queue_depth; member
941 opts->nr_queues * opts->queue_depth, zlo->id); in zloop_ctl_add()
982 zlo->tag_set.queue_depth = opts->queue_depth; in zloop_ctl_add()
1107 opts->queue_depth = ZLOOP_DEF_QUEUE_DEPTH; in zloop_parse_options()
1213 opts->queue_depth = token; in zloop_parse_options()
A Dvirtio_blk.c1236 module_param_named(queue_depth, virtblk_queue_depth, uint, 0444);
1438 unsigned int queue_depth; in virtblk_probe() local
1470 queue_depth = vblk->vqs[0].vq->num_free; in virtblk_probe()
1473 queue_depth /= 2; in virtblk_probe()
1475 queue_depth = virtblk_queue_depth; in virtblk_probe()
1480 vblk->tag_set.queue_depth = queue_depth; in virtblk_probe()
/drivers/scsi/
A Dscsi.c222 sdev->queue_depth = depth; in scsi_change_queue_depth()
229 sbitmap_resize(&sdev->budget_map, sdev->queue_depth); in scsi_change_queue_depth()
231 return sdev->queue_depth; in scsi_change_queue_depth()
A Dstorvsc_drv.c343 static int storvsc_change_queue_depth(struct scsi_device *sdev, int queue_depth);
2133 static int storvsc_change_queue_depth(struct scsi_device *sdev, int queue_depth) in storvsc_change_queue_depth() argument
2135 if (queue_depth > scsi_driver.can_queue) in storvsc_change_queue_depth()
2136 queue_depth = scsi_driver.can_queue; in storvsc_change_queue_depth()
2138 return scsi_change_queue_depth(sdev, queue_depth); in storvsc_change_queue_depth()
A Dhpsa.c1389 h->dev[entry]->queue_depth = new_entry->queue_depth; in hpsa_scsi_update_entry()
1524 if (dev1->queue_depth != dev2->queue_depth) in device_updated()
1752 logical_drive->queue_depth = 8; in hpsa_figure_phys_disk_ptrs()
1760 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs()
2142 int queue_depth; in hpsa_sdev_configure() local
2149 queue_depth = sd->queue_depth != 0 ? in hpsa_sdev_configure()
2152 queue_depth = EXTERNAL_QD; in hpsa_sdev_configure()
2162 queue_depth = sdev->host->can_queue; in hpsa_sdev_configure()
4198 dev->queue_depth = in hpsa_get_ioaccel_drive_info()
5053 phys_disk->queue_depth) { in hpsa_scsi_ioaccel_queue_command()
[all …]
/drivers/net/ethernet/microsoft/mana/
A Dhw_channel.c345 comp_read = mana_gd_poll_cq(q_self, completions, hwc_cq->queue_depth); in mana_hwc_comp_event()
346 WARN_ON_ONCE(comp_read <= 0 || comp_read > hwc_cq->queue_depth); in mana_hwc_comp_event()
425 hwc_cq->queue_depth = q_depth; in mana_hwc_create_cq()
540 hwc_wq->queue_depth = q_depth; in mana_hwc_create_wq()
/drivers/scsi/bfa/
A Dbfad_im.c90 (bfa_lun_queue_depth > cmnd->device->queue_depth)) { in bfa_cb_ioim_done()
118 if (bfa_lun_queue_depth > cmnd->device->queue_depth) { in bfa_cb_ioim_good_comp()
878 if (bfa_lun_queue_depth > tmp_sdev->queue_depth) { in bfad_ramp_up_qdepth()
882 tmp_sdev->queue_depth + 1); in bfad_ramp_up_qdepth()
900 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); in bfad_handle_qfull()
/drivers/mmc/core/
A Dqueue.c439 mq->tag_set.queue_depth = in mmc_init_queue()
442 mq->tag_set.queue_depth = MMC_QUEUE_DEPTH; in mmc_init_queue()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_mbx.c539 struct hclge_mbx_vf_queue_depth *queue_depth; in hclge_get_vf_queue_depth() local
543 queue_depth = (struct hclge_mbx_vf_queue_depth *)resp_msg->data; in hclge_get_vf_queue_depth()
544 queue_depth->num_tx_desc = cpu_to_le16(hdev->num_tx_desc); in hclge_get_vf_queue_depth()
545 queue_depth->num_rx_desc = cpu_to_le16(hdev->num_rx_desc); in hclge_get_vf_queue_depth()

Completed in 77 milliseconds

1234