Searched refs:nvectors (Results 1 - 5 of 5) sorted by relevance

/linux-master/drivers/virtio/
H A Dvirtio_pci_common.c102 static int vp_request_msix_vectors(struct virtio_device *vdev, int nvectors, argument
111 vp_dev->msix_vectors = nvectors;
113 vp_dev->msix_names = kmalloc_array(nvectors,
119 = kcalloc(nvectors, sizeof(*vp_dev->msix_affinity_masks),
123 for (i = 0; i < nvectors; ++i)
133 err = pci_alloc_irq_vectors_affinity(vp_dev->pci_dev, nvectors,
134 nvectors, flags, desc);
295 int i, err, nvectors, allocated_vectors, queue_idx = 0; local
303 nvectors = 1;
306 ++nvectors;
[all...]
/linux-master/drivers/vdpa/ifcvf/
H A Difcvf_main.c320 int nvectors, ret, max_intr; local
322 nvectors = ifcvf_alloc_vectors(vf);
323 if (nvectors <= 0)
328 if (nvectors < max_intr)
331 if (nvectors == 1) {
347 vf->num_msix_vectors = nvectors;
H A Difcvf_base.c410 u32 nvectors = hw->num_msix_vectors; local
414 for (i = 0; i < nvectors; i++) {
/linux-master/drivers/scsi/
H A Dipr.c3730 if (ioa_cfg->iopoll_weight && ioa_cfg->sis64 && ioa_cfg->nvectors > 1) {
3737 if (ioa_cfg->iopoll_weight && ioa_cfg->sis64 && ioa_cfg->nvectors > 1) {
5582 if (ioa_cfg->iopoll_weight && ioa_cfg->sis64 && ioa_cfg->nvectors > 1) {
7411 if (ioa_cfg->nvectors == 1)
8784 for (i = 0; i < ioa_cfg->nvectors; i++)
9222 for (vec_idx = 0; vec_idx < ioa_cfg->nvectors; vec_idx++) {
9235 for (i = 1; i < ioa_cfg->nvectors; i++) {
9474 ioa_cfg->nvectors = rc;
9495 "Request for %d MSI%ss succeeded.", ioa_cfg->nvectors,
9502 ioa_cfg->nvectors
[all...]
H A Dipr.h1530 unsigned int nvectors; member in struct:ipr_ioa_cfg

Completed in 373 milliseconds