Home
last modified time | relevance | path

Searched refs:TC_H_MAJ (Results 1 – 18 of 18) sorted by relevance

/linux-3.4.99/net/sched/
Dcls_api.c145 prio = TC_H_MAJ(t->tcm_info); in tc_ctl_tfilter()
174 q = qdisc_lookup(dev, TC_H_MAJ(t->tcm_parent)); in tc_ctl_tfilter()
263 tp->prio = nprio ? : TC_H_MAJ(tcf_auto_prio(*back)); in tc_ctl_tfilter()
434 q = qdisc_lookup(dev, TC_H_MAJ(tcm->tcm_parent)); in tc_dump_tfilter()
456 if (TC_H_MAJ(tcm->tcm_info) && in tc_dump_tfilter()
457 TC_H_MAJ(tcm->tcm_info) != tp->prio) in tc_dump_tfilter()
Dsch_api.c650 if (TC_H_MAJ(parentid) == TC_H_MAJ(TC_H_INGRESS)) in qdisc_tree_decrease_qlen()
653 sch = qdisc_lookup(qdisc_dev(sch), TC_H_MAJ(parentid)); in qdisc_tree_decrease_qlen()
993 if (TC_H_MAJ(clid) != TC_H_MAJ(TC_H_INGRESS)) { in tc_get_qdisc()
994 p = qdisc_lookup(dev, TC_H_MAJ(clid)); in tc_get_qdisc()
1063 p = qdisc_lookup(dev, TC_H_MAJ(clid)); in tc_modify_qdisc()
1376 u32 qid = TC_H_MAJ(clid); in tc_ctl_tclass()
1403 u32 qid1 = TC_H_MAJ(pid); in tc_ctl_tclass()
1574 TC_H_MAJ(tcm->tcm_parent) != q->handle)) { in tc_dump_tclass_qdisc()
Dcls_fw.c106 if (id && (TC_H_MAJ(id) == 0 || in fw_classify()
107 !(TC_H_MAJ(id ^ tp->q->handle)))) { in fw_classify()
Dsch_prio.c42 if (TC_H_MAJ(skb->priority) != sch->handle) { in prio_classify()
54 if (TC_H_MAJ(band)) in prio_classify()
Dsch_mqprio.c128 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_init()
303 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_dump_class()
Dsch_dsmark.c227 if (TC_H_MAJ(skb->priority) == sch->handle) in dsmark_enqueue()
426 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle), cl - 1); in dsmark_dump_class()
Dcls_route.c188 if (id && (TC_H_MAJ(id) == 0 || in route4_classify()
189 !(TC_H_MAJ(id^tp->q->handle)))) { in route4_classify()
Dsch_mq.c61 TC_H_MAKE(TC_H_MAJ(sch->handle), in mq_init()
Dsch_atm.c254 if (TC_H_MAJ(classid ^ sch->handle)) { in atm_tc_change()
372 if (TC_H_MAJ(skb->priority) != sch->handle || in atm_tc_enqueue()
Dsch_cbq.c230 if (TC_H_MAJ(prio ^ sch->handle) == 0 && in cbq_classify()
248 if (TC_H_MAJ(res.classid)) in cbq_classify()
286 if (TC_H_MAJ(prio) == 0 && in cbq_classify()
1840 if (TC_H_MAJ(classid ^ sch->handle) || in cbq_change_class()
Dsch_hfsc.c1053 if (classid == 0 || TC_H_MAJ(classid ^ sch->handle) != 0) in hfsc_change_class()
1157 if (TC_H_MAJ(skb->priority ^ sch->handle) == 0 && in hfsc_classify()
1193 cl = hfsc_find_class(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in hfsc_classify()
Dcls_tcindex.c96 res->classid = TC_H_MAKE(TC_H_MAJ(tp->q->handle), key); in tcindex_classify()
Dsch_drr.c324 if (TC_H_MAJ(skb->priority ^ sch->handle) == 0) { in drr_classify()
Dcls_flow.c437 if (TC_H_MAJ(baseclass) == 0) in flow_change()
Dsch_htb.c237 cl = htb_find(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in htb_classify()
1354 if (!classid || TC_H_MAJ(classid ^ sch->handle) || in htb_change_class()
Dsch_sfq.c192 if (TC_H_MAJ(skb->priority) == sch->handle && in sfq_classify()
Dsch_qfq.c494 if (TC_H_MAJ(skb->priority ^ sch->handle) == 0) { in qfq_classify()
/linux-3.4.99/include/linux/
Dpkt_sched.h68 #define TC_H_MAJ(h) ((h)&TC_H_MAJ_MASK) macro