Home
last modified time | relevance | path

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

/xnu-8020.101.4/bsd/netinet/
H A Dip_dummynet.c898 struct dn_heap *sch = &(p->scheduler_heap); in ready_event_wfq() local
919 while (p_numbytes >= 0 && (sch->elements > 0 || neh->elements > 0)) { in ready_event_wfq()
920 if (sch->elements > 0) { /* have some eligible pkts to send out */ in ready_event_wfq()
921 struct dn_flow_queue *q = sch->p[0].object; in ready_event_wfq()
927 heap_extract(sch, NULL); /* remove queue from heap */ in ready_event_wfq()
946 heap_insert(sch, q->F, q); in ready_event_wfq()
956 if (sch->elements == 0 && neh->elements > 0) { in ready_event_wfq()
963 heap_insert(sch, q->F, q); in ready_event_wfq()
971 if (sch->elements == 0 && neh->elements == 0 && p_numbytes >= 0 in ready_event_wfq()