/linux-6.12.1/drivers/target/ |
D | target_core_tpg.c | 158 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 …]
|
D | target_core_pscsi.c | 290 if (!sd->queue_depth) { in pscsi_add_device_to_list() 291 sd->queue_depth = PSCSI_DEFAULT_QUEUEDEPTH; in pscsi_add_device_to_list() 295 sd->lun, sd->queue_depth); in pscsi_add_device_to_list() 302 dev->dev_attrib.hw_queue_depth = sd->queue_depth; in pscsi_add_device_to_list()
|
/linux-6.12.1/drivers/s390/block/ |
D | dasd_genhd.c | 23 static unsigned int queue_depth = 32; variable 26 module_param(queue_depth, uint, 0444); 27 MODULE_PARM_DESC(queue_depth, "Default queue depth for new DASD devices"); 58 block->tag_set.queue_depth = queue_depth; in dasd_gendisk_alloc()
|
/linux-6.12.1/arch/um/drivers/ |
D | vector_kern.c | 265 atomic_sub(advance, &qi->queue_depth); in vector_advancehead() 266 return atomic_read(&qi->queue_depth); in vector_advancehead() 279 atomic_add(advance, &qi->queue_depth); in vector_advancetail() 280 return atomic_read(&qi->queue_depth); in vector_advancetail() 327 int queue_depth; in vector_enqueue() local 333 queue_depth = atomic_read(&qi->queue_depth); in vector_enqueue() 338 if (queue_depth < qi->max_depth) { in vector_enqueue() 353 queue_depth = vector_advancetail(qi, 1); in vector_enqueue() 357 return queue_depth; in vector_enqueue() 366 return queue_depth; in vector_enqueue() [all …]
|
D | vector_kern.h | 48 atomic_t queue_depth; member
|
/linux-6.12.1/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 | 1118 u32 payload_length, queue_depth = 0; in iscsi_target_locate_portal() local 1316 queue_depth = se_nacl->queue_depth; in iscsi_target_locate_portal() 1326 tag_num = max_t(u32, ISCSIT_MIN_TAGS, queue_depth); in iscsi_target_locate_portal()
|
/linux-6.12.1/drivers/ata/ |
D | libata-sata.c | 1247 int queue_depth) in ata_change_queue_depth() argument 1256 if (!dev || queue_depth < 1 || queue_depth == sdev->queue_depth) { in ata_change_queue_depth() 1258 return sdev->queue_depth; in ata_change_queue_depth() 1267 if (queue_depth > max_queue_depth) { in ata_change_queue_depth() 1276 if (queue_depth == 1 || !ata_ncq_supported(dev)) { in ata_change_queue_depth() 1278 queue_depth = 1; in ata_change_queue_depth() 1285 if (queue_depth == sdev->queue_depth) in ata_change_queue_depth() 1286 return sdev->queue_depth; in ata_change_queue_depth() 1288 return scsi_change_queue_depth(sdev, queue_depth); in ata_change_queue_depth() 1307 int ata_scsi_change_queue_depth(struct scsi_device *sdev, int queue_depth) in ata_scsi_change_queue_depth() argument [all …]
|
/linux-6.12.1/drivers/infiniband/ulp/rtrs/ |
D | rtrs-clt.c | 71 size_t max_depth = clt->queue_depth; in __rtrs_get_permit() 497 if (WARN_ON(msg_id >= clt_path->queue_depth)) in process_io_rsp() 551 if (WARN_ON(buf_id >= clt_path->queue_depth)) in rtrs_clt_rkey_rsp_done() 724 q_size = clt_path->queue_depth; in post_recv_path() 1323 for (i = 0; i < clt_path->queue_depth; ++i) { in fail_all_outstanding_reqs() 1349 for (i = 0; i < clt_path->queue_depth; ++i) { in free_path_reqs() 1365 clt_path->reqs = kcalloc(clt_path->queue_depth, in alloc_path_reqs() 1371 for (i = 0; i < clt_path->queue_depth; ++i) { in alloc_path_reqs() 1411 clt->permits_map = bitmap_zalloc(clt->queue_depth, GFP_KERNEL); in alloc_permits() 1416 clt->permits = kcalloc(clt->queue_depth, permit_size(clt), GFP_KERNEL); in alloc_permits() [all …]
|
D | rtrs-srv.c | 112 for (i = 0; i < srv->queue_depth; i++) in rtrs_srv_free_ops_ids() 141 srv_path->ops_ids = kcalloc(srv->queue_depth, in rtrs_srv_alloc_ops_ids() 147 for (i = 0; i < srv->queue_depth; ++i) { in rtrs_srv_alloc_ops_ids() 588 mrs_num = srv->queue_depth; in map_cont_bufs() 592 mrs_num = DIV_ROUND_UP(srv->queue_depth, chunks_per_mr); in map_cont_bufs() 593 chunks_per_mr = DIV_ROUND_UP(srv->queue_depth, mrs_num); in map_cont_bufs() 610 srv->queue_depth - chunks); in map_cont_bufs() 658 chunk_bits = ilog2(srv->queue_depth - 1) + 1; in map_cont_bufs() 995 q_size = srv->queue_depth; in post_recv_path() 1263 if (msg_id >= srv->queue_depth || off >= max_chunk_size) { in rtrs_srv_rdma_done() [all …]
|
D | rtrs-clt.h | 143 size_t queue_depth; member 172 size_t queue_depth; member
|
D | rtrs.h | 111 u32 queue_depth; member
|
D | rtrs-srv.h | 110 size_t queue_depth; member
|
/linux-6.12.1/include/net/mana/ |
D | hw_channel.h | 139 u16 queue_depth; member 153 u16 queue_depth; member
|
/linux-6.12.1/block/ |
D | blk-rq-qos.c | 122 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()
|
D | blk-mq.c | 3643 unsigned int queue_depth, struct request *flush_rq) in blk_mq_clear_flush_rq_mapping() argument 3654 for (i = 0; i < queue_depth; i++) in blk_mq_clear_flush_rq_mapping() 3679 set->queue_depth, flush_rq); in blk_mq_exit_hctx() 3870 set->queue_depth); in __blk_mq_alloc_map_and_rqs() 4344 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue() 4377 set->queue_depth); in __blk_mq_alloc_rq_maps() 4412 depth = set->queue_depth; in blk_mq_alloc_set_map_and_rqs() 4418 set->queue_depth >>= 1; in blk_mq_alloc_set_map_and_rqs() 4419 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) { in blk_mq_alloc_set_map_and_rqs() 4423 } while (set->queue_depth); in blk_mq_alloc_set_map_and_rqs() [all …]
|
/linux-6.12.1/drivers/block/rnbd/ |
D | rnbd-srv.h | 25 int queue_depth; member
|
D | rnbd-clt.h | 86 size_t queue_depth; member
|
/linux-6.12.1/drivers/scsi/snic/ |
D | snic_main.c | 91 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.12.1/rust/kernel/block/mq/ |
D | tag_set.rs | 53 queue_depth: num_tags, in new()
|
/linux-6.12.1/drivers/block/ |
D | virtio_blk.c | 1243 module_param_named(queue_depth, virtblk_queue_depth, uint, 0444); 1445 unsigned int queue_depth; in virtblk_probe() local 1477 queue_depth = vblk->vqs[0].vq->num_free; in virtblk_probe() 1480 queue_depth /= 2; in virtblk_probe() 1482 queue_depth = virtblk_queue_depth; in virtblk_probe() 1487 vblk->tag_set.queue_depth = queue_depth; in virtblk_probe()
|
/linux-6.12.1/drivers/scsi/ |
D | scsi.c | 222 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.12.1/include/target/ |
D | target_core_base.h | 579 u32 queue_depth; member 723 u32 queue_depth; member 815 u32 queue_depth; member
|
/linux-6.12.1/drivers/net/ethernet/microsoft/mana/ |
D | hw_channel.c | 325 comp_read = mana_gd_poll_cq(q_self, completions, hwc_cq->queue_depth); in mana_hwc_comp_event() 326 WARN_ON_ONCE(comp_read <= 0 || comp_read > hwc_cq->queue_depth); in mana_hwc_comp_event() 405 hwc_cq->queue_depth = q_depth; in mana_hwc_create_cq() 519 hwc_wq->queue_depth = q_depth; in mana_hwc_create_wq()
|
/linux-6.12.1/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() 877 if (bfa_lun_queue_depth > tmp_sdev->queue_depth) { in bfad_ramp_up_qdepth() 881 tmp_sdev->queue_depth + 1); in bfad_ramp_up_qdepth() 899 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); in bfad_handle_qfull()
|