Lines Matching refs:classid
73 static inline struct atm_flow_data *lookup_flow(struct Qdisc *sch, u32 classid)
79 if (flow->common.classid == classid)
113 static unsigned long atm_tc_find(struct Qdisc *sch, u32 classid)
118 pr_debug("%s(sch %p,[qdisc %p],classid %x)\n", __func__, sch, p, classid);
119 flow = lookup_flow(sch, classid);
125 unsigned long parent, u32 classid)
130 pr_debug("%s(sch %p,[qdisc %p],classid %x)\n", __func__, sch, p, classid);
131 flow = lookup_flow(sch, classid);
195 static int atm_tc_change(struct Qdisc *sch, u32 classid, u32 parent,
208 pr_debug("atm_tc_change(sch %p,[qdisc %p],classid %x,parent %x,"
209 "flow %p,opt %p)\n", sch, p, classid, parent, flow, opt);
263 if (classid) {
264 if (TC_H_MAJ(classid ^ sch->handle)) {
265 pr_debug("atm_tc_change: classid mismatch\n");
274 classid = TC_H_MAKE(sch->handle, 0x8000 | i);
275 cl = atm_tc_find(sch, classid);
280 pr_debug("atm_tc_change: new id %x\n", classid);
295 flow->q = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, classid,
307 flow->common.classid = classid;
404 flow = lookup_flow(sch, res.classid);
561 p->link.common.classid = sch->handle;
613 tcm->tcm_handle = flow->common.classid;
638 if (nla_put_u32(skb, TCA_ATM_EXCESS, flow->common.classid))