• Home
  • Raw
  • Download

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()
730 const struct Qdisc_class_ops *cops; in qdisc_tree_reduce_backlog() local
759 cops = sch->ops->cl_ops; in qdisc_tree_reduce_backlog()
760 if (notify && cops->qlen_notify) { in qdisc_tree_reduce_backlog()
761 cl = cops->find(sch, parentid); in qdisc_tree_reduce_backlog()
762 cops->qlen_notify(sch, cl); in qdisc_tree_reduce_backlog()
955 const struct Qdisc_class_ops *cops = parent->ops->cl_ops; in qdisc_graft() local
958 if (cops && cops->graft) { in qdisc_graft()
959 unsigned long cl = cops->find(parent, classid); in qdisc_graft()
962 err = cops->graft(parent, cl, new, &old); in qdisc_graft()
1203 const struct Qdisc_class_ops *cops = q->ops->cl_ops; in check_loop_fn() local
1206 leaf = cops->leaf(q, cl); in check_loop_fn()
1636 const struct Qdisc_class_ops *cops, in tclass_del_notify() argument
1644 if (!cops->delete) in tclass_del_notify()
1657 err = cops->delete(q, cl); in tclass_del_notify()
1690 const struct Qdisc_class_ops *cops = q->ops->cl_ops; in tc_bind_tclass() local
1695 cl = cops->find(q, portid); in tc_bind_tclass()
1698 if (!cops->tcf_block) in tc_bind_tclass()
1700 block = cops->tcf_block(q, cl); in tc_bind_tclass()
1735 const struct Qdisc_class_ops *cops; in tc_ctl_tclass() local
1805 cops = q->ops->cl_ops; in tc_ctl_tclass()
1806 if (cops == NULL) in tc_ctl_tclass()
1817 cl = cops->find(q, clid); in tc_ctl_tclass()
1832 err = tclass_del_notify(net, cops, skb, n, q, cl); in tc_ctl_tclass()
1847 if (cops->change) in tc_ctl_tclass()
1848 err = cops->change(q, clid, portid, tca, &new_cl); in tc_ctl_tclass()