Lines Matching refs:qlen
103 sfq_index qlen; /* number of skbs in skblist */ member
207 int qlen = slot->qlen; in sfq_link() local
209 p = qlen + SFQ_MAX_FLOWS; in sfq_link()
210 n = q->dep[qlen].next; in sfq_link()
215 q->dep[qlen].next = x; /* sfq_dep_head(q, p)->next = x */ in sfq_link()
235 d = q->slots[x].qlen--; in sfq_dec()
248 d = ++q->slots[x].qlen; in sfq_inc()
310 sch->q.qlen--; in sfq_drop()
350 sfq_index x, qlen; in sfq_enqueue() local
424 if (slot->qlen >= q->maxdepth) { in sfq_enqueue()
446 if (slot->qlen == 1) { /* The flow is new */ in sfq_enqueue()
461 if (++sch->q.qlen <= q->limit) in sfq_enqueue()
464 qlen = slot->qlen; in sfq_enqueue()
469 if (qlen != slot->qlen) { in sfq_enqueue()
502 sch->q.qlen--; in sfq_dequeue()
506 if (slot->qlen == 0) { in sfq_dequeue()
549 if (!slot->qlen) in sfq_rehash()
551 while (slot->qlen) { in sfq_rehash()
581 if (slot->qlen >= q->maxdepth) in sfq_rehash()
590 if (slot->qlen == 1) { /* The flow is new */ in sfq_rehash()
601 sch->q.qlen -= dropped; in sfq_rehash()
631 unsigned int qlen, dropped = 0; in sfq_change() local
692 qlen = sch->q.qlen; in sfq_change()
693 while (sch->q.qlen > q->limit) { in sfq_change()
700 qdisc_tree_reduce_backlog(sch, qlen - sch->q.qlen, dropped); in sfq_change()
877 qs.qlen = slot->qlen; in sfq_dump_class_stats()
880 if (gnet_stats_copy_queue(d, NULL, &qs, qs.qlen) < 0) in sfq_dump_class_stats()