Lines Matching refs:classid
72 static inline struct atm_flow_data *lookup_flow(struct Qdisc *sch, u32 classid) in lookup_flow() argument
78 if (flow->common.classid == classid) in lookup_flow()
112 static unsigned long atm_tc_find(struct Qdisc *sch, u32 classid) in atm_tc_find() argument
117 pr_debug("%s(sch %p,[qdisc %p],classid %x)\n", __func__, sch, p, classid); in atm_tc_find()
118 flow = lookup_flow(sch, classid); in atm_tc_find()
124 unsigned long parent, u32 classid) in atm_tc_bind_filter() argument
129 pr_debug("%s(sch %p,[qdisc %p],classid %x)\n", __func__, sch, p, classid); in atm_tc_bind_filter()
130 flow = lookup_flow(sch, classid); in atm_tc_bind_filter()
194 static int atm_tc_change(struct Qdisc *sch, u32 classid, u32 parent, in atm_tc_change() argument
208 "flow %p,opt %p)\n", sch, p, classid, parent, flow, opt); in atm_tc_change()
261 if (classid) { in atm_tc_change()
262 if (TC_H_MAJ(classid ^ sch->handle)) { in atm_tc_change()
272 classid = TC_H_MAKE(sch->handle, 0x8000 | i); in atm_tc_change()
273 cl = atm_tc_find(sch, classid); in atm_tc_change()
278 pr_debug("atm_tc_change: new id %x\n", classid); in atm_tc_change()
293 flow->q = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, classid, in atm_tc_change()
305 flow->common.classid = classid; in atm_tc_change()
399 flow = lookup_flow(sch, res.classid); in atm_tc_enqueue()
562 p->link.common.classid = sch->handle; in atm_tc_init()
609 tcm->tcm_handle = flow->common.classid; in atm_tc_dump_class()
634 if (nla_put_u32(skb, TCA_ATM_EXCESS, flow->common.classid)) in atm_tc_dump_class()