Lines Matching defs:cops
155 const struct Qdisc_class_ops *cops = qops->cl_ops;
157 if (!(cops->find && cops->walk && cops->leaf))
160 if (cops->tcf_block && !(cops->bind_tcf && cops->unbind_tcf))
343 const struct Qdisc_class_ops *cops = p->ops->cl_ops;
345 if (cops == NULL) {
349 cl = cops->find(p, classid);
355 return cops->leaf(p, cl);
778 const struct Qdisc_class_ops *cops;
800 cops = sch->ops->cl_ops;
801 if (notify && cops->qlen_notify) {
805 cl = cops->find(sch, parentid);
806 cops->qlen_notify(sch, cl);
1168 const struct Qdisc_class_ops *cops = parent->ops->cl_ops;
1176 if (!cops || !cops->graft)
1179 cl = cops->find(parent, classid);
1196 err = cops->graft(parent, cl, new, &old, extack);
1440 const struct Qdisc_class_ops *cops = q->ops->cl_ops;
1443 leaf = cops->leaf(q, cl);
2033 const struct Qdisc_class_ops *cops,
2042 if (!cops->delete)
2059 err = cops->delete(q, cl, extack);
2104 const struct Qdisc_class_ops *cops = q->ops->cl_ops;
2108 block = cops->tcf_block(q, cl, NULL);
2134 const struct Qdisc_class_ops *cops = q->ops->cl_ops;
2137 if (!cops->tcf_block)
2162 const struct Qdisc_class_ops *cops;
2220 cops = q->ops->cl_ops;
2221 if (cops == NULL)
2232 cl = cops->find(q, clid);
2247 err = tclass_del_notify(net, cops, skb, n, q, cl, extack);
2273 if (cops->change)
2274 err = cops->change(q, clid, portid, tca, &new_cl, extack);