Lines Matching refs:parent
282 if ((q->parent != TC_H_ROOT) && !(q->flags & TCQ_F_INGRESS)) {
293 if ((q->parent != TC_H_ROOT) && !(q->flags & TCQ_F_INGRESS)) {
794 while ((parentid = sch->parent)) {
800 /* Notify parent qdisc only if child qdisc becomes empty.
804 * parent class is already passive.
807 * to be seem as empty, so the parent is notified anyway.
868 /* Don't report error if the parent, the old child and the new
1063 /* Graft qdisc "new" to class "classid" of qdisc "parent" or
1072 static int qdisc_graft(struct net_device *dev, struct Qdisc *parent,
1080 if (parent == NULL) {
1153 const struct Qdisc_class_ops *cops = parent->ops->cl_ops;
1157 /* Only support running class lockless if parent is lockless */
1158 if (new && (new->flags & TCQ_F_NOLOCK) && !(parent->flags & TCQ_F_NOLOCK))
1164 cl = cops->find(parent, classid);
1175 err = cops->graft(parent, cl, new, &old, extack);
1225 u32 parent, u32 handle,
1276 sch->parent = parent;
1281 "Specified parent ID is reserved for ingress and clsact Qdiscs");
1351 trace_qdisc_create(ops, dev, parent);
1648 NL_SET_ERR_MSG(extack, "Qdisc parent/child loop detected");
1664 * attached to this parent and have choice:
1785 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid,
1807 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid,
2097 parent == TC_H_UNSPEC - unspecified parent.
2098 parent == TC_H_ROOT - class is root, which has no parent.
2099 parent == X:0 - parent is root class.
2100 parent == X:Y - parent is a node in hierarchy.
2101 parent == 0:Y - parent is X:Y, where X:0 is qdisc.
2128 * both with parent and child.