Lines Matching defs:qlen
103 sfq_index qlen; /* number of skbs in skblist */
207 int qlen = slot->qlen;
209 p = qlen + SFQ_MAX_FLOWS;
210 n = q->dep[qlen].next;
215 q->dep[qlen].next = x; /* sfq_dep_head(q, p)->next = x */
235 d = q->slots[x].qlen--;
248 d = ++q->slots[x].qlen;
310 sch->q.qlen--;
350 sfq_index x, qlen;
424 if (slot->qlen >= q->maxdepth) {
446 if (slot->qlen == 1) { /* The flow is new */
461 if (++sch->q.qlen <= q->limit)
464 qlen = slot->qlen;
469 if (qlen != slot->qlen) {
502 sch->q.qlen--;
506 if (slot->qlen == 0) {
549 if (!slot->qlen)
551 while (slot->qlen) {
581 if (slot->qlen >= q->maxdepth)
590 if (slot->qlen == 1) { /* The flow is new */
601 sch->q.qlen -= dropped;
636 unsigned int qlen, dropped = 0;
697 qlen = sch->q.qlen;
698 while (sch->q.qlen > q->limit) {
705 qdisc_tree_reduce_backlog(sch, qlen - sch->q.qlen, dropped);
882 qs.qlen = slot->qlen;
885 if (gnet_stats_copy_queue(d, NULL, &qs, qs.qlen) < 0)