Lines Matching refs:cl
43 unsigned long cl, int event);
253 unsigned long cl; in qdisc_leaf() local
259 cl = cops->get(p, classid); in qdisc_leaf()
261 if (cl == 0) in qdisc_leaf()
263 leaf = cops->leaf(p, cl); in qdisc_leaf()
264 cops->put(p, cl); in qdisc_leaf()
548 struct Qdisc_class_common *cl; in qdisc_class_hash_grow() local
568 hlist_for_each_entry_safe(cl, next, &ohash[i], hnode) { in qdisc_class_hash_grow()
569 h = qdisc_class_hash(cl->classid, nmask); in qdisc_class_hash_grow()
570 hlist_add_head(&cl->hnode, &nhash[h]); in qdisc_class_hash_grow()
603 struct Qdisc_class_common *cl) in qdisc_class_hash_insert() argument
607 INIT_HLIST_NODE(&cl->hnode); in qdisc_class_hash_insert()
608 h = qdisc_class_hash(cl->classid, clhash->hashmask); in qdisc_class_hash_insert()
609 hlist_add_head(&cl->hnode, &clhash->hash[h]); in qdisc_class_hash_insert()
615 struct Qdisc_class_common *cl) in qdisc_class_hash_remove() argument
617 hlist_del(&cl->hnode); in qdisc_class_hash_remove()
645 unsigned long cl; in qdisc_tree_decrease_qlen() local
661 cl = cops->get(sch, parentid); in qdisc_tree_decrease_qlen()
662 cops->qlen_notify(sch, cl); in qdisc_tree_decrease_qlen()
663 cops->put(sch, cl); in qdisc_tree_decrease_qlen()
750 unsigned long cl = cops->get(parent, classid); in qdisc_graft() local
751 if (cl) { in qdisc_graft()
752 err = cops->graft(parent, cl, new, &old); in qdisc_graft()
753 cops->put(parent, cl); in qdisc_graft()
938 static int check_loop_fn(struct Qdisc *q, unsigned long cl, struct qdisc_walker *w);
956 check_loop_fn(struct Qdisc *q, unsigned long cl, struct qdisc_walker *w) in check_loop_fn() argument
962 leaf = cops->leaf(q, cl); in check_loop_fn()
1386 unsigned long cl = 0; in tc_ctl_tclass() local
1465 cl = cops->get(q, clid); in tc_ctl_tclass()
1467 if (cl == 0) { in tc_ctl_tclass()
1482 err = cops->delete(q, cl); in tc_ctl_tclass()
1484 tclass_notify(net, skb, n, q, cl, RTM_DELTCLASS); in tc_ctl_tclass()
1487 err = tclass_notify(net, skb, n, q, cl, RTM_NEWTCLASS); in tc_ctl_tclass()
1495 new_cl = cl; in tc_ctl_tclass()
1503 if (cl) in tc_ctl_tclass()
1504 cops->put(q, cl); in tc_ctl_tclass()
1511 unsigned long cl, in tc_fill_tclass() argument
1533 if (cl_ops->dump && cl_ops->dump(q, cl, skb, tcm) < 0) in tc_fill_tclass()
1540 if (cl_ops->dump_stats && cl_ops->dump_stats(q, cl, &d) < 0) in tc_fill_tclass()
1557 unsigned long cl, int event) in tclass_notify() argument
1566 if (tc_fill_tclass(skb, q, cl, portid, n->nlmsg_seq, 0, event) < 0) { in tclass_notify()
1581 static int qdisc_class_dump(struct Qdisc *q, unsigned long cl, struct qdisc_walker *arg) in qdisc_class_dump() argument
1585 return tc_fill_tclass(a->skb, q, cl, NETLINK_CB(a->cb->skb).portid, in qdisc_class_dump()