Home
last modified time | relevance | path

Searched refs:cops (Results 1 – 3 of 3) sorted by relevance

/net/sched/
Dsch_api.c155 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()
[all …]
Dcls_api.c550 const struct Qdisc_class_ops *cops; in tc_ctl_tfilter() local
613 cops = q->ops->cl_ops; in tc_ctl_tfilter()
614 if (!cops) in tc_ctl_tfilter()
617 if (!cops->tcf_block) in tc_ctl_tfilter()
622 cl = cops->find(q, parent); in tc_ctl_tfilter()
628 block = cops->tcf_block(q, cl); in tc_ctl_tfilter()
832 const struct Qdisc_class_ops *cops; in tc_dump_tfilter() local
855 cops = q->ops->cl_ops; in tc_dump_tfilter()
856 if (!cops) in tc_dump_tfilter()
858 if (!cops->tcf_block) in tc_dump_tfilter()
[all …]
/net/core/
Drtnetlink.c3333 const struct net_device_ops *cops = NULL; in rtnl_fdb_dump() local
3388 cops = br_dev->netdev_ops; in rtnl_fdb_dump()
3398 cops = ops; in rtnl_fdb_dump()
3405 if (cops && cops->ndo_fdb_dump) { in rtnl_fdb_dump()
3406 err = cops->ndo_fdb_dump(skb, cb, in rtnl_fdb_dump()
3424 cops = NULL; in rtnl_fdb_dump()