Lines Matching defs:cops
152 const struct Qdisc_class_ops *cops = qops->cl_ops;
154 if (!(cops->find && cops->walk && cops->leaf))
157 if (cops->tcf_block && !(cops->bind_tcf && cops->unbind_tcf))
337 const struct Qdisc_class_ops *cops = p->ops->cl_ops;
339 if (cops == NULL)
341 cl = cops->find(p, classid);
345 return cops->leaf(p, cl);
773 const struct Qdisc_class_ops *cops;
806 cops = sch->ops->cl_ops;
807 if (notify && cops->qlen_notify) {
808 cl = cops->find(sch, parentid);
809 cops->qlen_notify(sch, cl);
1100 const struct Qdisc_class_ops *cops = parent->ops->cl_ops;
1108 if (!cops || !cops->graft)
1111 cl = cops->find(parent, classid);
1122 err = cops->graft(parent, cl, new, &old, extack);
1408 const struct Qdisc_class_ops *cops = q->ops->cl_ops;
1411 leaf = cops->leaf(q, cl);
1921 const struct Qdisc_class_ops *cops,
1929 if (!cops->delete)
1942 err = cops->delete(q, cl);
1989 const struct Qdisc_class_ops *cops = q->ops->cl_ops;
1993 block = cops->tcf_block(q, cl, NULL);
2019 const struct Qdisc_class_ops *cops = q->ops->cl_ops;
2022 if (!cops->tcf_block)
2048 const struct Qdisc_class_ops *cops;
2118 cops = q->ops->cl_ops;
2119 if (cops == NULL)
2130 cl = cops->find(q, clid);
2145 err = tclass_del_notify(net, cops, skb, n, q, cl);
2165 if (cops->change)
2166 err = cops->change(q, clid, portid, tca, &new_cl, extack);