Home
last modified time | relevance | path

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

12345

/openbmc/linux/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
191 queue_depth = tpg->se_tpg_tfo->tpg_get_default_depth(tpg); in target_alloc_node_acl()
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()
369 tpg->se_tpg_tfo->tpg_get_tag(tpg), acl->queue_depth, in core_tpg_del_initiator_node_acl()
[all …]
/openbmc/linux/arch/um/drivers/
H A 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 …]
H A Dvector_kern.h47 int queue_depth, head, tail, max_depth, max_iov_frags; member
/openbmc/linux/drivers/s390/block/
H 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()
/openbmc/linux/drivers/ata/
H A Dlibata-sata.c1056 int queue_depth) in ata_change_queue_depth() argument
1065 if (!dev || queue_depth < 1 || queue_depth == sdev->queue_depth) { in ata_change_queue_depth()
1067 return sdev->queue_depth; in ata_change_queue_depth()
1076 if (queue_depth > max_queue_depth) { in ata_change_queue_depth()
1085 if (queue_depth == 1 || !ata_ncq_supported(dev)) { in ata_change_queue_depth()
1087 queue_depth = 1; in ata_change_queue_depth()
1094 if (queue_depth == sdev->queue_depth) in ata_change_queue_depth()
1095 return sdev->queue_depth; in ata_change_queue_depth()
1097 return scsi_change_queue_depth(sdev, queue_depth); in ata_change_queue_depth()
1116 int ata_scsi_change_queue_depth(struct scsi_device *sdev, int queue_depth) in ata_scsi_change_queue_depth() argument
[all …]
/openbmc/linux/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()
/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt.c71 size_t max_depth = clt->queue_depth; in __rtrs_get_permit()
499 if (WARN_ON(msg_id >= clt_path->queue_depth)) in process_io_rsp()
553 if (WARN_ON(buf_id >= clt_path->queue_depth)) in rtrs_clt_rkey_rsp_done()
726 q_size = clt_path->queue_depth; in post_recv_path()
1324 for (i = 0; i < clt_path->queue_depth; ++i) { in fail_all_outstanding_reqs()
1350 for (i = 0; i < clt_path->queue_depth; ++i) { in free_path_reqs()
1366 clt_path->reqs = kcalloc(clt_path->queue_depth, in alloc_path_reqs()
1372 for (i = 0; i < clt_path->queue_depth; ++i) { in alloc_path_reqs()
1412 clt->permits_map = bitmap_zalloc(clt->queue_depth, GFP_KERNEL); in alloc_permits()
1417 clt->permits = kcalloc(clt->queue_depth, permit_size(clt), GFP_KERNEL); in alloc_permits()
[all …]
H A Drtrs-srv.c109 for (i = 0; i < srv->queue_depth; i++) in rtrs_srv_free_ops_ids()
138 srv_path->ops_ids = kcalloc(srv->queue_depth, in rtrs_srv_alloc_ops_ids()
144 for (i = 0; i < srv->queue_depth; ++i) { in rtrs_srv_alloc_ops_ids()
585 mrs_num = srv->queue_depth; in map_cont_bufs()
589 mrs_num = DIV_ROUND_UP(srv->queue_depth, chunks_per_mr); in map_cont_bufs()
590 chunks_per_mr = DIV_ROUND_UP(srv->queue_depth, mrs_num); in map_cont_bufs()
607 srv->queue_depth - chunks); in map_cont_bufs()
655 chunk_bits = ilog2(srv->queue_depth - 1) + 1; in map_cont_bufs()
988 q_size = srv->queue_depth; in post_recv_path()
1256 if (msg_id >= srv->queue_depth || off >= max_chunk_size) { in rtrs_srv_rdma_done()
[all …]
H A Drtrs-clt.h144 size_t queue_depth; member
173 size_t queue_depth; member
H A Drtrs.h111 u32 queue_depth; member
H A Drtrs-srv.h110 size_t queue_depth; member
/openbmc/linux/drivers/s390/crypto/
H A Dap_card.c47 return sysfs_emit(buf, "%d\n", ac->queue_depth); in depth_show()
232 struct ap_card *ap_card_create(int id, int queue_depth, int raw_type, in ap_card_create() argument
244 ac->queue_depth = queue_depth; in ap_card_create()
H A Dap_bus.h187 int queue_depth; /* AP queue depth.*/ member
292 struct ap_card *ap_card_create(int id, int queue_depth, int raw_type,
/openbmc/qemu/net/
H A Dl2tpv3.c108 int queue_depth; member
352 if (s->queue_depth > 0) { in net_l2tpv3_process_queue()
387 s->queue_depth--; in net_l2tpv3_process_queue()
389 (s->queue_depth > 0) && in net_l2tpv3_process_queue()
404 if (s->queue_depth) { in net_l2tpv3_send()
410 target_count = MAX_L2TPV3_MSGCNT - s->queue_depth; in net_l2tpv3_send()
443 s->queue_depth += count; in net_l2tpv3_send()
/openbmc/linux/include/net/mana/
H A Dhw_channel.h139 u16 queue_depth; member
153 u16 queue_depth; member
/openbmc/linux/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.c3719 unsigned int queue_depth, struct request *flush_rq) in blk_mq_clear_flush_rq_mapping() argument
3730 for (i = 0; i < queue_depth; i++) in blk_mq_clear_flush_rq_mapping()
3755 set->queue_depth, flush_rq); in blk_mq_exit_hctx()
3941 set->queue_depth); in __blk_mq_alloc_map_and_rqs()
4418 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue()
4451 set->queue_depth); in __blk_mq_alloc_rq_maps()
4486 depth = set->queue_depth; in blk_mq_alloc_set_map_and_rqs()
4492 set->queue_depth >>= 1; in blk_mq_alloc_set_map_and_rqs()
4493 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) { in blk_mq_alloc_set_map_and_rqs()
4497 } while (set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
[all …]
/openbmc/linux/drivers/block/null_blk/
H A Dnull_blk.h33 unsigned int queue_depth; member
133 unsigned int queue_depth; member
H A Dmain.c784 tag = find_first_zero_bit(nq->tag_map, nq->queue_depth); in get_tag()
785 if (tag >= nq->queue_depth) in get_tag()
1796 nq->queue_depth = nullb->queue_depth; in null_init_queue()
1898 nq->cmds = kcalloc(nq->queue_depth, sizeof(*cmd), GFP_KERNEL); in setup_commands()
1902 nq->tag_map = bitmap_zalloc(nq->queue_depth, GFP_KERNEL); in setup_commands()
1908 for (i = 0; i < nq->queue_depth; i++) { in setup_commands()
1928 nullb->queue_depth = nullb->dev->hw_queue_depth; in setup_queues()
1981 unsigned int queue_depth; in null_init_tag_set() local
1987 queue_depth = nullb->dev->hw_queue_depth; in null_init_tag_set()
1998 queue_depth = g_hw_queue_depth; in null_init_tag_set()
[all …]
/openbmc/linux/drivers/block/rnbd/
H A Drnbd-srv.h25 int queue_depth; member
H A Drnbd-clt.h86 size_t queue_depth; member
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/include/target/
H A Dtarget_core_base.h570 u32 queue_depth; member
714 u32 queue_depth; member
805 u32 queue_depth; member
/openbmc/u-boot/include/
H A Data.h184 unsigned short queue_depth; /* */ member

12345