Home
last modified time | relevance | path

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

12345

/Linux-v5.15/drivers/target/
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
190 queue_depth = tpg->se_tpg_tfo->tpg_get_default_depth(tpg); in target_alloc_node_acl()
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()
368 tpg->se_tpg_tfo->tpg_get_tag(tpg), acl->queue_depth, in core_tpg_del_initiator_node_acl()
[all …]
/Linux-v5.15/arch/um/drivers/
Dvector_kern.c250 int queue_depth; in vector_advancehead() local
258 qi->queue_depth -= advance; in vector_advancehead()
264 if (qi->queue_depth == 0) { in vector_advancehead()
268 queue_depth = qi->queue_depth; in vector_advancehead()
270 return queue_depth; in vector_advancehead()
280 int queue_depth; in vector_advancetail() local
286 qi->queue_depth += advance; in vector_advancetail()
287 queue_depth = qi->queue_depth; in vector_advancetail()
289 return queue_depth; in vector_advancetail()
336 int queue_depth; in vector_enqueue() local
[all …]
Dvector_kern.h46 int queue_depth, head, tail, max_depth, max_iov_frags; member
/Linux-v5.15/drivers/ata/
Dlibata-sata.c1025 int queue_depth) in __ata_change_queue_depth() argument
1030 if (queue_depth < 1 || queue_depth == sdev->queue_depth) in __ata_change_queue_depth()
1031 return sdev->queue_depth; in __ata_change_queue_depth()
1035 return sdev->queue_depth; in __ata_change_queue_depth()
1040 if (queue_depth == 1 || !ata_ncq_enabled(dev)) { in __ata_change_queue_depth()
1042 queue_depth = 1; in __ata_change_queue_depth()
1047 queue_depth = min(queue_depth, sdev->host->can_queue); in __ata_change_queue_depth()
1048 queue_depth = min(queue_depth, ata_id_queue_depth(dev->id)); in __ata_change_queue_depth()
1049 queue_depth = min(queue_depth, ATA_MAX_QUEUE); in __ata_change_queue_depth()
1051 if (sdev->queue_depth == queue_depth) in __ata_change_queue_depth()
[all …]
/Linux-v5.15/drivers/target/iscsi/
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-v5.15/drivers/infiniband/ulp/rtrs/
Drtrs-clt.c65 size_t max_depth = clt->queue_depth; in __rtrs_get_permit()
497 if (WARN_ON(msg_id >= sess->queue_depth)) in process_io_rsp()
550 if (WARN_ON(buf_id >= sess->queue_depth)) in rtrs_clt_rkey_rsp_done()
722 q_size = sess->queue_depth; in post_recv_sess()
1321 for (i = 0; i < sess->queue_depth; ++i) { in fail_all_outstanding_reqs()
1347 for (i = 0; i < sess->queue_depth; ++i) { in free_sess_reqs()
1363 sess->reqs = kcalloc(sess->queue_depth, sizeof(*sess->reqs), in alloc_sess_reqs()
1368 for (i = 0; i < sess->queue_depth; ++i) { in alloc_sess_reqs()
1407 clt->permits_map = kcalloc(BITS_TO_LONGS(clt->queue_depth), in alloc_permits()
1413 clt->permits = kcalloc(clt->queue_depth, permit_size(clt), GFP_KERNEL); in alloc_permits()
[all …]
Drtrs-srv.c115 for (i = 0; i < srv->queue_depth; i++) in rtrs_srv_free_ops_ids()
142 sess->ops_ids = kcalloc(srv->queue_depth, sizeof(*sess->ops_ids), in rtrs_srv_alloc_ops_ids()
147 for (i = 0; i < srv->queue_depth; ++i) { in rtrs_srv_alloc_ops_ids()
581 mrs_num = srv->queue_depth; in map_cont_bufs()
585 mrs_num = DIV_ROUND_UP(srv->queue_depth, chunks_per_mr); in map_cont_bufs()
586 chunks_per_mr = DIV_ROUND_UP(srv->queue_depth, mrs_num); in map_cont_bufs()
605 srv->queue_depth - chunks); in map_cont_bufs()
672 chunk_bits = ilog2(srv->queue_depth - 1) + 1; in map_cont_bufs()
975 q_size = srv->queue_depth; in post_recv_sess()
1231 if (msg_id >= srv->queue_depth || off >= max_chunk_size) { in rtrs_srv_rdma_done()
[all …]
Drtrs-clt.h143 size_t queue_depth; member
172 size_t queue_depth; member
Drtrs.h110 u32 queue_depth; member
Drtrs-srv.h104 size_t queue_depth; member
/Linux-v5.15/drivers/s390/crypto/
Dap_card.c47 return scnprintf(buf, PAGE_SIZE, "%d\n", ac->queue_depth); in depth_show()
222 struct ap_card *ap_card_create(int id, int queue_depth, int raw_type, in ap_card_create() argument
234 ac->queue_depth = queue_depth; in ap_card_create()
Dap_bus.h163 int queue_depth; /* AP queue depth.*/ member
289 struct ap_card *ap_card_create(int id, int queue_depth, int raw_type,
/Linux-v5.15/block/
Dblk-rq-qos.c128 if (rqd->queue_depth == 1) { in rq_depth_calc_max_depth()
144 rqd->queue_depth); in rq_depth_calc_max_depth()
148 unsigned int maxd = 3 * rqd->queue_depth / 4; in rq_depth_calc_max_depth()
Dblk-mq.c2329 for (i = 0; i < set->queue_depth; i++) { in blk_mq_clear_rq_mapping()
2652 unsigned int queue_depth, struct request *flush_rq) in blk_mq_clear_flush_rq_mapping() argument
2663 for (i = 0; i < queue_depth; i++) in blk_mq_clear_flush_rq_mapping()
2687 set->queue_depth, flush_rq); in blk_mq_exit_hctx()
2863 set->queue_depth, set->reserved_tags, flags); in __blk_mq_alloc_map_and_request()
2868 set->queue_depth); in __blk_mq_alloc_map_and_request()
3311 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue()
3376 depth = set->queue_depth; in blk_mq_alloc_map_and_requests()
3382 set->queue_depth >>= 1; in blk_mq_alloc_map_and_requests()
3383 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) { in blk_mq_alloc_map_and_requests()
[all …]
Dblk-mq-tag.h37 unsigned int queue_depth,
Dblk-mq-tag.c477 unsigned int queue_depth, unsigned int reserved, in blk_mq_init_bitmaps() argument
480 unsigned int depth = queue_depth - reserved; in blk_mq_init_bitmaps()
519 set->queue_depth, set->reserved_tags, in blk_mq_init_shared_sbitmap()
/Linux-v5.15/drivers/block/null_blk/
Dnull_blk.h31 unsigned int queue_depth; member
111 unsigned int queue_depth; member
Dmain.c637 tag = find_first_zero_bit(nq->tag_map, nq->queue_depth); in get_tag()
638 if (tag >= nq->queue_depth) in get_tag()
1544 nq->queue_depth = nullb->queue_depth; in null_init_queue()
1646 nq->cmds = kcalloc(nq->queue_depth, sizeof(*cmd), GFP_KERNEL); in setup_commands()
1650 tag_size = ALIGN(nq->queue_depth, BITS_PER_LONG) / BITS_PER_LONG; in setup_commands()
1657 for (i = 0; i < nq->queue_depth; i++) { in setup_commands()
1672 nullb->queue_depth = nullb->dev->hw_queue_depth; in setup_queues()
1728 set->queue_depth = nullb ? nullb->dev->hw_queue_depth : in null_init_tag_set()
/Linux-v5.15/drivers/net/ethernet/microsoft/mana/
Dhw_channel.h133 u16 queue_depth; member
147 u16 queue_depth; member
/Linux-v5.15/drivers/block/
Dvirtio_blk.c690 module_param_named(queue_depth, virtblk_queue_depth, uint, 0444);
701 unsigned int queue_depth; in virtblk_probe() local
750 queue_depth = vblk->vqs[0].vq->num_free; in virtblk_probe()
753 queue_depth /= 2; in virtblk_probe()
755 queue_depth = virtblk_queue_depth; in virtblk_probe()
760 vblk->tag_set.queue_depth = queue_depth; in virtblk_probe()
/Linux-v5.15/drivers/block/rnbd/
Drnbd-srv.h25 int queue_depth; member
Drnbd-clt.h86 size_t queue_depth; member
/Linux-v5.15/drivers/scsi/
Dscsi.c231 sdev->queue_depth = depth; in scsi_change_queue_depth()
238 sbitmap_resize(&sdev->budget_map, sdev->queue_depth); in scsi_change_queue_depth()
240 return sdev->queue_depth; in scsi_change_queue_depth()
/Linux-v5.15/drivers/scsi/snic/
Dsnic_main.c105 if (qsz < sdev->queue_depth) in snic_change_queue_depth()
107 else if (qsz > sdev->queue_depth) in snic_change_queue_depth()
110 atomic64_set(&snic->s_stats.misc.last_qsz, sdev->queue_depth); in snic_change_queue_depth()
114 return sdev->queue_depth; in snic_change_queue_depth()
/Linux-v5.15/include/linux/
Dblk-mq.h251 unsigned int queue_depth; member
450 const struct blk_mq_ops *ops, unsigned int queue_depth,

12345