| /linux/drivers/target/ |
| H A 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 …]
|
| H A D | target_core_pscsi.c | 291 if (!sd->queue_depth) { in pscsi_add_device_to_list() 292 sd->queue_depth = PSCSI_DEFAULT_QUEUEDEPTH; in pscsi_add_device_to_list() 296 sd->lun, sd->queue_depth); in pscsi_add_device_to_list() 303 dev->dev_attrib.hw_queue_depth = sd->queue_depth; in pscsi_add_device_to_list()
|
| /linux/arch/um/drivers/ |
| H A D | vector_kern.c | 267 atomic_sub(advance, &qi->queue_depth); in vector_advancehead() 268 return atomic_read(&qi->queue_depth); in vector_advancehead() 281 atomic_add(advance, &qi->queue_depth); in vector_advancetail() 282 return atomic_read(&qi->queue_depth); in vector_advancetail() 329 int queue_depth; in vector_enqueue() local 335 queue_depth = atomic_read(&qi->queue_depth); in vector_enqueue() 340 if (queue_depth < qi->max_depth) { in vector_enqueue() 355 queue_depth = vector_advancetail(qi, 1); in vector_enqueue() 359 return queue_depth; in vector_enqueue() 368 return queue_depth; in vector_enqueue() [all …]
|
| H A D | vector_kern.h | 48 atomic_t queue_depth; member
|
| /linux/drivers/target/iscsi/ |
| H A 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()
|
| H A D | iscsi_target_nego.c | 1123 u32 payload_length, queue_depth = 0; in iscsi_target_locate_portal() local 1304 queue_depth = se_nacl->queue_depth; in iscsi_target_locate_portal() 1314 tag_num = max_t(u32, ISCSIT_MIN_TAGS, queue_depth); in iscsi_target_locate_portal()
|
| /linux/block/ |
| H A D | blk-mq.c | 3952 unsigned int queue_depth, struct request *flush_rq) in blk_mq_clear_flush_rq_mapping() argument 3962 for (i = 0; i < queue_depth; i++) in blk_mq_clear_flush_rq_mapping() 3986 set->queue_depth, flush_rq); in blk_mq_exit_hctx() 4171 set->queue_depth); in __blk_mq_alloc_map_and_rqs() 4689 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue() 4690 q->async_depth = set->queue_depth; in blk_mq_init_allocated_queue() 4723 set->queue_depth); in __blk_mq_alloc_rq_maps() 4758 depth = set->queue_depth; in blk_mq_alloc_set_map_and_rqs() 4764 set->queue_depth >>= 1; in blk_mq_alloc_set_map_and_rqs() 4765 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) { in blk_mq_alloc_set_map_and_rqs() [all …]
|
| H A D | blk-rq-qos.h | 57 unsigned int queue_depth; member
|
| /linux/drivers/block/rnbd/ |
| H A D | rnbd-srv.h | 25 int queue_depth; member
|
| H A D | rnbd-clt.h | 86 size_t queue_depth; member
|
| /linux/drivers/scsi/snic/ |
| H A 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/tools/testing/selftests/ublk/ |
| H A D | kublk.c | 350 info->dev_id, info->nr_hw_queues, info->queue_depth, in ublk_ctrl_dump() 454 int depth = dev->dev_info.queue_depth; in ublk_queue_init() 526 cq_depth += dev->dev_info.queue_depth * 2; in ublk_thread_init() 539 unsigned nr_ios = dev->dev_info.queue_depth * dev->dev_info.nr_hw_queues; in ublk_thread_init() 793 int nr_ios = dinfo->nr_hw_queues * dinfo->queue_depth; in ublk_submit_fetch_commands() 795 int q_id = i / dinfo->queue_depth; in ublk_submit_fetch_commands() 796 int tag = i % dinfo->queue_depth; in ublk_submit_fetch_commands() 1644 unsigned depth = ctx->queue_depth; in __cmd_dev_add() 1710 info->queue_depth = depth; in __cmd_dev_add() 2155 .queue_depth = 128, in main() [all …]
|
| H A D | stripe.c | 350 dev->tgt.sq_depth = mul * dev->dev_info.queue_depth * conf->nr_files; in ublk_stripe_tgt_init() 351 dev->tgt.cq_depth = mul * dev->dev_info.queue_depth * conf->nr_files; in ublk_stripe_tgt_init()
|
| H A D | null.c | 42 dev->tgt.sq_depth = dev->tgt.cq_depth = 2 * info->queue_depth; in ublk_null_tgt_init()
|
| /linux/rust/kernel/block/mq/ |
| H A D | tag_set.rs | 50 queue_depth: num_tags, in new()
|
| /linux/drivers/block/ |
| H A D | virtio_blk.c | 1242 module_param_named(queue_depth, virtblk_queue_depth, uint, 0444); 1444 unsigned int queue_depth; in virtblk_probe() local 1476 queue_depth = vblk->vqs[0].vq->num_free; in virtblk_probe() 1479 queue_depth /= 2; in virtblk_probe() 1481 queue_depth = virtblk_queue_depth; in virtblk_probe() 1486 vblk->tag_set.queue_depth = queue_depth; in virtblk_probe()
|
| H A D | zloop.c | 85 unsigned int queue_depth; member 1244 opts->nr_queues * opts->queue_depth, zlo->id); in zloop_ctl_add() 1288 zlo->tag_set.queue_depth = opts->queue_depth; in zloop_ctl_add() 1466 opts->queue_depth = ZLOOP_DEF_QUEUE_DEPTH; in zloop_parse_options() 1581 opts->queue_depth = token; in zloop_parse_options()
|
| /linux/drivers/infiniband/ulp/rtrs/ |
| H A D | rtrs.h | 117 u32 queue_depth; member
|
| /linux/drivers/scsi/ |
| H A D | scsi.c | 225 sdev->queue_depth = depth; in scsi_change_queue_depth() 232 sbitmap_resize(&sdev->budget_map, sdev->queue_depth); in scsi_change_queue_depth() 234 return sdev->queue_depth; in scsi_change_queue_depth()
|
| H A D | storvsc_drv.c | 343 static int storvsc_change_queue_depth(struct scsi_device *sdev, int queue_depth); 2140 static int storvsc_change_queue_depth(struct scsi_device *sdev, int queue_depth) in storvsc_change_queue_depth() argument 2142 if (queue_depth > scsi_driver.can_queue) in storvsc_change_queue_depth() 2143 queue_depth = scsi_driver.can_queue; in storvsc_change_queue_depth() 2145 return scsi_change_queue_depth(sdev, queue_depth); in storvsc_change_queue_depth()
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfad_im.c | 91 (bfa_lun_queue_depth > cmnd->device->queue_depth)) { in bfa_cb_ioim_done() 119 if (bfa_lun_queue_depth > cmnd->device->queue_depth) { in bfa_cb_ioim_good_comp() 879 if (bfa_lun_queue_depth > tmp_sdev->queue_depth) { in bfad_ramp_up_qdepth() 883 tmp_sdev->queue_depth + 1); in bfad_ramp_up_qdepth() 901 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); in bfad_handle_qfull()
|
| /linux/drivers/net/ethernet/microsoft/mana/ |
| H A D | hw_channel.c | 366 comp_read = mana_gd_poll_cq(q_self, completions, hwc_cq->queue_depth); in mana_hwc_comp_event() 367 WARN_ON_ONCE(comp_read <= 0 || comp_read > hwc_cq->queue_depth); in mana_hwc_comp_event() 446 hwc_cq->queue_depth = q_depth; in mana_hwc_create_cq() 561 hwc_wq->queue_depth = q_depth; in mana_hwc_create_wq()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_mbx.c | 539 struct hclge_mbx_vf_queue_depth *queue_depth; in hclge_get_vf_queue_depth() local 543 queue_depth = (struct hclge_mbx_vf_queue_depth *)resp_msg->data; in hclge_get_vf_queue_depth() 544 queue_depth->num_tx_desc = cpu_to_le16(hdev->num_tx_desc); in hclge_get_vf_queue_depth() 545 queue_depth->num_rx_desc = cpu_to_le16(hdev->num_rx_desc); in hclge_get_vf_queue_depth()
|
| /linux/include/uapi/linux/ |
| H A D | hdreg.h | 459 unsigned short queue_depth; /* (word 75) member
|
| /linux/include/scsi/ |
| H A D | iscsi_if.h | 103 uint16_t queue_depth; member 109 uint16_t queue_depth; member
|