Searched refs:NLUNITS (Results 1 – 2 of 2) sorted by relevance
47 #define NLUNITS (MAX_LQS + 2) macro167 ((unit < NLUNITS) ? &ssp->sm_uqs[unit] : NULL)
484 if (unit < 0 || unit >= NLUNITS || plqi == 0 || in sm_associate()601 if (unit < 0 || unit >= NLUNITS || plqi == 0 || in sm_disassociate()2124 if (sflag != 0 || DEV_TO_UNIT(*devp) >= NLUNITS) { in sm_open()2539 sm_ssp->sm_uqs = (sm_uqi_t *)kmem_zalloc(sizeof (sm_uqi_t) * NLUNITS, in sm_attach()2542 for (unit = 2; unit < NLUNITS && unit < sm_minor_cnt + 2; unit++) { in sm_attach()2568 for (unit = 0; unit < NLUNITS; unit++) { in sm_attach()2626 for (unit = 0; unit < NLUNITS; unit++) { in sm_detach()2642 for (unit = 0; unit < NLUNITS; unit++) { in sm_detach()2659 kmem_free(sm_ssp->sm_uqs, sizeof (sm_uqi_t) * NLUNITS); in sm_detach()