Searched refs:nvectors (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/kernel/irq/ |
| D | affinity.c | 102 unsigned nvectors; member 228 unsigned nvectors, ncpus; in alloc_nodes_vectors() local 236 nvectors = max_t(unsigned, 1, in alloc_nodes_vectors() 238 WARN_ON_ONCE(nvectors > ncpus); in alloc_nodes_vectors() 240 node_vectors[n].nvectors = nvectors; in alloc_nodes_vectors() 243 numvecs -= nvectors; in alloc_nodes_vectors() 294 if (nv->nvectors == UINT_MAX) in __irq_build_affinity_masks() 303 WARN_ON_ONCE(nv->nvectors > ncpus); in __irq_build_affinity_masks() 306 extra_vecs = ncpus - nv->nvectors * (ncpus / nv->nvectors); in __irq_build_affinity_masks() 309 for (v = 0; v < nv->nvectors; v++, curvec++) { in __irq_build_affinity_masks() [all …]
|
| /Linux-v5.4/drivers/virtio/ |
| D | virtio_pci_common.c | 102 static int vp_request_msix_vectors(struct virtio_device *vdev, int nvectors, in vp_request_msix_vectors() argument 111 vp_dev->msix_vectors = nvectors; in vp_request_msix_vectors() 113 vp_dev->msix_names = kmalloc_array(nvectors, in vp_request_msix_vectors() 119 = kcalloc(nvectors, sizeof(*vp_dev->msix_affinity_masks), in vp_request_msix_vectors() 123 for (i = 0; i < nvectors; ++i) in vp_request_msix_vectors() 133 err = pci_alloc_irq_vectors_affinity(vp_dev->pci_dev, nvectors, in vp_request_msix_vectors() 134 nvectors, flags, desc); in vp_request_msix_vectors() 287 int i, err, nvectors, allocated_vectors, queue_idx = 0; in vp_find_vqs_msix() local 295 nvectors = 1; in vp_find_vqs_msix() 298 ++nvectors; in vp_find_vqs_msix() [all …]
|
| /Linux-v5.4/drivers/scsi/ |
| D | ipr.c | 3807 if (ioa_cfg->iopoll_weight && ioa_cfg->sis64 && ioa_cfg->nvectors > 1) { in ipr_store_iopoll_weight() 3814 if (ioa_cfg->iopoll_weight && ioa_cfg->sis64 && ioa_cfg->nvectors > 1) { in ipr_store_iopoll_weight() 5884 if (ioa_cfg->iopoll_weight && ioa_cfg->sis64 && ioa_cfg->nvectors > 1) { in ipr_isr_mhrrq() 8211 if (ioa_cfg->nvectors == 1) in ipr_ioafp_identify_hrrq() 9590 for (i = 0; i < ioa_cfg->nvectors; i++) in ipr_free_irqs() 10027 for (vec_idx = 0; vec_idx < ioa_cfg->nvectors; vec_idx++) { in name_msi_vectors() 10040 for (i = 1; i < ioa_cfg->nvectors; i++) { in ipr_request_other_msi_irqs() 10280 ioa_cfg->nvectors = rc; in ipr_probe_ioa() 10301 "Request for %d MSI%ss succeeded.", ioa_cfg->nvectors, in ipr_probe_ioa() 10308 ioa_cfg->nvectors = 1; in ipr_probe_ioa() [all …]
|
| D | ipr.h | 1590 unsigned int nvectors; member
|