Home
last modified time | relevance | path

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

12345

/linux-6.15/drivers/target/
H 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 …]
H 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()
/linux-6.15/drivers/s390/block/
H 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()
/linux-6.15/arch/um/drivers/
H A Dvector_kern.c327 int queue_depth; in vector_enqueue() local
333 queue_depth = atomic_read(&qi->queue_depth); in vector_enqueue()
338 if (queue_depth < qi->max_depth) { in vector_enqueue()
357 return queue_depth; in vector_enqueue()
366 return queue_depth; in vector_enqueue()
663 int i, queue_depth; in prep_queue_for_rx() local
665 queue_depth = atomic_read(&qi->queue_depth); in prep_queue_for_rx()
667 if (queue_depth == 0) in prep_queue_for_rx()
686 atomic_set(&qi->queue_depth, 0); in prep_queue_for_rx()
1044 int queue_depth = 0; in vector_net_start_xmit() local
[all …]
H A Dvector_kern.h48 atomic_t queue_depth; member
/linux-6.15/drivers/target/iscsi/
H 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()
/linux-6.15/drivers/ata/
H A Dlibata-sata.c1247 int queue_depth) in ata_change_queue_depth() argument
1256 if (!dev || queue_depth < 1 || queue_depth == sdev->queue_depth) { in ata_change_queue_depth()
1258 return sdev->queue_depth; in ata_change_queue_depth()
1267 if (queue_depth > max_queue_depth) { in ata_change_queue_depth()
1276 if (queue_depth == 1 || !ata_ncq_supported(dev)) { in ata_change_queue_depth()
1278 queue_depth = 1; in ata_change_queue_depth()
1285 if (queue_depth == sdev->queue_depth) in ata_change_queue_depth()
1286 return sdev->queue_depth; in ata_change_queue_depth()
1288 return scsi_change_queue_depth(sdev, queue_depth); in ata_change_queue_depth()
1307 int ata_scsi_change_queue_depth(struct scsi_device *sdev, int queue_depth) in ata_scsi_change_queue_depth() argument
[all …]
/linux-6.15/drivers/infiniband/ulp/rtrs/
H 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 …]
H 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 …]
H A Drtrs-clt.h143 size_t queue_depth; member
172 size_t queue_depth; member
H A Drtrs.h111 u32 queue_depth; member
H A Drtrs-srv.h110 size_t queue_depth; member
/linux-6.15/include/net/mana/
H A Dhw_channel.h139 u16 queue_depth; member
153 u16 queue_depth; member
/linux-6.15/block/
H A Dblk-rq-qos.c122 if (rqd->queue_depth == 1) { in rq_depth_calc_max_depth()
138 rqd->queue_depth); in rq_depth_calc_max_depth()
142 unsigned int maxd = 3 * rqd->queue_depth / 4; in rq_depth_calc_max_depth()
H A Dblk-mq.c3879 set->queue_depth, flush_rq); in blk_mq_exit_hctx()
4065 set->queue_depth); in __blk_mq_alloc_map_and_rqs()
4596 set->queue_depth); in __blk_mq_alloc_rq_maps()
4631 depth = set->queue_depth; in blk_mq_alloc_set_map_and_rqs()
4637 set->queue_depth >>= 1; in blk_mq_alloc_set_map_and_rqs()
4642 } while (set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
4649 if (depth != set->queue_depth) in blk_mq_alloc_set_map_and_rqs()
4651 depth, set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
4741 if (!set->queue_depth) in blk_mq_alloc_tag_set()
4769 set->queue_depth = min(64U, set->queue_depth); in blk_mq_alloc_tag_set()
[all …]
/linux-6.15/drivers/block/rnbd/
H A Drnbd-srv.h25 int queue_depth; member
H A Drnbd-clt.h86 size_t queue_depth; member
/linux-6.15/drivers/scsi/snic/
H 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()
/linux-6.15/rust/kernel/block/mq/
H A Dtag_set.rs52 queue_depth: num_tags, in new()
/linux-6.15/drivers/block/
H A Dvirtio_blk.c1237 module_param_named(queue_depth, virtblk_queue_depth, uint, 0444);
1439 unsigned int queue_depth; in virtblk_probe() local
1471 queue_depth = vblk->vqs[0].vq->num_free; in virtblk_probe()
1474 queue_depth /= 2; in virtblk_probe()
1476 queue_depth = virtblk_queue_depth; in virtblk_probe()
1481 vblk->tag_set.queue_depth = queue_depth; in virtblk_probe()
/linux-6.15/drivers/scsi/
H 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()
/linux-6.15/include/target/
H A Dtarget_core_base.h579 u32 queue_depth; member
723 u32 queue_depth; member
815 u32 queue_depth; member
/linux-6.15/tools/testing/selftests/ublk/
H A Dkublk.c315 info->dev_id, info->nr_hw_queues, info->queue_depth, in ublk_ctrl_dump()
411 int depth = dev->dev_info.queue_depth; in ublk_queue_init()
973 unsigned depth = ctx->queue_depth; in __cmd_dev_add()
1012 info->queue_depth = depth; in __cmd_dev_add()
1309 .queue_depth = 128, in main()
1341 ctx.queue_depth = strtol(optarg, NULL, 10); in main()
H A Dnull.c41 dev->tgt.sq_depth = dev->tgt.cq_depth = 2 * info->queue_depth; in ublk_null_tgt_init()
/linux-6.15/drivers/net/ethernet/microsoft/mana/
H A Dhw_channel.c325 comp_read = mana_gd_poll_cq(q_self, completions, hwc_cq->queue_depth); in mana_hwc_comp_event()
326 WARN_ON_ONCE(comp_read <= 0 || comp_read > hwc_cq->queue_depth); in mana_hwc_comp_event()
405 hwc_cq->queue_depth = q_depth; in mana_hwc_create_cq()
520 hwc_wq->queue_depth = q_depth; in mana_hwc_create_wq()

12345