Home
last modified time | relevance | path

Searched refs:mq_nitems (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/mergeq/
H A Dmergeq.c192 size_t mq_nitems; /* Number of items in the queue */ member
304 mqp->mq_nitems = 0; in mergeq_reset()
361 mqp->mq_nitems++; in mergeq_add()
412 mqp->mq_nitems++; in mergeq_push()
441 mqp->mq_nitems--; in mergeq_pop_one()
457 while (mqp->mq_nitems < 2 && mqp->mq_nactthrs > 0 && in mergeq_pop()
464 if (mqp->mq_nitems < 2 && mqp->mq_nactthrs == 0) { in mergeq_pop()
465 VERIFY(mqp->mq_iserror == B_TRUE || mqp->mq_nitems == 1); in mergeq_pop()
468 VERIFY(mqp->mq_nitems >= 2); in mergeq_pop()
496 if (mqp->mq_nitems == 1 && mqp->mq_nactthrs == 0) { in mergeq_thr_merge()
[all …]