Searched refs:TC_H_MAKE (Results 1 – 16 of 16) sorted by relevance
/linux-2.6.39/net/sched/ |
D | cls_api.c | 111 u32 first = TC_H_MAKE(0xC0000000U, 0U); in tcf_auto_prio() 155 prio = TC_H_MAKE(0x80000000U, 0U); in tc_ctl_tfilter() 359 tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol); in tcf_fill_node()
|
D | sch_api.c | 626 static u32 autohandle = TC_H_MAKE(0x80000000U, 0); in qdisc_alloc_handle() 629 autohandle += TC_H_MAKE(0x10000U, 0); in qdisc_alloc_handle() 630 if (autohandle == TC_H_MAKE(TC_H_ROOT, 0)) in qdisc_alloc_handle() 631 autohandle = TC_H_MAKE(0x80000000U, 0); in qdisc_alloc_handle() 822 handle = TC_H_MAKE(TC_H_INGRESS, 0); in qdisc_create() 1416 pid = TC_H_MAKE(qid, pid); in tc_ctl_tclass() 1437 clid = TC_H_MAKE(qid, clid); in tc_ctl_tclass()
|
D | cls_flow.c | 395 res->classid = TC_H_MAKE(f->baseclass, f->baseclass + classid); in flow_classify() 517 baseclass = TC_H_MAKE(tp->q->handle, baseclass); in flow_change() 519 baseclass = TC_H_MAKE(baseclass, 1); in flow_change()
|
D | sch_mqprio.c | 127 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_init() 302 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_dump_class()
|
D | sch_fifo.c | 168 q = qdisc_create_dflt(sch->dev_queue, ops, TC_H_MAKE(sch->handle, 1)); in fifo_create_dflt()
|
D | sch_mq.c | 60 TC_H_MAKE(TC_H_MAJ(sch->handle), in mq_init()
|
D | sch_multiq.c | 231 TC_H_MAKE(sch->handle, in multiq_tune()
|
D | sch_prio.c | 204 TC_H_MAKE(sch->handle, i + 1)); in prio_tune()
|
D | sch_dsmark.c | 426 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle), cl - 1); in dsmark_dump_class()
|
D | cls_tcindex.c | 96 res->classid = TC_H_MAKE(TC_H_MAJ(tp->q->handle), key); in tcindex_classify()
|
D | sch_atm.c | 263 classid = TC_H_MAKE(sch->handle, 0x8000 | i); in atm_tc_change()
|
D | sch_netem.c | 769 TC_H_MAKE(sch->handle, 1)); in netem_init()
|
D | sch_htb.c | 237 cl = htb_find(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in htb_classify()
|
D | sch_hfsc.c | 1193 cl = hfsc_find_class(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in hfsc_classify()
|
D | sch_cbq.c | 1840 classid = TC_H_MAKE(sch->handle, 0x8000); in cbq_change_class()
|
/linux-2.6.39/include/linux/ |
D | pkt_sched.h | 70 #define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) macro
|