Searched defs:nflavors (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dsunndi.c2546 * storage is just for flavors 1..{nflavors-1}.
2549 ndi_flavorv_alloc(dev_info_t *self, int nflavors) argument
2551 ASSERT(nflavors > 0 && (DEVI(self)->devi_flavorv == NULL ||
2552 nflavors == DEVI(self)->devi_flavorv_n));
2553 if (nflavors <= 1 || (DEVI(self)->devi_flavorv)) {
2557 kmem_zalloc((nflavors - 1) * sizeof (void *), KM_SLEEP);
2558 DEVI(self)->devi_flavorv_n = nflavors;

Completed in 57 milliseconds