Lines Matching refs:cops
155 const struct Qdisc_class_ops *cops = qops->cl_ops; in register_qdisc() local
157 if (!(cops->find && cops->walk && cops->leaf)) in register_qdisc()
160 if (cops->tcf_block && !(cops->bind_tcf && cops->unbind_tcf)) in register_qdisc()
322 const struct Qdisc_class_ops *cops = p->ops->cl_ops; in qdisc_leaf() local
324 if (cops == NULL) in qdisc_leaf()
326 cl = cops->find(p, classid); in qdisc_leaf()
330 leaf = cops->leaf(p, cl); in qdisc_leaf()
750 const struct Qdisc_class_ops *cops; in qdisc_tree_reduce_backlog() local
783 cops = sch->ops->cl_ops; in qdisc_tree_reduce_backlog()
784 if (notify && cops->qlen_notify) { in qdisc_tree_reduce_backlog()
785 cl = cops->find(sch, parentid); in qdisc_tree_reduce_backlog()
786 cops->qlen_notify(sch, cl); in qdisc_tree_reduce_backlog()
997 const struct Qdisc_class_ops *cops = parent->ops->cl_ops; in qdisc_graft() local
1005 if (cops && cops->graft) { in qdisc_graft()
1006 unsigned long cl = cops->find(parent, classid); in qdisc_graft()
1009 err = cops->graft(parent, cl, new, &old, in qdisc_graft()
1298 const struct Qdisc_class_ops *cops = q->ops->cl_ops; in check_loop_fn() local
1301 leaf = cops->leaf(q, cl); in check_loop_fn()
1771 const struct Qdisc_class_ops *cops, in tclass_del_notify() argument
1779 if (!cops->delete) in tclass_del_notify()
1792 err = cops->delete(q, cl); in tclass_del_notify()
1827 const struct Qdisc_class_ops *cops = q->ops->cl_ops; in tc_bind_tclass() local
1832 cl = cops->find(q, portid); in tc_bind_tclass()
1835 block = cops->tcf_block(q, cl, NULL); in tc_bind_tclass()
1870 const struct Qdisc_class_ops *cops; in tc_ctl_tclass() local
1940 cops = q->ops->cl_ops; in tc_ctl_tclass()
1941 if (cops == NULL) in tc_ctl_tclass()
1952 cl = cops->find(q, clid); in tc_ctl_tclass()
1967 err = tclass_del_notify(net, cops, skb, n, q, cl); in tc_ctl_tclass()
1987 if (cops->change) in tc_ctl_tclass()
1988 err = cops->change(q, clid, portid, tca, &new_cl, extack); in tc_ctl_tclass()