/Linux-v4.19/drivers/target/ |
D | target_core_tpg.c | 173 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 …]
|
D | target_core_pscsi.c | 308 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/ |
D | vector_kern.c | 222 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 …]
|
D | vector_kern.h | 43 int queue_depth, head, tail, max_depth, max_iov_frags; member
|
/Linux-v4.19/drivers/s390/crypto/ |
D | ap_card.c | 46 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()
|
D | ap_bus.h | 159 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/ |
D | iscsi_target_device.c | 49 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()
|
D | iscsi_target_nego.c | 1069 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/ |
D | blk-rq-qos.c | 116 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()
|
D | blk-mq.c | 2272 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 …]
|
D | blk-rq-qos.h | 44 unsigned int queue_depth; member
|
D | blk-mq-sched.c | 474 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/ |
D | null_blk.h | 28 unsigned int queue_depth; member 76 unsigned int queue_depth; member
|
D | null_blk_main.c | 549 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/ |
D | libata-scsi.c | 1406 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/ |
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()
|
/Linux-v4.19/include/target/ |
D | target_core_base.h | 544 u32 queue_depth; member 682 u32 queue_depth; member 763 u32 queue_depth; member
|
/Linux-v4.19/drivers/scsi/bfa/ |
D | bfad_im.c | 98 (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/ |
D | scsi.c | 261 sdev->queue_depth = depth; in scsi_change_queue_depth() 268 return sdev->queue_depth; in scsi_change_queue_depth()
|
D | hpsa.c | 1384 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 …]
|
D | scsi_error.c | 651 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/ |
D | hdreg.h | 459 unsigned short queue_depth; /* (word 75) member
|
/Linux-v4.19/include/linux/ |
D | blk-mq.h | 81 unsigned int queue_depth; /* max hw supported */ member
|
/Linux-v4.19/include/scsi/ |
D | iscsi_if.h | 113 uint16_t queue_depth; member 119 uint16_t queue_depth; member
|
/Linux-v4.19/drivers/nvme/target/ |
D | loop.c | 363 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()
|