Lines Matching refs:cops
152 const struct Qdisc_class_ops *cops = qops->cl_ops; in register_qdisc() local
154 if (!(cops->find && cops->walk && cops->leaf)) in register_qdisc()
157 if (cops->tcf_block && !(cops->bind_tcf && cops->unbind_tcf)) in register_qdisc()
337 const struct Qdisc_class_ops *cops = p->ops->cl_ops; in qdisc_leaf() local
339 if (cops == NULL) in qdisc_leaf()
341 cl = cops->find(p, classid); in qdisc_leaf()
345 return cops->leaf(p, cl); in qdisc_leaf()
766 const struct Qdisc_class_ops *cops; in qdisc_tree_reduce_backlog() local
799 cops = sch->ops->cl_ops; in qdisc_tree_reduce_backlog()
800 if (notify && cops->qlen_notify) { in qdisc_tree_reduce_backlog()
801 cl = cops->find(sch, parentid); in qdisc_tree_reduce_backlog()
802 cops->qlen_notify(sch, cl); in qdisc_tree_reduce_backlog()
1092 const struct Qdisc_class_ops *cops = parent->ops->cl_ops; in qdisc_graft() local
1100 if (!cops || !cops->graft) in qdisc_graft()
1103 cl = cops->find(parent, classid); in qdisc_graft()
1109 err = cops->graft(parent, cl, new, &old, extack); in qdisc_graft()
1390 const struct Qdisc_class_ops *cops = q->ops->cl_ops; in check_loop_fn() local
1393 leaf = cops->leaf(q, cl); in check_loop_fn()
1866 const struct Qdisc_class_ops *cops, in tclass_del_notify() argument
1874 if (!cops->delete) in tclass_del_notify()
1887 err = cops->delete(q, cl); in tclass_del_notify()
1934 const struct Qdisc_class_ops *cops = q->ops->cl_ops; in tc_bind_class_walker() local
1938 block = cops->tcf_block(q, cl, NULL); in tc_bind_class_walker()
1964 const struct Qdisc_class_ops *cops = q->ops->cl_ops; in tc_bind_tclass() local
1967 if (!cops->tcf_block) in tc_bind_tclass()
1993 const struct Qdisc_class_ops *cops; in tc_ctl_tclass() local
2063 cops = q->ops->cl_ops; in tc_ctl_tclass()
2064 if (cops == NULL) in tc_ctl_tclass()
2075 cl = cops->find(q, clid); in tc_ctl_tclass()
2090 err = tclass_del_notify(net, cops, skb, n, q, cl); in tc_ctl_tclass()
2110 if (cops->change) in tc_ctl_tclass()
2111 err = cops->change(q, clid, portid, tca, &new_cl, extack); in tc_ctl_tclass()