Searched refs:TC_H_MAJ (Results 1 – 18 of 18) sorted by relevance
/linux-3.4.99/net/sched/ |
D | cls_api.c | 145 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()
|
D | sch_api.c | 650 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()
|
D | cls_fw.c | 106 if (id && (TC_H_MAJ(id) == 0 || in fw_classify() 107 !(TC_H_MAJ(id ^ tp->q->handle)))) { in fw_classify()
|
D | sch_prio.c | 42 if (TC_H_MAJ(skb->priority) != sch->handle) { in prio_classify() 54 if (TC_H_MAJ(band)) in prio_classify()
|
D | sch_mqprio.c | 128 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_init() 303 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_dump_class()
|
D | sch_dsmark.c | 227 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()
|
D | cls_route.c | 188 if (id && (TC_H_MAJ(id) == 0 || in route4_classify() 189 !(TC_H_MAJ(id^tp->q->handle)))) { in route4_classify()
|
D | sch_mq.c | 61 TC_H_MAKE(TC_H_MAJ(sch->handle), in mq_init()
|
D | sch_atm.c | 254 if (TC_H_MAJ(classid ^ sch->handle)) { in atm_tc_change() 372 if (TC_H_MAJ(skb->priority) != sch->handle || in atm_tc_enqueue()
|
D | sch_cbq.c | 230 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()
|
D | sch_hfsc.c | 1053 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()
|
D | cls_tcindex.c | 96 res->classid = TC_H_MAKE(TC_H_MAJ(tp->q->handle), key); in tcindex_classify()
|
D | sch_drr.c | 324 if (TC_H_MAJ(skb->priority ^ sch->handle) == 0) { in drr_classify()
|
D | cls_flow.c | 437 if (TC_H_MAJ(baseclass) == 0) in flow_change()
|
D | sch_htb.c | 237 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()
|
D | sch_sfq.c | 192 if (TC_H_MAJ(skb->priority) == sch->handle && in sfq_classify()
|
D | sch_qfq.c | 494 if (TC_H_MAJ(skb->priority ^ sch->handle) == 0) { in qfq_classify()
|
/linux-3.4.99/include/linux/ |
D | pkt_sched.h | 68 #define TC_H_MAJ(h) ((h)&TC_H_MAJ_MASK) macro
|