Searched defs:tcm (Results 1 - 20 of 20) sorted by relevance

/net/sched/
H A Dsch_mq.c135 struct tcmsg *tcm)
137 unsigned int ntx = TC_H_MIN(tcm->tcm_parent);
186 struct sk_buff *skb, struct tcmsg *tcm)
190 tcm->tcm_parent = TC_H_ROOT;
191 tcm->tcm_handle |= TC_H_MIN(cl);
192 tcm->tcm_info = dev_queue->qdisc_sleeping->handle;
134 mq_select_queue(struct Qdisc *sch, struct tcmsg *tcm) argument
185 mq_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_dsmark.c417 struct sk_buff *skb, struct tcmsg *tcm)
427 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle), cl - 1);
428 tcm->tcm_info = p->q->handle;
416 dsmark_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_mqprio.c289 struct sk_buff *skb, struct tcmsg *tcm)
294 tcm->tcm_parent = TC_H_ROOT;
295 tcm->tcm_info = 0;
301 tcm->tcm_parent = 0;
308 tcm->tcm_parent =
314 tcm->tcm_info = dev_queue->qdisc_sleeping->handle;
316 tcm->tcm_handle |= TC_H_MIN(cl);
288 mqprio_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_multiq.c347 struct sk_buff *skb, struct tcmsg *tcm)
351 tcm->tcm_handle |= TC_H_MIN(cl);
352 tcm->tcm_info = q->queues[cl - 1]->handle;
346 multiq_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_prio.c311 struct tcmsg *tcm)
315 tcm->tcm_handle |= TC_H_MIN(cl);
316 tcm->tcm_info = q->queues[cl-1]->handle;
310 prio_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_red.c299 struct sk_buff *skb, struct tcmsg *tcm)
303 tcm->tcm_handle |= TC_H_MIN(1);
304 tcm->tcm_info = q->qdisc->handle;
298 red_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dcls_api.c347 struct tcmsg *tcm; local
351 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags);
354 tcm = nlmsg_data(nlh);
355 tcm->tcm_family = AF_UNSPEC;
356 tcm->tcm__pad1 = 0;
357 tcm->tcm__pad2 = 0;
358 tcm->tcm_ifindex = qdisc_dev(tp->q)->ifindex;
359 tcm->tcm_parent = tp->classid;
360 tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol);
363 tcm
423 struct tcmsg *tcm = nlmsg_data(cb->nlh); local
[all...]
H A Dsch_atm.c587 struct sk_buff *skb, struct tcmsg *tcm)
593 pr_debug("atm_tc_dump_class(sch %p,[qdisc %p],flow %p,skb %p,tcm %p)\n",
594 sch, p, flow, skb, tcm);
597 tcm->tcm_handle = flow->classid;
598 tcm->tcm_info = flow->q->handle;
586 atm_tc_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_drr.c253 struct sk_buff *skb, struct tcmsg *tcm)
258 tcm->tcm_parent = TC_H_ROOT;
259 tcm->tcm_handle = cl->common.classid;
260 tcm->tcm_info = cl->qdisc->handle;
252 drr_dump_class(struct Qdisc *sch, unsigned long arg, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_tbf.c487 struct sk_buff *skb, struct tcmsg *tcm)
491 tcm->tcm_handle |= TC_H_MIN(1);
492 tcm->tcm_info = q->qdisc->handle;
486 tbf_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_choke.c580 struct sk_buff *skb, struct tcmsg *tcm)
582 tcm->tcm_handle |= TC_H_MIN(cl);
579 choke_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_fq_codel.c512 struct sk_buff *skb, struct tcmsg *tcm)
514 tcm->tcm_handle |= TC_H_MIN(cl);
511 fq_codel_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_netem.c1034 struct sk_buff *skb, struct tcmsg *tcm)
1041 tcm->tcm_handle |= TC_H_MIN(1);
1042 tcm->tcm_info = q->qdisc->handle;
1033 netem_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_sfb.c604 struct sk_buff *skb, struct tcmsg *tcm)
603 sfb_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_sfq.c853 struct sk_buff *skb, struct tcmsg *tcm)
855 tcm->tcm_handle |= TC_H_MIN(cl);
852 sfq_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_api.c1100 struct tcmsg *tcm = nlmsg_data(n); local
1112 err = nlmsg_parse(n, sizeof(*tcm), tca, TCA_MAX, NULL);
1116 dev = __dev_get_by_index(net, tcm->tcm_ifindex);
1120 clid = tcm->tcm_parent;
1137 if (tcm->tcm_handle && q->handle != tcm->tcm_handle)
1140 q = qdisc_lookup(dev, tcm->tcm_handle);
1169 struct tcmsg *tcm; local
1181 err = nlmsg_parse(n, sizeof(*tcm), tca, TCA_MAX, NULL);
1185 tcm
1325 struct tcmsg *tcm; local
1511 struct tcmsg *tcm = nlmsg_data(n); local
1645 struct tcmsg *tcm; local
1721 tc_dump_tclass_qdisc(struct Qdisc *q, struct sk_buff *skb, struct tcmsg *tcm, struct netlink_callback *cb, int *t_p, int s_t) argument
1750 tc_dump_tclass_root(struct Qdisc *root, struct sk_buff *skb, struct tcmsg *tcm, struct netlink_callback *cb, int *t_p, int s_t) argument
1772 struct tcmsg *tcm = nlmsg_data(cb->nlh); local
[all...]
H A Dsch_cbq.c1566 struct sk_buff *skb, struct tcmsg *tcm)
1572 tcm->tcm_parent = cl->tparent->common.classid;
1574 tcm->tcm_parent = TC_H_ROOT;
1575 tcm->tcm_handle = cl->common.classid;
1576 tcm->tcm_info = cl->q->handle;
1565 cbq_dump_class(struct Qdisc *sch, unsigned long arg, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_hfsc.c1343 struct tcmsg *tcm)
1348 tcm->tcm_parent = cl->cl_parent ? cl->cl_parent->cl_common.classid :
1350 tcm->tcm_handle = cl->cl_common.classid;
1352 tcm->tcm_info = cl->qdisc->handle;
1342 hfsc_dump_class(struct Qdisc *sch, unsigned long arg, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_htb.c1094 struct sk_buff *skb, struct tcmsg *tcm)
1103 tcm->tcm_parent = cl->parent ? cl->parent->common.classid : TC_H_ROOT;
1104 tcm->tcm_handle = cl->common.classid;
1106 tcm->tcm_info = cl->un.leaf.q->handle;
1093 htb_dump_class(struct Qdisc *sch, unsigned long arg, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_qfq.c638 struct sk_buff *skb, struct tcmsg *tcm)
643 tcm->tcm_parent = TC_H_ROOT;
644 tcm->tcm_handle = cl->common.classid;
645 tcm->tcm_info = cl->qdisc->handle;
637 qfq_dump_class(struct Qdisc *sch, unsigned long arg, struct sk_buff *skb, struct tcmsg *tcm) argument

Completed in 116 milliseconds