Searched refs:sch (Results 1 – 1 of 1) sorted by relevance
1028 struct dn_heap *sch = &(p->scheduler_heap); in ready_event_wfq() local1049 while (p_numbytes >= 0 && (sch->elements > 0 || neh->elements > 0)) { in ready_event_wfq()1050 if (sch->elements > 0) { /* have some eligible pkts to send out */ in ready_event_wfq()1051 struct dn_flow_queue *q = sch->p[0].object; in ready_event_wfq()1057 heap_extract(sch, NULL, 0); /* remove queue from heap */ in ready_event_wfq()1076 heap_insert(sch, q->F, q, sizeof(struct dn_flow_queue)); in ready_event_wfq()1086 if (sch->elements == 0 && neh->elements > 0) { in ready_event_wfq()1093 heap_insert(sch, q->F, q, sizeof(struct dn_flow_queue)); in ready_event_wfq()1101 if (sch->elements == 0 && neh->elements == 0 && p_numbytes >= 0 in ready_event_wfq()