Searched refs:nvectors (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/virtio/ |
H A D | virtio_pci_common.c | 126 static int vp_request_msix_vectors(struct virtio_device *vdev, int nvectors, in vp_request_msix_vectors() argument 135 vp_dev->msix_vectors = nvectors; in vp_request_msix_vectors() 137 vp_dev->msix_names = kmalloc_array(nvectors, in vp_request_msix_vectors() 143 = kcalloc(nvectors, sizeof(*vp_dev->msix_affinity_masks), in vp_request_msix_vectors() 147 for (i = 0; i < nvectors; ++i) in vp_request_msix_vectors() 160 err = pci_alloc_irq_vectors_affinity(vp_dev->pci_dev, nvectors, in vp_request_msix_vectors() 161 nvectors, flags, desc); in vp_request_msix_vectors() 385 int i, err, nvectors, allocated_vectors, queue_idx = 0; in vp_find_vqs_msix() local 404 nvectors = 1; in vp_find_vqs_msix() 408 ++nvectors; in vp_find_vqs_msix() [all …]
|
/linux/drivers/vdpa/ifcvf/ |
H A D | ifcvf_main.c | 320 int nvectors, ret, max_intr; in ifcvf_request_irq() local 322 nvectors = ifcvf_alloc_vectors(vf); in ifcvf_request_irq() 323 if (nvectors <= 0) in ifcvf_request_irq() 328 if (nvectors < max_intr) in ifcvf_request_irq() 331 if (nvectors == 1) { in ifcvf_request_irq() 347 vf->num_msix_vectors = nvectors; in ifcvf_request_irq()
|
H A D | ifcvf_base.c | 410 u32 nvectors = hw->num_msix_vectors; in ifcvf_synchronize_irq() local 414 for (i = 0; i < nvectors; i++) { in ifcvf_synchronize_irq()
|
/linux/drivers/scsi/ |
H A D | ipr.h | 1530 unsigned int nvectors; member
|