Searched refs:pq_N (Results 1 – 1 of 1) sorted by relevance
66 static int pq_N; variable253 return (pq_N == 0); in pqueue_empty()261 pq_N = 0; in pqueue_init()268 pq_queue[++pq_N] = source; in pqueue_insert()269 heap_up(pq_queue, pq_N, coll_flags); in pqueue_insert()275 swap((void **)&pq_queue[1], (void **)&pq_queue[pq_N]); in pqueue_head()276 heap_down(pq_queue, 1, pq_N - 1, coll_flags); in pqueue_head()277 return (pq_queue[pq_N--]); in pqueue_head()