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