Searched refs:nflavors (Results 1 – 2 of 2) sorted by relevance
2550 ndi_flavorv_alloc(dev_info_t *self, int nflavors) in ndi_flavorv_alloc() argument2552 ASSERT(nflavors > 0 && (DEVI(self)->devi_flavorv == NULL || in ndi_flavorv_alloc()2553 nflavors == DEVI(self)->devi_flavorv_n)); in ndi_flavorv_alloc()2554 if (nflavors <= 1 || (DEVI(self)->devi_flavorv)) { in ndi_flavorv_alloc()2558 kmem_zalloc((nflavors - 1) * sizeof (void *), KM_SLEEP); in ndi_flavorv_alloc()2559 DEVI(self)->devi_flavorv_n = nflavors; in ndi_flavorv_alloc()
836 void ndi_flavorv_alloc(dev_info_t *self, int nflavors);