Searched refs:pq_lists (Results 1 – 2 of 2) sorted by relevance
95 else if ((pq->pq_lists = in _pq_alloc()110 if ((pq != NULL) && (pq->pq_lists != NULL)) in _pq_free()111 free(pq->pq_lists); in _pq_free()119 if ((pq == NULL) || (pq->pq_lists == NULL)) in _pq_init()125 TAILQ_INIT(&pq->pq_lists[i].pl_head); in _pq_init()126 pq->pq_lists[i].pl_prio = i; in _pq_init()127 pq->pq_lists[i].pl_queued = 0; in _pq_init()157 TAILQ_REMOVE(&pq->pq_lists[prio].pl_head, pthread, pqe); in _pq_remove()180 TAILQ_INSERT_HEAD(&pq->pq_lists[prio].pl_head, pthread, pqe); in _pq_insert_head()181 if (pq->pq_lists[prio].pl_queued == 0) in _pq_insert_head()[all …]
142 pq_list_t *pq_lists; /* array of all priority lists */ member