Lines Matching refs:nsets
563 int n, nsets, rc; in vr_bus_config() local
575 nsets = (elem * sizeof (uint_t)) / sizeof (pci_regspec_t); in vr_bus_config()
580 vrp->nsets = nsets; in vr_bus_config()
581 vrp->regset = kmem_zalloc(nsets * sizeof (vr_acc_t), KM_SLEEP); in vr_bus_config()
582 for (n = 0; n < nsets; n++) { in vr_bus_config()
592 kmem_free(vrp->regset, nsets * sizeof (vr_acc_t)); in vr_bus_config()
603 for (n = 0; n < nsets; n++) { in vr_bus_config()
619 for (n = 0; n < nsets; n++) in vr_bus_config()
621 kmem_free(vrp->regset, nsets * sizeof (vr_acc_t)); in vr_bus_config()
704 for (n = 0; n < vrp->nsets; n++) in vr_bus_unconfig()
706 kmem_free(vrp->regset, vrp->nsets * sizeof (vr_acc_t)); in vr_bus_unconfig()