| /net/sched/ |
| A D | sch_api.c | 904 struct tcmsg *tcm; in tc_fill_qdisc() local 918 tcm->tcm__pad1 = 0; in tc_fill_qdisc() 919 tcm->tcm__pad2 = 0; in tc_fill_qdisc() 1502 if (tcm->tcm_handle && q->handle != tcm->tcm_handle) { in __tc_get_qdisc() 1616 if (!q || !tcm->tcm_handle || q->handle != tcm->tcm_handle) { in __tc_modify_qdisc() 1732 tcm->tcm_parent, tcm->tcm_parent, in __tc_modify_qdisc() 1749 tcm->tcm_parent, tcm->tcm_handle, in __tc_modify_qdisc() 1796 struct tcmsg *tcm; in tc_modify_qdisc() local 1941 struct tcmsg *tcm; in tc_fill_tclass() local 1953 tcm->tcm__pad1 = 0; in tc_fill_tclass() [all …]
|
| A D | cls_api.c | 2057 struct tcmsg *tcm; in tcf_fill_node() local 2065 tcm = nlmsg_data(nlh); in tcf_fill_node() 2067 tcm->tcm__pad1 = 0; in tcf_fill_node() 2068 tcm->tcm__pad2 = 0; in tcf_fill_node() 2082 tcm->tcm_handle = 0; in tcf_fill_node() 2951 struct tcmsg *tcm; in tc_chain_fill_node() local 2960 tcm = nlmsg_data(nlh); in tc_chain_fill_node() 2962 tcm->tcm__pad1 = 0; in tc_chain_fill_node() 2963 tcm->tcm__pad2 = 0; in tc_chain_fill_node() 2964 tcm->tcm_handle = 0; in tc_chain_fill_node() [all …]
|
| A D | sch_mq.c | 170 struct tcmsg *tcm) in mq_select_queue() argument 172 return mq_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mq_select_queue() 218 struct sk_buff *skb, struct tcmsg *tcm) in mq_dump_class() argument 222 tcm->tcm_parent = TC_H_ROOT; in mq_dump_class() 223 tcm->tcm_handle |= TC_H_MIN(cl); in mq_dump_class() 224 tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle; in mq_dump_class()
|
| A D | sch_mqprio.c | 642 struct sk_buff *skb, struct tcmsg *tcm) in mqprio_dump_class() argument 649 tcm->tcm_parent = (tc < 0) ? 0 : in mqprio_dump_class() 652 tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle; in mqprio_dump_class() 654 tcm->tcm_parent = TC_H_ROOT; in mqprio_dump_class() 655 tcm->tcm_info = 0; in mqprio_dump_class() 657 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class() 749 struct tcmsg *tcm) in mqprio_select_queue() argument 751 return mqprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mqprio_select_queue()
|
| A D | sch_drr.c | 242 struct sk_buff *skb, struct tcmsg *tcm) in drr_dump_class() argument 247 tcm->tcm_parent = TC_H_ROOT; in drr_dump_class() 248 tcm->tcm_handle = cl->common.classid; in drr_dump_class() 249 tcm->tcm_info = cl->qdisc->handle; in drr_dump_class()
|
| A D | sch_multiq.c | 324 struct sk_buff *skb, struct tcmsg *tcm) in multiq_dump_class() argument 328 tcm->tcm_handle |= TC_H_MIN(cl); in multiq_dump_class() 329 tcm->tcm_info = q->queues[cl - 1]->handle; in multiq_dump_class()
|
| A D | sch_prio.c | 346 struct tcmsg *tcm) in prio_dump_class() argument 350 tcm->tcm_handle |= TC_H_MIN(cl); in prio_dump_class() 351 tcm->tcm_info = q->queues[cl-1]->handle; in prio_dump_class()
|
| A D | sch_cbs.c | 479 struct sk_buff *skb, struct tcmsg *tcm) in cbs_dump_class() argument 486 tcm->tcm_handle |= TC_H_MIN(1); in cbs_dump_class() 487 tcm->tcm_info = q->qdisc->handle; in cbs_dump_class()
|
| A D | sch_skbprio.c | 243 struct sk_buff *skb, struct tcmsg *tcm) in skbprio_dump_class() argument 245 tcm->tcm_handle |= TC_H_MIN(cl); in skbprio_dump_class()
|
| A D | sch_tbf.c | 552 struct sk_buff *skb, struct tcmsg *tcm) in tbf_dump_class() argument 556 tcm->tcm_handle |= TC_H_MIN(1); in tbf_dump_class() 557 tcm->tcm_info = q->qdisc->handle; in tbf_dump_class()
|
| A D | sch_ets.c | 305 struct sk_buff *skb, struct tcmsg *tcm) in ets_class_dump() argument 311 tcm->tcm_parent = TC_H_ROOT; in ets_class_dump() 312 tcm->tcm_handle = ets_class_id(sch, cl); in ets_class_dump() 313 tcm->tcm_info = cl->qdisc->handle; in ets_class_dump()
|
| A D | sch_red.c | 474 struct sk_buff *skb, struct tcmsg *tcm) in red_dump_class() argument 478 tcm->tcm_handle |= TC_H_MIN(1); in red_dump_class() 479 tcm->tcm_info = q->qdisc->handle; in red_dump_class()
|
| A D | sch_htb.c | 1244 struct sk_buff *skb, struct tcmsg *tcm) in htb_dump_class() argument 1254 tcm->tcm_parent = cl->parent ? cl->parent->common.classid : TC_H_ROOT; in htb_dump_class() 1255 tcm->tcm_handle = cl->common.classid; in htb_dump_class() 1257 tcm->tcm_info = cl->leaf.q->handle; in htb_dump_class() 1364 htb_select_queue(struct Qdisc *sch, struct tcmsg *tcm) in htb_select_queue() argument 1376 .classid = TC_H_MIN(tcm->tcm_parent), in htb_select_queue()
|
| A D | sch_qfq.c | 626 struct sk_buff *skb, struct tcmsg *tcm) in qfq_dump_class() argument 632 tcm->tcm_parent = TC_H_ROOT; in qfq_dump_class() 633 tcm->tcm_handle = cl->common.classid; in qfq_dump_class() 634 tcm->tcm_info = cl->qdisc->handle; in qfq_dump_class()
|
| A D | sch_hfsc.c | 1309 struct tcmsg *tcm) in hfsc_dump_class() argument 1314 tcm->tcm_parent = cl->cl_parent ? cl->cl_parent->cl_common.classid : in hfsc_dump_class() 1316 tcm->tcm_handle = cl->cl_common.classid; in hfsc_dump_class() 1318 tcm->tcm_info = cl->qdisc->handle; in hfsc_dump_class()
|
| A D | sch_taprio.c | 2470 struct sk_buff *skb, struct tcmsg *tcm) in taprio_dump_class() argument 2474 tcm->tcm_parent = TC_H_ROOT; in taprio_dump_class() 2475 tcm->tcm_handle |= TC_H_MIN(cl); in taprio_dump_class() 2476 tcm->tcm_info = child->handle; in taprio_dump_class() 2517 struct tcmsg *tcm) in taprio_select_queue() argument 2519 return taprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in taprio_select_queue()
|
| A D | sch_netem.c | 1294 struct sk_buff *skb, struct tcmsg *tcm) in netem_dump_class() argument 1301 tcm->tcm_handle |= TC_H_MIN(1); in netem_dump_class() 1302 tcm->tcm_info = q->qdisc->handle; in netem_dump_class()
|
| A D | sch_fq_codel.c | 635 struct sk_buff *skb, struct tcmsg *tcm) in fq_codel_dump_class() argument 637 tcm->tcm_handle |= TC_H_MIN(cl); in fq_codel_dump_class()
|
| A D | sch_sfq.c | 898 struct sk_buff *skb, struct tcmsg *tcm) in sfq_dump_class() argument 900 tcm->tcm_handle |= TC_H_MIN(cl); in sfq_dump_class()
|
| A D | sch_sfb.c | 616 struct sk_buff *skb, struct tcmsg *tcm) in sfb_dump_class() argument
|
| A D | sch_cake.c | 2995 struct sk_buff *skb, struct tcmsg *tcm) in cake_dump_class() argument 2997 tcm->tcm_handle |= TC_H_MIN(cl); in cake_dump_class()
|