Lines Matching refs:allocq
1190 struct sm_freeq *allocq, *releq; in get_free_smp() local
1199 allocq = sm->sm_allocq; in get_free_smp()
1200 mutex_enter(&allocq->smq_mtx); in get_free_smp()
1202 if ((smp = allocq->smq_free) == NULL) { in get_free_smp()
1209 if (sm->sm_allocq != allocq) { in get_free_smp()
1211 mutex_exit(&allocq->smq_mtx); in get_free_smp()
1217 mutex_exit(&allocq->smq_mtx); in get_free_smp()
1242 mutex_exit(&allocq->smq_mtx); in get_free_smp()
1265 sm->sm_releq = allocq; in get_free_smp()
1266 mutex_exit(&allocq->smq_mtx); in get_free_smp()
1329 ASSERT(first == allocq->smq_free); in get_free_smp()
1330 allocq->smq_free = smp->sm_next; in get_free_smp()
1337 if (allocq->smq_free == smp) in get_free_smp()
1341 allocq->smq_free = NULL; in get_free_smp()
1346 mutex_exit(&allocq->smq_mtx); in get_free_smp()