Lines Matching defs:allocq
1190 struct sm_freeq *allocq, *releq;
1199 allocq = sm->sm_allocq;
1200 mutex_enter(&allocq->smq_mtx);
1202 if ((smp = allocq->smq_free) == NULL) {
1207 * first see if the allocq toggled.
1209 if (sm->sm_allocq != allocq) {
1211 mutex_exit(&allocq->smq_mtx);
1217 mutex_exit(&allocq->smq_mtx);
1224 * since we just unlocked the allocq mutex.
1242 mutex_exit(&allocq->smq_mtx);
1265 sm->sm_releq = allocq;
1266 mutex_exit(&allocq->smq_mtx);
1329 ASSERT(first == allocq->smq_free);
1330 allocq->smq_free = smp->sm_next;
1337 if (allocq->smq_free == smp)
1341 allocq->smq_free = NULL;
1346 mutex_exit(&allocq->smq_mtx);