Lines Matching refs:heap_insert
142 static int heap_insert (struct dn_heap *h, dn_key key1, void *p);
278 heap_insert(struct dn_heap *h, dn_key key1, void *p)
347 heap_insert(h, father, NULL); /* this one cannot fail */
402 heap_insert(h, i , NULL) ;
522 /* XXX should check errors on heap_insert, by draining the
525 heap_insert(&extract_heap, pkt->output_time, pipe);
618 heap_insert(&ready_heap, curr_time + t, (void *)q );
619 /* XXX should check errors on heap_insert, and drain the whole
682 heap_insert(&(p->idle_heap), q->F, q);
691 heap_insert(neh, q->S, q);
693 heap_insert(sch, q->F, q);
708 heap_insert(sch, q->F, q);
745 heap_insert(&wfq_ready_heap, curr_time + t, (void *)p);
746 /* XXX should check errors on heap_insert, and drain the whole
1287 heap_insert(&ready_heap, curr_time + t , q );
1327 heap_insert(&(pipe->not_eligible_heap), q->S, q);
1329 heap_insert(&(pipe->scheduler_heap), q->F, q);