Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/mergeq/
H A Dmergeq.c196 size_t mq_nproc; /* Index of next thing to process */ member
307 mqp->mq_nproc = 0; in mergeq_reset()
378 VERIFY(mqp->mq_nproc != (mqp->mq_next + 1) % mqp->mq_cap); in mergeq_slot()
431 mqp->mq_nproc != mqp->mq_next); in mergeq_pop_one()
433 out = mqp->mq_items[mqp->mq_nproc]; in mergeq_pop_one()
435 mqp->mq_items[mqp->mq_nproc] = NULL; in mergeq_pop_one()
436 mqp->mq_nproc++; in mergeq_pop_one()
437 if (mqp->mq_nproc == mqp->mq_cap) { in mergeq_pop_one()
438 mqp->mq_nproc %= mqp->mq_cap; in mergeq_pop_one()
455 VERIFY(mqp->mq_nproc < mqp->mq_cap); in mergeq_pop()
[all …]