Lines Matching defs:qdisc
154 /* filters for qdisc itself */
213 * filters in qdisc and in inner nodes (if higher filter points to the inner
888 * qdisc drops packets in enqueue routine or if someone used
1035 struct Qdisc *sch = q->watchdog.qdisc;
1092 NL_SET_ERR_MSG(extack, "HTB must be the root qdisc to use offload");
1127 struct Qdisc *qdisc;
1129 qdisc = qdisc_create_dflt(dev_queue, &pfifo_qdisc_ops,
1131 if (!qdisc) {
1135 htb_set_lockdep_class_child(qdisc);
1136 q->direct_qdiscs[ntx] = qdisc;
1137 qdisc->flags |= TCQ_F_ONETXQUEUE | TCQ_F_NOPARENT;
1167 struct Qdisc *old, *qdisc = q->direct_qdiscs[ntx];
1169 old = dev_graft_qdisc(qdisc->dev_queue, qdisc);
1171 qdisc_hash_add(qdisc, false);
1222 /* Its safe to not acquire qdisc lock. As we hold RTNL,
1223 * no change can happen on the qdisc parameters.
1256 /* Its safe to not acquire qdisc lock. As we hold RTNL,
1427 struct Qdisc *qdisc;
1431 qdisc = dev_graft_qdisc(queue_old, NULL);
1432 WARN_ON(qdisc != cl_old->leaf.q);
1440 struct Qdisc *qdisc;
1442 qdisc = dev_graft_qdisc(queue_new, cl_old->leaf.q);
1445 WARN_ON(!(qdisc->flags & TCQ_F_BUILTIN));
1472 /* One ref for cl->leaf.q, the other for dev_queue->qdisc. */
1540 /* One ref for cl->leaf.q, the other for dev_queue->qdisc. */
1562 /* When destroying, caller qdisc_graft grafts the new qdisc and invokes
1563 * qdisc_put for the qdisc being destroyed. htb_destroy_class_offload
1564 * does not need to graft or qdisc_put the qdisc being destroyed.
1568 /* Last qdisc grafted should be the same as cl->leaf.q when
1893 /* create leaf qdisc early because it uses kmalloc(GFP_KERNEL)
1953 * dev_queue->qdisc.
1979 /* leaf (we) needs elementary qdisc */