Lines Matching refs:cops
657 const struct Qdisc_class_ops *cops; in tc_dev_ingress_block() local
667 cops = qdisc->ops->cl_ops; in tc_dev_ingress_block()
668 if (!cops) in tc_dev_ingress_block()
671 if (!cops->tcf_block) in tc_dev_ingress_block()
674 return cops->tcf_block(qdisc, TC_H_MIN_INGRESS, NULL); in tc_dev_ingress_block()
1071 const struct Qdisc_class_ops *cops; in __tcf_qdisc_find() local
1108 cops = (*q)->ops->cl_ops; in __tcf_qdisc_find()
1109 if (!cops) { in __tcf_qdisc_find()
1115 if (!cops->tcf_block) { in __tcf_qdisc_find()
1150 const struct Qdisc_class_ops *cops = q->ops->cl_ops; in __tcf_qdisc_cl_find() local
1152 *cl = cops->find(q, parent); in __tcf_qdisc_cl_find()
1176 const struct Qdisc_class_ops *cops = q->ops->cl_ops; in __tcf_block_find() local
1178 block = cops->tcf_block(q, cl, extack); in __tcf_block_find()
2549 const struct Qdisc_class_ops *cops; in tc_dump_tfilter() local
2566 cops = q->ops->cl_ops; in tc_dump_tfilter()
2567 if (!cops) in tc_dump_tfilter()
2569 if (!cops->tcf_block) in tc_dump_tfilter()
2572 cl = cops->find(q, tcm->tcm_parent); in tc_dump_tfilter()
2576 block = cops->tcf_block(q, cl, NULL); in tc_dump_tfilter()
2929 const struct Qdisc_class_ops *cops; in tc_dump_chain() local
2946 cops = q->ops->cl_ops; in tc_dump_chain()
2947 if (!cops) in tc_dump_chain()
2949 if (!cops->tcf_block) in tc_dump_chain()
2952 cl = cops->find(q, tcm->tcm_parent); in tc_dump_chain()
2956 block = cops->tcf_block(q, cl, NULL); in tc_dump_chain()