Home
last modified time | relevance | path

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

12345

/Linux-v5.10/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 …]
Dtarget_core_pscsi.c295 if (!sd->queue_depth) { in pscsi_add_device_to_list()
296 sd->queue_depth = PSCSI_DEFAULT_QUEUEDEPTH; in pscsi_add_device_to_list()
300 sd->lun, sd->queue_depth); in pscsi_add_device_to_list()
307 dev->dev_attrib.hw_queue_depth = sd->queue_depth; in pscsi_add_device_to_list()
/Linux-v5.10/arch/um/drivers/
Dvector_kern.c251 int queue_depth; in vector_advancehead() local
259 qi->queue_depth -= advance; in vector_advancehead()
265 if (qi->queue_depth == 0) { in vector_advancehead()
269 queue_depth = qi->queue_depth; in vector_advancehead()
271 return queue_depth; in vector_advancehead()
281 int queue_depth; in vector_advancetail() local
287 qi->queue_depth += advance; in vector_advancetail()
288 queue_depth = qi->queue_depth; in vector_advancetail()
290 return queue_depth; in vector_advancetail()
337 int queue_depth; in vector_enqueue() local
[all …]
Dvector_kern.h46 int queue_depth, head, tail, max_depth, max_iov_frags; member
/Linux-v5.10/drivers/ata/
Dlibata-sata.c1013 int queue_depth) in __ata_change_queue_depth() argument
1018 if (queue_depth < 1 || queue_depth == sdev->queue_depth) in __ata_change_queue_depth()
1019 return sdev->queue_depth; in __ata_change_queue_depth()
1023 return sdev->queue_depth; in __ata_change_queue_depth()
1028 if (queue_depth == 1 || !ata_ncq_enabled(dev)) { in __ata_change_queue_depth()
1030 queue_depth = 1; in __ata_change_queue_depth()
1035 queue_depth = min(queue_depth, sdev->host->can_queue); in __ata_change_queue_depth()
1036 queue_depth = min(queue_depth, ata_id_queue_depth(dev->id)); in __ata_change_queue_depth()
1037 queue_depth = min(queue_depth, ATA_MAX_QUEUE); in __ata_change_queue_depth()
1039 if (sdev->queue_depth == queue_depth) in __ata_change_queue_depth()
[all …]
/Linux-v5.10/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()
Discsi_target_nego.c1075 u32 payload_length, queue_depth = 0; in iscsi_target_locate_portal() local
1273 queue_depth = se_nacl->queue_depth; in iscsi_target_locate_portal()
1283 tag_num = max_t(u32, ISCSIT_MIN_TAGS, queue_depth); in iscsi_target_locate_portal()
/Linux-v5.10/drivers/infiniband/ulp/rtrs/
Drtrs-clt.c61 size_t max_depth = clt->queue_depth; in __rtrs_get_permit()
472 flags = atomic_inc_return(&con->io_cnt) % sess->queue_depth ? in rtrs_post_send_rdma()
488 if (WARN_ON(msg_id >= sess->queue_depth)) in process_io_rsp()
541 if (WARN_ON(buf_id >= sess->queue_depth)) in rtrs_clt_rkey_rsp_done()
712 q_size = sess->queue_depth; in post_recv_sess()
969 flags = atomic_inc_return(&con->io_cnt) % sess->queue_depth ? in rtrs_post_rdma_write_sg()
1208 for (i = 0; i < sess->queue_depth; ++i) { in fail_all_outstanding_reqs()
1234 for (i = 0; i < sess->queue_depth; ++i) { in free_sess_reqs()
1252 sess->reqs = kcalloc(sess->queue_depth, sizeof(*sess->reqs), in alloc_sess_reqs()
1257 for (i = 0; i < sess->queue_depth; ++i) { in alloc_sess_reqs()
[all …]
Drtrs-srv.c152 for (i = 0; i < srv->queue_depth; i++) in rtrs_srv_free_ops_ids()
171 sess->ops_ids = kcalloc(srv->queue_depth, sizeof(*sess->ops_ids), in rtrs_srv_alloc_ops_ids()
176 for (i = 0; i < srv->queue_depth; ++i) { in rtrs_srv_alloc_ops_ids()
300 flags = (atomic_inc_return(&id->con->wr_cnt) % srv->queue_depth) ? in rdma_write_sg()
423 flags = (atomic_inc_return(&con->wr_cnt) % srv->queue_depth) ? in send_io_resp_imm()
607 mrs_num = srv->queue_depth; in map_cont_bufs()
611 mrs_num = DIV_ROUND_UP(srv->queue_depth, chunks_per_mr); in map_cont_bufs()
612 chunks_per_mr = DIV_ROUND_UP(srv->queue_depth, mrs_num); in map_cont_bufs()
631 srv->queue_depth - chunks); in map_cont_bufs()
700 chunk_bits = ilog2(srv->queue_depth - 1) + 1; in map_cont_bufs()
[all …]
Drtrs-clt.h140 size_t queue_depth; member
170 size_t queue_depth; member
Drtrs.h118 u32 queue_depth; member
Drtrs-srv.h106 size_t queue_depth; member
/Linux-v5.10/drivers/s390/crypto/
Dap_card.c47 return scnprintf(buf, PAGE_SIZE, "%d\n", ac->queue_depth); in depth_show()
209 struct ap_card *ap_card_create(int id, int queue_depth, int raw_type, in ap_card_create() argument
221 ac->queue_depth = queue_depth; in ap_card_create()
Dap_bus.h168 int queue_depth; /* AP queue depth.*/ member
293 struct ap_card *ap_card_create(int id, int queue_depth, int raw_device_type,
/Linux-v5.10/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.c2758 set->queue_depth, set->reserved_tags, flags); in __blk_mq_alloc_map_and_request()
2763 set->queue_depth); in __blk_mq_alloc_map_and_request()
3045 unsigned int queue_depth, in blk_mq_init_sq_queue() argument
3055 set->queue_depth = queue_depth; in blk_mq_init_sq_queue()
3226 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue()
3293 depth = set->queue_depth; in blk_mq_alloc_map_and_requests()
3299 set->queue_depth >>= 1; in blk_mq_alloc_map_and_requests()
3300 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) { in blk_mq_alloc_map_and_requests()
3304 } while (set->queue_depth); in blk_mq_alloc_map_and_requests()
3306 if (!set->queue_depth || err) { in blk_mq_alloc_map_and_requests()
[all …]
/Linux-v5.10/drivers/block/
Dnull_blk.h28 unsigned int queue_depth; member
85 unsigned int queue_depth; member
Dnull_blk_main.c627 tag = find_first_zero_bit(nq->tag_map, nq->queue_depth); in get_tag()
628 if (tag >= nq->queue_depth) in get_tag()
1523 nq->queue_depth = nullb->queue_depth; in null_init_queue()
1620 nq->cmds = kcalloc(nq->queue_depth, sizeof(*cmd), GFP_KERNEL); in setup_commands()
1624 tag_size = ALIGN(nq->queue_depth, BITS_PER_LONG) / BITS_PER_LONG; in setup_commands()
1631 for (i = 0; i < nq->queue_depth; i++) { in setup_commands()
1646 nullb->queue_depth = nullb->dev->hw_queue_depth; in setup_queues()
1706 set->queue_depth = nullb ? nullb->dev->hw_queue_depth : in null_init_tag_set()
/Linux-v5.10/drivers/block/rnbd/
Drnbd-srv.h25 int queue_depth; member
Drnbd-clt.h82 int queue_depth; member
/Linux-v5.10/include/linux/
Dblk-mq.h254 unsigned int queue_depth; member
431 unsigned int queue_depth,
/Linux-v5.10/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.10/include/target/
Dtarget_core_base.h558 u32 queue_depth; member
697 u32 queue_depth; member
778 u32 queue_depth; member
/Linux-v5.10/drivers/scsi/bfa/
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()
/Linux-v5.10/drivers/scsi/
Dscsi.c227 sdev->queue_depth = depth; in scsi_change_queue_depth()
234 return sdev->queue_depth; in scsi_change_queue_depth()

12345