Lines Matching refs:cops

153 		const struct Qdisc_class_ops *cops = qops->cl_ops;  in register_qdisc()  local
155 if (!(cops->find && cops->walk && cops->leaf)) in register_qdisc()
158 if (cops->tcf_block && !(cops->bind_tcf && cops->unbind_tcf)) in register_qdisc()
339 const struct Qdisc_class_ops *cops = p->ops->cl_ops; in qdisc_leaf() local
341 if (cops == NULL) in qdisc_leaf()
343 cl = cops->find(p, classid); in qdisc_leaf()
347 return cops->leaf(p, cl); in qdisc_leaf()
776 const struct Qdisc_class_ops *cops; in qdisc_tree_reduce_backlog() local
809 cops = sch->ops->cl_ops; in qdisc_tree_reduce_backlog()
810 if (notify && cops->qlen_notify) { in qdisc_tree_reduce_backlog()
811 cl = cops->find(sch, parentid); in qdisc_tree_reduce_backlog()
812 cops->qlen_notify(sch, cl); in qdisc_tree_reduce_backlog()
1127 const struct Qdisc_class_ops *cops = parent->ops->cl_ops; in qdisc_graft() local
1135 if (!cops || !cops->graft) in qdisc_graft()
1138 cl = cops->find(parent, classid); in qdisc_graft()
1149 err = cops->graft(parent, cl, new, &old, extack); in qdisc_graft()
1415 const struct Qdisc_class_ops *cops = q->ops->cl_ops; in check_loop_fn() local
1418 leaf = cops->leaf(q, cl); in check_loop_fn()
1886 const struct Qdisc_class_ops *cops, in tclass_del_notify() argument
1895 if (!cops->delete) in tclass_del_notify()
1908 err = cops->delete(q, cl, extack); in tclass_del_notify()
1953 const struct Qdisc_class_ops *cops = q->ops->cl_ops; in tc_bind_class_walker() local
1957 block = cops->tcf_block(q, cl, NULL); in tc_bind_class_walker()
1983 const struct Qdisc_class_ops *cops = q->ops->cl_ops; in tc_bind_tclass() local
1986 if (!cops->tcf_block) in tc_bind_tclass()
2012 const struct Qdisc_class_ops *cops; in tc_ctl_tclass() local
2078 cops = q->ops->cl_ops; in tc_ctl_tclass()
2079 if (cops == NULL) in tc_ctl_tclass()
2090 cl = cops->find(q, clid); in tc_ctl_tclass()
2105 err = tclass_del_notify(net, cops, skb, n, q, cl, extack); in tc_ctl_tclass()
2125 if (cops->change) in tc_ctl_tclass()
2126 err = cops->change(q, clid, portid, tca, &new_cl, extack); in tc_ctl_tclass()