Lines Matching refs:cops

162 		const struct Qdisc_class_ops *cops = qops->cl_ops;  in register_qdisc()  local
164 if (!(cops->get && cops->put && cops->walk && cops->leaf)) in register_qdisc()
167 if (cops->tcf_chain && !(cops->bind_tcf && cops->unbind_tcf)) in register_qdisc()
316 const struct Qdisc_class_ops *cops = p->ops->cl_ops; in qdisc_leaf() local
318 if (cops == NULL) in qdisc_leaf()
320 cl = cops->get(p, classid); in qdisc_leaf()
324 leaf = cops->leaf(p, cl); in qdisc_leaf()
325 cops->put(p, cl); in qdisc_leaf()
750 const struct Qdisc_class_ops *cops; in qdisc_tree_reduce_backlog() local
771 cops = sch->ops->cl_ops; in qdisc_tree_reduce_backlog()
772 if (cops->qlen_notify) { in qdisc_tree_reduce_backlog()
773 cl = cops->get(sch, parentid); in qdisc_tree_reduce_backlog()
774 cops->qlen_notify(sch, cl); in qdisc_tree_reduce_backlog()
775 cops->put(sch, cl); in qdisc_tree_reduce_backlog()
863 const struct Qdisc_class_ops *cops = parent->ops->cl_ops; in qdisc_graft() local
866 if (cops && cops->graft) { in qdisc_graft()
867 unsigned long cl = cops->get(parent, classid); in qdisc_graft()
869 err = cops->graft(parent, cl, new, &old); in qdisc_graft()
870 cops->put(parent, cl); in qdisc_graft()
1094 const struct Qdisc_class_ops *cops = q->ops->cl_ops; in check_loop_fn() local
1097 leaf = cops->leaf(q, cl); in check_loop_fn()
1528 const struct Qdisc_class_ops *cops; in tc_ctl_tclass() local
1597 cops = q->ops->cl_ops; in tc_ctl_tclass()
1598 if (cops == NULL) in tc_ctl_tclass()
1609 cl = cops->get(q, clid); in tc_ctl_tclass()
1625 if (cops->delete) in tc_ctl_tclass()
1626 err = cops->delete(q, cl); in tc_ctl_tclass()
1641 if (cops->change) in tc_ctl_tclass()
1642 err = cops->change(q, clid, portid, tca, &new_cl); in tc_ctl_tclass()
1648 cops->put(q, cl); in tc_ctl_tclass()