Lines Matching refs:heap_insert
147 static int heap_insert (struct dn_heap *h, dn_key key1, void *p);
587 heap_insert(struct dn_heap *h, dn_key key1, void *p)
656 heap_insert(h, father, NULL); /* this one cannot fail */
670 heap_insert(h, i , NULL) ;
757 /* XXX should check errors on heap_insert, by draining the
760 heap_insert(&extract_heap, schedule_time, pipe);
853 heap_insert(&ready_heap, curr_time + t, (void *)q );
854 /* XXX should check errors on heap_insert, and drain the whole
918 heap_insert(&(p->idle_heap), q->F, q);
927 heap_insert(neh, q->S, q);
929 heap_insert(sch, q->F, q);
944 heap_insert(sch, q->F, q);
981 heap_insert(&wfq_ready_heap, curr_time + t, (void *)p);
982 /* XXX should check errors on heap_insert, and drain the whole
1720 heap_insert(&ready_heap, curr_time + t , q );
1760 heap_insert(&(pipe->not_eligible_heap), q->S, q);
1762 heap_insert(&(pipe->scheduler_heap), q->F, q);