Lines Matching defs:new
218 /* Set new default qdisc to use */
238 /* Set new default */
443 NL_SET_ERR_MSG(extack, "Failed to allocate new qdisc rate table");
852 struct Qdisc *new, struct Qdisc *old,
865 if (!err || !new || new == &noop_qdisc)
868 /* Don't report error if the parent, the old child and the new
871 any_qdisc_is_offloaded = new->flags & TCQ_F_OFFLOADED;
898 struct Qdisc *new, struct Qdisc *old,
903 .handle = new ? new->handle : 0,
904 .ingress = (new && new->flags & TCQ_F_INGRESS) ||
908 qdisc_offload_graft_helper(dev, NULL, new, old,
1008 struct Qdisc *old, struct Qdisc *new,
1023 if (new && !tc_qdisc_dump_ignore(new, false)) {
1024 if (tc_fill_qdisc(skb, new, clid, portid, n->nlmsg_seq,
1040 struct Qdisc *old, struct Qdisc *new,
1043 if (new || old)
1044 qdisc_notify(net, skb, n, clid, old, new, extack);
1063 /* Graft qdisc "new" to class "classid" of qdisc "parent" or
1074 struct Qdisc *new, struct Qdisc *old,
1087 (new && new->flags & TCQ_F_INGRESS)) {
1110 qdisc_offload_graft_root(dev, new, old, extack);
1112 if (new && new->ops->attach && !ingress)
1118 old = dev_graft_qdisc(dev_queue, new);
1120 if (new && i > 0)
1121 qdisc_refcount_inc(new);
1127 /* {ingress,clsact}_destroy() @old before grafting @new to avoid
1131 qdisc_notify(net, skb, n, classid, old, new, extack);
1134 dev_graft_qdisc(dev_queue, new);
1140 if (new && !new->ops->attach)
1141 qdisc_refcount_inc(new);
1142 rcu_assign_pointer(dev->qdisc, new ? : &noop_qdisc);
1144 notify_and_destroy(net, skb, n, classid, old, new, extack);
1146 if (new && new->ops->attach)
1147 new->ops->attach(new);
1158 if (new && (new->flags & TCQ_F_NOLOCK) && !(parent->flags & TCQ_F_NOLOCK))
1159 qdisc_clear_nolock(new);
1170 if (new && new->ops == &noqueue_qdisc_ops) {
1175 err = cops->graft(parent, cl, new, &old, extack);
1178 notify_and_destroy(net, skb, n, classid, old, new, extack);
1218 Allocate and initialize new qdisc.
1345 NL_SET_ERR_MSG(extack, "Failed to generate new estimator");
1665 * 1) change it or 2) create/graft new one.
2196 /* We just create a new class, need to do reverse binding. */