Lines Matching defs:fq
29 * IETF draft-ietf-aqm-fq-codel-06
580 struct flowq *fq = NULL;
583 fq = &fqc->newq;
585 fq = &fqc->oldq;
586 return (fq);
590 first_flow(struct fqcodel *fqc, struct flowq **fq)
594 while ((*fq = select_queue(fqc)) != NULL) {
595 while ((flow = SIMPLEQ_FIRST(*fq)) != NULL) {
598 SIMPLEQ_REMOVE_HEAD(*fq, flowentry);
612 next_flow(struct fqcodel *fqc, struct flow *flow, struct flowq **fq)
614 SIMPLEQ_REMOVE_HEAD(*fq, flowentry);
616 if (*fq == &fqc->newq && !SIMPLEQ_EMPTY(&fqc->oldq)) {
628 return (first_flow(fqc, fq));
636 struct flowq *fq;
646 for (flow = first_flow(fqc, &fq); flow != NULL;
647 flow = next_flow(fqc, flow, &fq)) {
771 DPRINTF("fq-codel on %s: %d queues %d deep, quantum %d target %llums "