/kernel/linux/linux-5.10/drivers/target/ |
D | target_core_tpg.c | 157 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 …]
|
D | target_core_pscsi.c | 295 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()
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
D | vector_kern.c | 251 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 …]
|
D | vector_kern.h | 46 int queue_depth, head, tail, max_depth, max_iov_frags; member
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | libata-sata.c | 1013 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 …]
|
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
D | iscsi_target_device.c | 41 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()
|
D | iscsi_target_nego.c | 1075 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/ |
D | rtrs-clt.c | 63 size_t max_depth = clt->queue_depth; in __rtrs_get_permit() 474 flags = atomic_inc_return(&con->io_cnt) % sess->queue_depth ? in rtrs_post_send_rdma() 490 if (WARN_ON(msg_id >= sess->queue_depth)) in process_io_rsp() 543 if (WARN_ON(buf_id >= sess->queue_depth)) in rtrs_clt_rkey_rsp_done() 713 q_size = sess->queue_depth; in post_recv_sess() 973 flags = atomic_inc_return(&con->io_cnt) % sess->queue_depth ? in rtrs_post_rdma_write_sg() 1212 for (i = 0; i < sess->queue_depth; ++i) { in fail_all_outstanding_reqs() 1238 for (i = 0; i < sess->queue_depth; ++i) { in free_sess_reqs() 1255 sess->reqs = kcalloc(sess->queue_depth, sizeof(*sess->reqs), in alloc_sess_reqs() 1260 for (i = 0; i < sess->queue_depth; ++i) { in alloc_sess_reqs() [all …]
|
D | rtrs-srv.c | 152 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() 302 flags = (atomic_inc_return(&id->con->wr_cnt) % srv->queue_depth) ? in rdma_write_sg() 429 flags = (atomic_inc_return(&con->wr_cnt) % srv->queue_depth) ? in send_io_resp_imm() 613 mrs_num = srv->queue_depth; in map_cont_bufs() 617 mrs_num = DIV_ROUND_UP(srv->queue_depth, chunks_per_mr); in map_cont_bufs() 618 chunks_per_mr = DIV_ROUND_UP(srv->queue_depth, mrs_num); in map_cont_bufs() 637 srv->queue_depth - chunks); in map_cont_bufs() 704 chunk_bits = ilog2(srv->queue_depth - 1) + 1; in map_cont_bufs() [all …]
|
D | rtrs-clt.h | 140 size_t queue_depth; member 171 size_t queue_depth; member
|
D | rtrs.h | 118 u32 queue_depth; member
|
D | rtrs-srv.h | 106 size_t queue_depth; member
|
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
D | ap_card.c | 47 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()
|
D | ap_bus.h | 162 int queue_depth; /* AP queue depth.*/ member 287 struct ap_card *ap_card_create(int id, int queue_depth, int raw_device_type,
|
/kernel/linux/linux-5.10/block/ |
D | blk-rq-qos.c | 128 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()
|
D | blk-mq.c | 2312 for (i = 0; i < set->queue_depth; i++) { in blk_mq_clear_rq_mapping() 2635 unsigned int queue_depth, struct request *flush_rq) in blk_mq_clear_flush_rq_mapping() argument 2646 for (i = 0; i < queue_depth; i++) in blk_mq_clear_flush_rq_mapping() 2670 set->queue_depth, flush_rq); in blk_mq_exit_hctx() 2847 set->queue_depth, set->reserved_tags, flags); in __blk_mq_alloc_map_and_request() 2852 set->queue_depth); in __blk_mq_alloc_map_and_request() 3136 unsigned int queue_depth, in blk_mq_init_sq_queue() argument 3146 set->queue_depth = queue_depth; in blk_mq_init_sq_queue() 3315 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue() 3384 depth = set->queue_depth; in blk_mq_alloc_map_and_requests() [all …]
|
/kernel/linux/linux-5.10/drivers/block/null_blk/ |
D | null_blk.h | 29 unsigned int queue_depth; member 86 unsigned int queue_depth; member
|
D | main.c | 627 tag = find_first_zero_bit(nq->tag_map, nq->queue_depth); in get_tag() 628 if (tag >= nq->queue_depth) in get_tag() 1539 nq->queue_depth = nullb->queue_depth; in null_init_queue() 1636 nq->cmds = kcalloc(nq->queue_depth, sizeof(*cmd), GFP_KERNEL); in setup_commands() 1640 tag_size = ALIGN(nq->queue_depth, BITS_PER_LONG) / BITS_PER_LONG; in setup_commands() 1647 for (i = 0; i < nq->queue_depth; i++) { in setup_commands() 1662 nullb->queue_depth = nullb->dev->hw_queue_depth; in setup_queues() 1722 set->queue_depth = nullb ? nullb->dev->hw_queue_depth : in null_init_tag_set()
|
/kernel/linux/linux-5.10/drivers/block/rnbd/ |
D | rnbd-srv.h | 25 int queue_depth; member
|
D | rnbd-clt.h | 82 size_t queue_depth; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | blk-mq.h | 255 unsigned int queue_depth; member 438 unsigned int queue_depth,
|
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
D | snic_main.c | 105 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()
|
/kernel/linux/linux-5.10/include/target/ |
D | target_core_base.h | 562 u32 queue_depth; member 701 u32 queue_depth; member 787 u32 queue_depth; member
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
D | bfad_im.c | 90 (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()
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
D | queue.c | 444 mq->tag_set.queue_depth = in mmc_init_queue() 447 mq->tag_set.queue_depth = MMC_QUEUE_DEPTH; in mmc_init_queue()
|