Lines Matching defs:allocq
1189 struct sm_freeq *allocq, *releq;
1198 allocq = sm->sm_allocq;
1199 mutex_enter(&allocq->smq_mtx);
1201 if ((smp = allocq->smq_free) == NULL) {
1206 * first see if the allocq toggled.
1208 if (sm->sm_allocq != allocq) {
1210 mutex_exit(&allocq->smq_mtx);
1216 mutex_exit(&allocq->smq_mtx);
1223 * since we just unlocked the allocq mutex.
1241 mutex_exit(&allocq->smq_mtx);
1264 sm->sm_releq = allocq;
1265 mutex_exit(&allocq->smq_mtx);
1328 ASSERT(first == allocq->smq_free);
1329 allocq->smq_free = smp->sm_next;
1336 if (allocq->smq_free == smp)
1340 allocq->smq_free = NULL;
1345 mutex_exit(&allocq->smq_mtx);