Lines Matching defs:cops
153 const struct Qdisc_class_ops *cops = qops->cl_ops;
155 if (!(cops->find && cops->walk && cops->leaf))
158 if (cops->tcf_block && !(cops->bind_tcf && cops->unbind_tcf))
340 const struct Qdisc_class_ops *cops = p->ops->cl_ops;
342 if (cops == NULL)
344 cl = cops->find(p, classid);
348 return cops->leaf(p, cl);
784 const struct Qdisc_class_ops *cops;
817 cops = sch->ops->cl_ops;
818 if (notify && cops->qlen_notify) {
819 cl = cops->find(sch, parentid);
820 cops->qlen_notify(sch, cl);
1153 const struct Qdisc_class_ops *cops = parent->ops->cl_ops;
1161 if (!cops || !cops->graft)
1164 cl = cops->find(parent, classid);
1175 err = cops->graft(parent, cl, new, &old, extack);
1446 const struct Qdisc_class_ops *cops = q->ops->cl_ops;
1449 leaf = cops->leaf(q, cl);
1953 const struct Qdisc_class_ops *cops,
1962 if (!cops->delete)
1975 err = cops->delete(q, cl, extack);
2020 const struct Qdisc_class_ops *cops = q->ops->cl_ops;
2024 block = cops->tcf_block(q, cl, NULL);
2050 const struct Qdisc_class_ops *cops = q->ops->cl_ops;
2053 if (!cops->tcf_block)
2079 const struct Qdisc_class_ops *cops;
2145 cops = q->ops->cl_ops;
2146 if (cops == NULL)
2157 cl = cops->find(q, clid);
2172 err = tclass_del_notify(net, cops, skb, n, q, cl, extack);
2192 if (cops->change)
2193 err = cops->change(q, clid, portid, tca, &new_cl, extack);