Lines Matching refs:total_vecs
9134 int i, total_vecs, max, rc = 0, min = 1, ulp_msix; in bnxt_init_msix() local
9137 total_vecs = bnxt_get_num_msix(bp); in bnxt_init_msix()
9139 if (total_vecs > max) in bnxt_init_msix()
9140 total_vecs = max; in bnxt_init_msix()
9142 if (!total_vecs) in bnxt_init_msix()
9145 msix_ent = kcalloc(total_vecs, sizeof(struct msix_entry), GFP_KERNEL); in bnxt_init_msix()
9149 for (i = 0; i < total_vecs; i++) { in bnxt_init_msix()
9157 total_vecs = pci_enable_msix_range(bp->pdev, msix_ent, min, total_vecs); in bnxt_init_msix()
9159 if (total_vecs < 0 || total_vecs < ulp_msix) { in bnxt_init_msix()
9164 bp->irq_tbl = kcalloc(total_vecs, sizeof(struct bnxt_irq), GFP_KERNEL); in bnxt_init_msix()
9166 for (i = 0; i < total_vecs; i++) in bnxt_init_msix()
9169 bp->total_irqs = total_vecs; in bnxt_init_msix()
9172 total_vecs - ulp_msix, min == 1); in bnxt_init_msix()