Home
last modified time | relevance | path

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

12345

/linux-6.3-rc2/drivers/target/
A Dtarget_core_tpg.c157 struct se_node_acl *acl, u32 queue_depth) in target_set_nacl_queue_depth() argument
159 acl->queue_depth = queue_depth; in target_set_nacl_queue_depth()
161 if (!acl->queue_depth) { in target_set_nacl_queue_depth()
165 acl->queue_depth = 1; in target_set_nacl_queue_depth()
173 u32 queue_depth; in target_alloc_node_acl() local
192 queue_depth = 1; in target_alloc_node_acl()
193 target_set_nacl_queue_depth(tpg, acl, queue_depth); in target_alloc_node_acl()
217 acl->queue_depth, in target_add_node_acl()
380 u32 queue_depth) in core_tpg_set_initiator_node_queue_depth() argument
389 if (acl->queue_depth == queue_depth) in core_tpg_set_initiator_node_queue_depth()
[all …]
/linux-6.3-rc2/arch/um/drivers/
A Dvector_kern.c250 int queue_depth; in vector_advancehead() local
268 queue_depth = qi->queue_depth; in vector_advancehead()
270 return queue_depth; in vector_advancehead()
280 int queue_depth; in vector_advancetail() local
287 queue_depth = qi->queue_depth; in vector_advancetail()
289 return queue_depth; in vector_advancetail()
336 int queue_depth; in vector_enqueue() local
343 queue_depth = qi->queue_depth; in vector_enqueue()
367 return queue_depth; in vector_enqueue()
416 queue_depth = qi->queue_depth; in vector_send()
[all …]
A Dvector_kern.h47 int queue_depth, head, tail, max_depth, max_iov_frags; member
/linux-6.3-rc2/drivers/s390/block/
A Ddasd_genhd.c28 static unsigned int queue_depth = 32; variable
31 module_param(queue_depth, uint, 0444);
32 MODULE_PARM_DESC(queue_depth, "Default queue depth for new DASD devices");
54 block->tag_set.queue_depth = queue_depth; in dasd_gendisk_alloc()
/linux-6.3-rc2/drivers/ata/
A Dlibata-sata.c1035 struct scsi_device *sdev, int queue_depth) in ata_change_queue_depth() argument
1040 return sdev->queue_depth; in ata_change_queue_depth()
1042 if (queue_depth < 1 || queue_depth == sdev->queue_depth) in ata_change_queue_depth()
1043 return sdev->queue_depth; in ata_change_queue_depth()
1048 if (queue_depth == 1 || !ata_ncq_enabled(dev)) { in ata_change_queue_depth()
1050 queue_depth = 1; in ata_change_queue_depth()
1055 queue_depth = min(queue_depth, sdev->host->can_queue); in ata_change_queue_depth()
1056 queue_depth = min(queue_depth, ata_id_queue_depth(dev->id)); in ata_change_queue_depth()
1057 queue_depth = min(queue_depth, ATA_MAX_QUEUE); in ata_change_queue_depth()
1059 if (sdev->queue_depth == queue_depth) in ata_change_queue_depth()
[all …]
/linux-6.3-rc2/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()
/linux-6.3-rc2/drivers/infiniband/ulp/rtrs/
A Drtrs-clt.c69 size_t max_depth = clt->queue_depth; in __rtrs_get_permit()
723 q_size = clt_path->queue_depth; in post_recv_path()
1687 if (WARN_ON(!clt_path->queue_depth)) in create_con_cq_qp()
1695 clt_path->queue_depth * 3 + 1); in create_con_cq_qp()
1697 clt_path->queue_depth * 3 + 1); in create_con_cq_qp()
1824 u16 version, queue_depth; in rtrs_rdma_conn_established() local
1851 queue_depth = le16_to_cpu(msg->queue_depth); in rtrs_rdma_conn_established()
1853 if (clt_path->queue_depth > 0 && queue_depth != clt_path->queue_depth) { in rtrs_rdma_conn_established()
1872 clt_path->queue_depth = queue_depth; in rtrs_rdma_conn_established()
1889 clt->queue_depth = clt_path->queue_depth; in rtrs_rdma_conn_established()
[all …]
A Drtrs-srv.c106 for (i = 0; i < srv->queue_depth; i++) in rtrs_srv_free_ops_ids()
141 for (i = 0; i < srv->queue_depth; ++i) { in rtrs_srv_alloc_ops_ids()
579 mrs_num = srv->queue_depth; in map_cont_bufs()
601 srv->queue_depth - chunks); in map_cont_bufs()
971 q_size = srv->queue_depth; in post_recv_path()
1311 return srv->queue_depth; in rtrs_srv_get_queue_depth()
1346 for (i = 0; i < srv->queue_depth; i++) in free_srv()
1389 srv->queue_depth = sess_queue_depth; in get_or_create_srv()
1399 for (i = 0; i < srv->queue_depth; i++) { in get_or_create_srv()
1580 .queue_depth = cpu_to_le16(srv->queue_depth), in rtrs_rdma_do_accept()
[all …]
A Drtrs-clt.h144 size_t queue_depth; member
173 size_t queue_depth; member
A Drtrs.h111 u32 queue_depth; member
A Drtrs-srv.h110 size_t queue_depth; member
/linux-6.3-rc2/drivers/s390/crypto/
A Dap_card.c47 return scnprintf(buf, PAGE_SIZE, "%d\n", ac->queue_depth); in depth_show()
233 struct ap_card *ap_card_create(int id, int queue_depth, int raw_type, in ap_card_create() argument
245 ac->queue_depth = queue_depth; in ap_card_create()
A Dap_bus.h182 int queue_depth; /* AP queue depth.*/ member
312 struct ap_card *ap_card_create(int id, int queue_depth, int raw_type,
/linux-6.3-rc2/include/net/mana/
A Dhw_channel.h135 u16 queue_depth; member
149 u16 queue_depth; member
/linux-6.3-rc2/drivers/block/null_blk/
A Dnull_blk.h33 unsigned int queue_depth; member
128 unsigned int queue_depth; member
A Dmain.c739 tag = find_first_zero_bit(nq->tag_map, nq->queue_depth); in get_tag()
740 if (tag >= nq->queue_depth) in get_tag()
1735 nq->queue_depth = nullb->queue_depth; in null_init_queue()
1839 nq->cmds = kcalloc(nq->queue_depth, sizeof(*cmd), GFP_KERNEL); in setup_commands()
1843 nq->tag_map = bitmap_zalloc(nq->queue_depth, GFP_KERNEL); in setup_commands()
1849 for (i = 0; i < nq->queue_depth; i++) { in setup_commands()
1869 nullb->queue_depth = nullb->dev->hw_queue_depth; in setup_queues()
1922 unsigned int queue_depth; in null_init_tag_set() local
1928 queue_depth = nullb->dev->hw_queue_depth; in null_init_tag_set()
1939 queue_depth = g_hw_queue_depth; in null_init_tag_set()
[all …]
/linux-6.3-rc2/block/
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()
A Dblk-mq.c3586 set->queue_depth, flush_rq); in blk_mq_exit_hctx()
3777 set->queue_depth); in __blk_mq_alloc_map_and_rqs()
4285 set->queue_depth); in __blk_mq_alloc_rq_maps()
4320 depth = set->queue_depth; in blk_mq_alloc_set_map_and_rqs()
4326 set->queue_depth >>= 1; in blk_mq_alloc_set_map_and_rqs()
4331 } while (set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
4338 if (depth != set->queue_depth) in blk_mq_alloc_set_map_and_rqs()
4340 depth, set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
4419 if (!set->queue_depth) in blk_mq_alloc_tag_set()
4449 set->queue_depth = min(64U, set->queue_depth); in blk_mq_alloc_tag_set()
[all …]
A Dblk-mq-tag.h13 unsigned int queue_depth,
/linux-6.3-rc2/drivers/block/rnbd/
A Drnbd-srv.h25 int queue_depth; member
A Drnbd-clt.h86 size_t queue_depth; member
/linux-6.3-rc2/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()
/linux-6.3-rc2/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()
/linux-6.3-rc2/include/uapi/linux/
A Dublk_cmd.h137 __u16 queue_depth; member
/linux-6.3-rc2/drivers/block/
A Dvirtio_blk.c1235 module_param_named(queue_depth, virtblk_queue_depth, uint, 0444);
1248 unsigned int queue_depth; in virtblk_probe() local
1292 queue_depth = vblk->vqs[0].vq->num_free; in virtblk_probe()
1295 queue_depth /= 2; in virtblk_probe()
1297 queue_depth = virtblk_queue_depth; in virtblk_probe()
1302 vblk->tag_set.queue_depth = queue_depth; in virtblk_probe()

Completed in 81 milliseconds

12345