Lines Matching defs:cops
162 const struct Qdisc_class_ops *cops = qops->cl_ops;
164 if (!(cops->get && cops->put && cops->walk && cops->leaf))
167 if (cops->tcf_chain && !(cops->bind_tcf && cops->unbind_tcf))
252 const struct Qdisc_class_ops *cops = p->ops->cl_ops;
254 if (cops == NULL)
256 cl = cops->get(p, classid);
260 leaf = cops->leaf(p, cl);
261 cops->put(p, cl);
630 const struct Qdisc_class_ops *cops;
645 cops = sch->ops->cl_ops;
646 if (cops->qlen_notify) {
647 cl = cops->get(sch, parentid);
648 cops->qlen_notify(sch, cl);
649 cops->put(sch, cl);
730 const struct Qdisc_class_ops *cops = parent->ops->cl_ops;
733 if (cops && cops->graft) {
734 unsigned long cl = cops->get(parent, classid);
736 err = cops->graft(parent, cl, new, &old);
737 cops->put(parent, cl);
941 const struct Qdisc_class_ops *cops = q->ops->cl_ops;
944 leaf = cops->leaf(q, cl);
1339 const struct Qdisc_class_ops *cops;
1398 cops = q->ops->cl_ops;
1399 if (cops == NULL)
1410 cl = cops->get(q, clid);
1425 if (cops->delete)
1426 err = cops->delete(q, cl);
1441 if (cops->change)
1442 err = cops->change(q, clid, pid, tca, &new_cl);
1448 cops->put(q, cl);