Home
last modified time | relevance | path

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

1234

/Linux-v4.19/drivers/target/
Dtarget_core_tpg.c173 struct se_node_acl *acl, u32 queue_depth) in target_set_nacl_queue_depth() argument
175 acl->queue_depth = queue_depth; in target_set_nacl_queue_depth()
177 if (!acl->queue_depth) { in target_set_nacl_queue_depth()
181 acl->queue_depth = 1; in target_set_nacl_queue_depth()
189 u32 queue_depth; in target_alloc_node_acl() local
206 queue_depth = tpg->se_tpg_tfo->tpg_get_default_depth(tpg); in target_alloc_node_acl()
208 queue_depth = 1; in target_alloc_node_acl()
209 target_set_nacl_queue_depth(tpg, acl, queue_depth); in target_alloc_node_acl()
233 acl->queue_depth, in target_add_node_acl()
384 tpg->se_tpg_tfo->tpg_get_tag(tpg), acl->queue_depth, in core_tpg_del_initiator_node_acl()
[all …]
Dtarget_core_pscsi.c308 if (!sd->queue_depth) { in pscsi_add_device_to_list()
309 sd->queue_depth = PSCSI_DEFAULT_QUEUEDEPTH; in pscsi_add_device_to_list()
313 sd->lun, sd->queue_depth); in pscsi_add_device_to_list()
320 dev->dev_attrib.hw_queue_depth = sd->queue_depth; in pscsi_add_device_to_list()
/Linux-v4.19/arch/um/drivers/
Dvector_kern.c222 int queue_depth; in vector_advancehead() local
230 qi->queue_depth -= advance; in vector_advancehead()
236 if (qi->queue_depth == 0) { in vector_advancehead()
240 queue_depth = qi->queue_depth; in vector_advancehead()
242 return queue_depth; in vector_advancehead()
252 int queue_depth; in vector_advancetail() local
258 qi->queue_depth += advance; in vector_advancetail()
259 queue_depth = qi->queue_depth; in vector_advancetail()
261 return queue_depth; in vector_advancetail()
308 int queue_depth; in vector_enqueue() local
[all …]
Dvector_kern.h43 int queue_depth, head, tail, max_depth, max_iov_frags; member
/Linux-v4.19/drivers/s390/crypto/
Dap_card.c46 return snprintf(buf, PAGE_SIZE, "%d\n", ac->queue_depth); in depth_show()
173 struct ap_card *ap_card_create(int id, int queue_depth, int raw_type, in ap_card_create() argument
187 ac->queue_depth = queue_depth; in ap_card_create()
Dap_bus.h159 int queue_depth; /* AP queue depth.*/ member
257 struct ap_card *ap_card_create(int id, int queue_depth, int raw_device_type,
/Linux-v4.19/drivers/target/iscsi/
Discsi_target_device.c49 sess->cmdsn_window = se_nacl->queue_depth; in iscsit_determine_maxcmdsn()
50 atomic_add(se_nacl->queue_depth - 1, &sess->max_cmd_sn); in iscsit_determine_maxcmdsn()
Discsi_target_nego.c1069 u32 payload_length, queue_depth = 0; in iscsi_target_locate_portal() local
1267 queue_depth = se_nacl->queue_depth; in iscsi_target_locate_portal()
1277 tag_num = max_t(u32, ISCSIT_MIN_TAGS, queue_depth); in iscsi_target_locate_portal()
/Linux-v4.19/block/
Dblk-rq-qos.c116 if (rqd->queue_depth == 1) { in rq_depth_calc_max_depth()
132 rqd->queue_depth); in rq_depth_calc_max_depth()
136 unsigned int maxd = 3 * rqd->queue_depth / 4; in rq_depth_calc_max_depth()
Dblk-mq.c2272 set->queue_depth, set->reserved_tags); in __blk_mq_alloc_rq_map()
2277 set->queue_depth); in __blk_mq_alloc_rq_map()
2620 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue()
2708 depth = set->queue_depth; in blk_mq_alloc_rq_maps()
2714 set->queue_depth >>= 1; in blk_mq_alloc_rq_maps()
2715 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) { in blk_mq_alloc_rq_maps()
2719 } while (set->queue_depth); in blk_mq_alloc_rq_maps()
2721 if (!set->queue_depth || err) { in blk_mq_alloc_rq_maps()
2726 if (depth != set->queue_depth) in blk_mq_alloc_rq_maps()
2728 depth, set->queue_depth); in blk_mq_alloc_rq_maps()
[all …]
Dblk-rq-qos.h44 unsigned int queue_depth; member
Dblk-mq-sched.c474 q->nr_requests = q->tag_set->queue_depth; in blk_mq_init_sched()
483 q->nr_requests = 2 * min_t(unsigned int, q->tag_set->queue_depth, in blk_mq_init_sched()
/Linux-v4.19/drivers/block/
Dnull_blk.h28 unsigned int queue_depth; member
76 unsigned int queue_depth; member
Dnull_blk_main.c549 tag = find_first_zero_bit(nq->tag_map, nq->queue_depth); in get_tag()
550 if (tag >= nq->queue_depth) in get_tag()
1539 nq->queue_depth = nullb->queue_depth; in null_init_queue()
1565 nq->cmds = kcalloc(nq->queue_depth, sizeof(*cmd), GFP_KERNEL); in setup_commands()
1569 tag_size = ALIGN(nq->queue_depth, BITS_PER_LONG) / BITS_PER_LONG; in setup_commands()
1576 for (i = 0; i < nq->queue_depth; i++) { in setup_commands()
1595 nullb->queue_depth = nullb->dev->hw_queue_depth; in setup_queues()
1646 set->queue_depth = nullb ? nullb->dev->hw_queue_depth : in null_init_tag_set()
/Linux-v4.19/drivers/ata/
Dlibata-scsi.c1406 int queue_depth) in __ata_change_queue_depth() argument
1411 if (queue_depth < 1 || queue_depth == sdev->queue_depth) in __ata_change_queue_depth()
1412 return sdev->queue_depth; in __ata_change_queue_depth()
1416 return sdev->queue_depth; in __ata_change_queue_depth()
1421 if (queue_depth == 1 || !ata_ncq_enabled(dev)) { in __ata_change_queue_depth()
1423 queue_depth = 1; in __ata_change_queue_depth()
1428 queue_depth = min(queue_depth, sdev->host->can_queue); in __ata_change_queue_depth()
1429 queue_depth = min(queue_depth, ata_id_queue_depth(dev->id)); in __ata_change_queue_depth()
1430 queue_depth = min(queue_depth, ATA_MAX_QUEUE); in __ata_change_queue_depth()
1432 if (sdev->queue_depth == queue_depth) in __ata_change_queue_depth()
[all …]
/Linux-v4.19/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-v4.19/include/target/
Dtarget_core_base.h544 u32 queue_depth; member
682 u32 queue_depth; member
763 u32 queue_depth; member
/Linux-v4.19/drivers/scsi/bfa/
Dbfad_im.c98 (bfa_lun_queue_depth > cmnd->device->queue_depth)) { in bfa_cb_ioim_done()
126 if (bfa_lun_queue_depth > cmnd->device->queue_depth) { in bfa_cb_ioim_good_comp()
888 if (bfa_lun_queue_depth > tmp_sdev->queue_depth) { in bfad_ramp_up_qdepth()
892 tmp_sdev->queue_depth + 1); in bfad_ramp_up_qdepth()
910 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); in bfad_handle_qfull()
/Linux-v4.19/drivers/scsi/
Dscsi.c261 sdev->queue_depth = depth; in scsi_change_queue_depth()
268 return sdev->queue_depth; in scsi_change_queue_depth()
Dhpsa.c1384 h->dev[entry]->queue_depth = new_entry->queue_depth; in hpsa_scsi_update_entry()
1519 if (dev1->queue_depth != dev2->queue_depth) in device_updated()
1729 logical_drive->phys_disk[i]->queue_depth); in hpsa_figure_phys_disk_ptrs()
1748 logical_drive->queue_depth = 8; in hpsa_figure_phys_disk_ptrs()
1756 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs()
1759 logical_drive->queue_depth = EXTERNAL_QD; in hpsa_figure_phys_disk_ptrs()
1761 logical_drive->queue_depth = h->nr_cmds; in hpsa_figure_phys_disk_ptrs()
2128 int queue_depth; in hpsa_slave_configure() local
2135 queue_depth = EXTERNAL_QD; in hpsa_slave_configure()
2137 queue_depth = sd->queue_depth != 0 ? in hpsa_slave_configure()
[all …]
Dscsi_error.c651 sdev->queue_depth >= sdev->max_queue_depth) in scsi_handle_queue_ramp_up()
669 tmp_sdev->queue_depth == sdev->max_queue_depth) in scsi_handle_queue_ramp_up()
672 scsi_change_queue_depth(tmp_sdev, tmp_sdev->queue_depth + 1); in scsi_handle_queue_ramp_up()
694 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); in scsi_handle_queue_full()
/Linux-v4.19/include/uapi/linux/
Dhdreg.h459 unsigned short queue_depth; /* (word 75) member
/Linux-v4.19/include/linux/
Dblk-mq.h81 unsigned int queue_depth; /* max hw supported */ member
/Linux-v4.19/include/scsi/
Discsi_if.h113 uint16_t queue_depth; member
119 uint16_t queue_depth; member
/Linux-v4.19/drivers/nvme/target/
Dloop.c363 ctrl->admin_tag_set.queue_depth = NVME_AQ_MQ_TAG_DEPTH; in nvme_loop_configure_admin_queue()
535 ctrl->tag_set.queue_depth = ctrl->ctrl.opts->queue_size; in nvme_loop_create_io_queues()

1234