/Linux-v6.6/drivers/crypto/cavium/cpt/ |
D | cptvf_main.c | 42 if (cptvf->nr_queues) { in init_worker_threads() 44 cptvf->nr_queues); in init_worker_threads() 47 for (i = 0; i < cptvf->nr_queues; i++) { in init_worker_threads() 69 if (cptvf->nr_queues) { in cleanup_worker_threads() 71 cptvf->nr_queues); in cleanup_worker_threads() 74 for (i = 0; i < cptvf->nr_queues; i++) in cleanup_worker_threads() 100 pqinfo->nr_queues = 0; in free_pending_queues() 104 u32 nr_queues) in alloc_pending_queues() argument 110 pqinfo->nr_queues = nr_queues; in alloc_pending_queues() 136 static int init_pending_queues(struct cpt_vf *cptvf, u32 qlen, u32 nr_queues) in init_pending_queues() argument [all …]
|
D | cptvf.h | 85 u32 nr_queues; /* Number of queues supported */ member 91 for (i = 0, q = &qinfo->queue[i]; i < qinfo->nr_queues; i++, \ 110 u32 nr_queues; member
|
D | cptvf_reqmanager.c | 233 if (unlikely(qno >= cptvf->nr_queues)) { in send_cpt_command() 235 qno, cptvf->nr_queues); in send_cpt_command() 545 if (unlikely(qno > cptvf->nr_queues)) { in vq_post_process()
|
/Linux-v6.6/drivers/crypto/cavium/nitrox/ |
D | nitrox_sriov.c | 58 int nr_queues = 0; in vf_mode_to_nr_queues() local 62 nr_queues = MAX_PF_QUEUES; in vf_mode_to_nr_queues() 65 nr_queues = 8; in vf_mode_to_nr_queues() 68 nr_queues = 4; in vf_mode_to_nr_queues() 71 nr_queues = 2; in vf_mode_to_nr_queues() 74 nr_queues = 1; in vf_mode_to_nr_queues() 78 return nr_queues; in vf_mode_to_nr_queues()
|
D | nitrox_lib.c | 91 for (i = 0; i < ndev->nr_queues; i++) { in nitrox_free_aqm_queues() 102 for (i = 0; i < ndev->nr_queues; i++) { in nitrox_alloc_aqm_queues() 142 for (i = 0; i < ndev->nr_queues; i++) { in nitrox_free_pktin_queues() 155 ndev->pkt_inq = kcalloc_node(ndev->nr_queues, in nitrox_alloc_pktin_queues() 161 for (i = 0; i < ndev->nr_queues; i++) { in nitrox_alloc_pktin_queues()
|
D | nitrox_dev.h | 160 int nr_queues; member 250 u16 nr_queues; member
|
D | nitrox_mbx.c | 68 vfdev->nr_queues = vfdev->msg.data; in pf2vf_send_response() 76 vfdev->nr_queues = 0; in pf2vf_send_response()
|
D | nitrox_hal.c | 124 for (i = 0; i < ndev->nr_queues; i++) { in nitrox_config_pkt_input_rings() 240 for (i = 0; i < ndev->nr_queues; i++) in nitrox_config_pkt_solicit_ports() 356 for (ring = 0; ring < ndev->nr_queues; ring++) { in nitrox_config_aqm_rings()
|
/Linux-v6.6/drivers/ufs/core/ |
D | ufs-mcq.c | 172 hba->nr_queues[HCTX_TYPE_DEFAULT] = rw_queues; in ufshcd_mcq_config_nr_queues() 173 rem -= hba->nr_queues[HCTX_TYPE_DEFAULT]; in ufshcd_mcq_config_nr_queues() 179 hba->nr_queues[HCTX_TYPE_POLL] = poll_queues; in ufshcd_mcq_config_nr_queues() 180 rem -= hba->nr_queues[HCTX_TYPE_POLL]; in ufshcd_mcq_config_nr_queues() 184 hba->nr_queues[HCTX_TYPE_READ] = read_queues; in ufshcd_mcq_config_nr_queues() 185 rem -= hba->nr_queues[HCTX_TYPE_READ]; in ufshcd_mcq_config_nr_queues() 188 if (!hba->nr_queues[HCTX_TYPE_DEFAULT]) in ufshcd_mcq_config_nr_queues() 189 hba->nr_queues[HCTX_TYPE_DEFAULT] = min3(rem, rw_queues, in ufshcd_mcq_config_nr_queues() 193 host->nr_hw_queues += hba->nr_queues[i]; in ufshcd_mcq_config_nr_queues() 377 if (i < hba->nr_hw_queues - hba->nr_queues[HCTX_TYPE_POLL]) in ufshcd_mcq_make_queues_operational()
|
/Linux-v6.6/block/ |
D | blk-mq-pci.c | 31 for (queue = 0; queue < qmap->nr_queues; queue++) { in blk_mq_pci_map_queues() 43 WARN_ON_ONCE(qmap->nr_queues > 1); in blk_mq_pci_map_queues()
|
D | blk-mq-cpumap.c | 23 masks = group_cpus_evenly(qmap->nr_queues); in blk_mq_map_queues() 30 for (queue = 0; queue < qmap->nr_queues; queue++) { in blk_mq_map_queues()
|
D | blk-mq-virtio.c | 32 for (queue = 0; queue < qmap->nr_queues; queue++) { in blk_mq_virtio_map_queues()
|
/Linux-v6.6/tools/perf/util/ |
D | auxtrace.c | 200 static struct auxtrace_queue *auxtrace_alloc_queue_array(unsigned int nr_queues) in auxtrace_alloc_queue_array() argument 206 if (nr_queues > max_nr_queues) in auxtrace_alloc_queue_array() 209 queue_array = calloc(nr_queues, sizeof(struct auxtrace_queue)); in auxtrace_alloc_queue_array() 213 for (i = 0; i < nr_queues; i++) { in auxtrace_alloc_queue_array() 223 queues->nr_queues = AUXTRACE_INIT_NR_QUEUES; in auxtrace_queues__init() 224 queues->queue_array = auxtrace_alloc_queue_array(queues->nr_queues); in auxtrace_queues__init() 233 unsigned int nr_queues = queues->nr_queues; in auxtrace_queues__grow() local 237 if (!nr_queues) in auxtrace_queues__grow() 238 nr_queues = AUXTRACE_INIT_NR_QUEUES; in auxtrace_queues__grow() 240 while (nr_queues && nr_queues < new_nr_queues) in auxtrace_queues__grow() [all …]
|
D | intel-bts.c | 211 for (i = 0; i < bts->queues.nr_queues; i++) { in intel_bts_setup_queues() 542 for (i = 0; i < queues->nr_queues; i++) { in intel_bts_process_tid_exit() 713 for (i = 0; i < queues->nr_queues; i++) { in intel_bts_free_events()
|
D | s390-cpumsf.c | 203 if (!sf->use_logfile || sf->queues.nr_queues <= sample->cpu) in s390_cpumcf_dumpctr() 825 for (i = 0; i < sf->queues.nr_queues; i++) { in s390_cpumsf_setup_queues() 1019 for (i = 0; i < queues->nr_queues; i++) { in s390_cpumsf_free_queues()
|
D | arm-spe.c | 768 for (i = 0; i < spe->queues.nr_queues; i++) { in arm_spe__setup_queues() 867 for (i = 0; i < queues->nr_queues; i++) { in arm_spe_process_timeless_queues() 1038 for (i = 0; i < queues->nr_queues; i++) { in arm_spe_free_events()
|
D | intel-pt.c | 1418 for (i = 0; i < pt->queues.nr_queues; i++) { in intel_pt_first_timestamp() 1656 for (i = 0; i < pt->queues.nr_queues; i++) { in intel_pt_setup_queues() 2812 for (i = 0; i < pt->queues.nr_queues; i++) { in intel_pt_enable_sync_switch() 2827 for (i = 0; i < pt->queues.nr_queues; i++) { in intel_pt_disable_sync_switch() 3065 for (i = 0; i < queues->nr_queues; i++) { in intel_pt_process_timeless_queues() 3139 if (cpu < 0 || !pt->queues.nr_queues) in intel_pt_cpu_to_ptq() 3142 if ((unsigned)cpu >= pt->queues.nr_queues) in intel_pt_cpu_to_ptq() 3143 i = pt->queues.nr_queues - 1; in intel_pt_cpu_to_ptq() 3155 for (; j < pt->queues.nr_queues; j++) { in intel_pt_cpu_to_ptq() 3562 for (i = 0; i < queues->nr_queues; i++) { in intel_pt_free_events()
|
/Linux-v6.6/drivers/block/rnbd/ |
D | rnbd-clt.c | 1171 set->map[HCTX_TYPE_DEFAULT].nr_queues = num_online_cpus(); in rnbd_rdma_map_queues() 1173 set->map[HCTX_TYPE_READ].nr_queues = num_online_cpus(); in rnbd_rdma_map_queues() 1180 set->map[HCTX_TYPE_POLL].nr_queues = sess->nr_poll_queues; in rnbd_rdma_map_queues() 1182 set->map[HCTX_TYPE_READ].nr_queues; in rnbd_rdma_map_queues() 1186 set->map[HCTX_TYPE_DEFAULT].nr_queues, in rnbd_rdma_map_queues() 1187 set->map[HCTX_TYPE_READ].nr_queues, in rnbd_rdma_map_queues() 1188 set->map[HCTX_TYPE_POLL].nr_queues); in rnbd_rdma_map_queues() 1192 set->map[HCTX_TYPE_DEFAULT].nr_queues, in rnbd_rdma_map_queues() 1193 set->map[HCTX_TYPE_READ].nr_queues); in rnbd_rdma_map_queues()
|
/Linux-v6.6/drivers/block/null_blk/ |
D | main.c | 1530 if (nullb->nr_queues != 1) in nullb_to_queue() 1531 index = raw_smp_processor_id() / ((nr_cpu_ids + nullb->nr_queues - 1) / nullb->nr_queues); in nullb_to_queue() 1626 map->nr_queues = submit_queues; in null_map_queues() 1629 map->nr_queues = 0; in null_map_queues() 1632 map->nr_queues = poll_queues; in null_map_queues() 1636 qoff += map->nr_queues; in null_map_queues() 1763 for (i = 0; i < nullb->nr_queues; i++) in cleanup_queues() 1774 nullb->nr_queues--; in null_exit_hctx() 1798 nullb->nr_queues++; in null_init_hctx() 1929 nullb->nr_queues++; in init_driver_queues()
|
D | null_blk.h | 140 unsigned int nr_queues; member
|
/Linux-v6.6/drivers/nvme/host/ |
D | fabrics.c | 1037 set->map[HCTX_TYPE_DEFAULT].nr_queues = in nvmf_map_queues() 1040 set->map[HCTX_TYPE_READ].nr_queues = in nvmf_map_queues() 1046 set->map[HCTX_TYPE_DEFAULT].nr_queues = in nvmf_map_queues() 1049 set->map[HCTX_TYPE_READ].nr_queues = in nvmf_map_queues() 1058 set->map[HCTX_TYPE_POLL].nr_queues = io_queues[HCTX_TYPE_POLL]; in nvmf_map_queues()
|
D | pci.c | 448 map->nr_queues = dev->io_queues[i]; in nvme_pci_map_queues() 449 if (!map->nr_queues) { in nvme_pci_map_queues() 463 qoff += map->nr_queues; in nvme_pci_map_queues() 464 offset += map->nr_queues; in nvme_pci_map_queues() 2420 int nr_queues = dev->online_queues - 1, sent = 0; in __nvme_delete_io_queues() local 2425 while (nr_queues > 0) { in __nvme_delete_io_queues() 2426 if (nvme_delete_queue(&dev->queues[nr_queues], opcode)) in __nvme_delete_io_queues() 2428 nr_queues--; in __nvme_delete_io_queues() 2432 struct nvme_queue *nvmeq = &dev->queues[nr_queues + sent]; in __nvme_delete_io_queues() 2440 if (nr_queues) in __nvme_delete_io_queues()
|
/Linux-v6.6/drivers/s390/cio/ |
D | qdio_setup.c | 100 static int __qdio_allocate_qs(struct qdio_q **irq_ptr_qs, int nr_queues) in __qdio_allocate_qs() argument 105 for (i = 0; i < nr_queues; i++) { in __qdio_allocate_qs()
|
/Linux-v6.6/drivers/char/ |
D | virtio_console.c | 1842 u32 i, j, nr_ports, nr_queues; in init_vqs() local 1846 nr_queues = use_multiport(portdev) ? (nr_ports + 1) * 2 : 2; in init_vqs() 1848 vqs = kmalloc_array(nr_queues, sizeof(struct virtqueue *), GFP_KERNEL); in init_vqs() 1849 io_callbacks = kmalloc_array(nr_queues, sizeof(vq_callback_t *), in init_vqs() 1851 io_names = kmalloc_array(nr_queues, sizeof(char *), GFP_KERNEL); in init_vqs() 1889 err = virtio_find_vqs(portdev->vdev, nr_queues, vqs, in init_vqs()
|
/Linux-v6.6/drivers/block/ |
D | ublk_drv.c | 1981 int nr_queues = ub->dev_info.nr_hw_queues; in ublk_deinit_queues() local 1987 for (i = 0; i < nr_queues; i++) in ublk_deinit_queues() 1994 int nr_queues = ub->dev_info.nr_hw_queues; in ublk_init_queues() local 2000 ub->__queues = kcalloc(nr_queues, ubq_size, GFP_KERNEL); in ublk_init_queues() 2004 for (i = 0; i < nr_queues; i++) { in ublk_init_queues()
|