Lines Matching refs:qlen
547 WARN_ON(cl->level || !cl->un.leaf.q || !cl->un.leaf.q->q.qlen); in htb_activate()
580 if (q->direct_queue.qlen < q->direct_qlen) { in htb_enqueue()
604 sch->q.qlen++; in htb_enqueue()
834 if (unlikely(cl->un.leaf.q->q.qlen == 0)) { in htb_dequeue_tree()
872 if (!cl->un.leaf.q->q.qlen) in htb_dequeue_tree()
894 sch->q.qlen--; in htb_dequeue()
898 if (!sch->q.qlen) in htb_dequeue()
961 sch->q.qlen--; in htb_drop()
962 if (!cl->un.leaf.q->q.qlen) in htb_drop()
994 sch->q.qlen = 0; in htb_reset()
1142 __u32 qlen = 0; in htb_dump_class_stats() local
1145 qlen = cl->un.leaf.q->q.qlen; in htb_dump_class_stats()
1151 gnet_stats_copy_queue(d, NULL, &cl->qstats, qlen) < 0) in htb_dump_class_stats()
1183 if (cl->un.leaf.q->q.qlen == 0) in htb_qlen_notify()
1290 unsigned int qlen = cl->un.leaf.q->q.qlen; in htb_delete() local
1294 qdisc_tree_reduce_backlog(cl->un.leaf.q, qlen, backlog); in htb_delete()
1427 unsigned int qlen = parent->un.leaf.q->q.qlen; in htb_change_class() local
1432 qdisc_tree_reduce_backlog(parent->un.leaf.q, qlen, backlog); in htb_change_class()