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;
1085 NL_SET_ERR_MSG(extack, "HTB must be the root qdisc to use offload");
1120 struct Qdisc *qdisc;
1122 qdisc = qdisc_create_dflt(dev_queue, &pfifo_qdisc_ops,
1124 if (!qdisc) {
1128 q->direct_qdiscs[ntx] = qdisc;
1129 qdisc->flags |= TCQ_F_ONETXQUEUE | TCQ_F_NOPARENT;
1159 struct Qdisc *old, *qdisc = q->direct_qdiscs[ntx];
1161 old = dev_graft_qdisc(qdisc->dev_queue, qdisc);
1163 qdisc_hash_add(qdisc, false);
1214 /* Its safe to not acquire qdisc lock. As we hold RTNL,
1215 * no change can happen on the qdisc parameters.
1248 /* Its safe to not acquire qdisc lock. As we hold RTNL,
1419 struct Qdisc *qdisc;
1423 qdisc = dev_graft_qdisc(queue_old, NULL);
1424 WARN_ON(qdisc != cl_old->leaf.q);
1432 struct Qdisc *qdisc;
1434 qdisc = dev_graft_qdisc(queue_new, cl_old->leaf.q);
1437 WARN_ON(!(qdisc->flags & TCQ_F_BUILTIN));
1463 /* One ref for cl->leaf.q, the other for dev_queue->qdisc. */
1531 /* One ref for cl->leaf.q, the other for dev_queue->qdisc. */
1553 /* When destroying, caller qdisc_graft grafts the new qdisc and invokes
1554 * qdisc_put for the qdisc being destroyed. htb_destroy_class_offload
1555 * does not need to graft or qdisc_put the qdisc being destroyed.
1559 /* Last qdisc grafted should be the same as cl->leaf.q when
1881 /* create leaf qdisc early because it uses kmalloc(GFP_KERNEL)
1938 /* One ref for cl->leaf.q, the other for dev_queue->qdisc. */
1963 /* leaf (we) needs elementary qdisc */