Lines Matching refs:cl

43 			 unsigned long cl, int event);
314 unsigned long cl; in qdisc_leaf() local
320 cl = cops->get(p, classid); in qdisc_leaf()
322 if (cl == 0) in qdisc_leaf()
324 leaf = cops->leaf(p, cl); in qdisc_leaf()
325 cops->put(p, cl); in qdisc_leaf()
653 struct Qdisc_class_common *cl; in qdisc_class_hash_grow() local
673 hlist_for_each_entry_safe(cl, next, &ohash[i], hnode) { in qdisc_class_hash_grow()
674 h = qdisc_class_hash(cl->classid, nmask); in qdisc_class_hash_grow()
675 hlist_add_head(&cl->hnode, &nhash[h]); in qdisc_class_hash_grow()
708 struct Qdisc_class_common *cl) in qdisc_class_hash_insert() argument
712 INIT_HLIST_NODE(&cl->hnode); in qdisc_class_hash_insert()
713 h = qdisc_class_hash(cl->classid, clhash->hashmask); in qdisc_class_hash_insert()
714 hlist_add_head(&cl->hnode, &clhash->hash[h]); in qdisc_class_hash_insert()
720 struct Qdisc_class_common *cl) in qdisc_class_hash_remove() argument
722 hlist_del(&cl->hnode); in qdisc_class_hash_remove()
750 unsigned long cl; in qdisc_tree_decrease_qlen() local
772 cl = cops->get(sch, parentid); in qdisc_tree_decrease_qlen()
773 cops->qlen_notify(sch, cl); in qdisc_tree_decrease_qlen()
774 cops->put(sch, cl); in qdisc_tree_decrease_qlen()
865 unsigned long cl = cops->get(parent, classid); in qdisc_graft() local
866 if (cl) { in qdisc_graft()
867 err = cops->graft(parent, cl, new, &old); in qdisc_graft()
868 cops->put(parent, cl); in qdisc_graft()
1071 static int check_loop_fn(struct Qdisc *q, unsigned long cl, struct qdisc_walker *w);
1089 check_loop_fn(struct Qdisc *q, unsigned long cl, struct qdisc_walker *w) in check_loop_fn() argument
1095 leaf = cops->leaf(q, cl); in check_loop_fn()
1527 unsigned long cl = 0; in tc_ctl_tclass() local
1607 cl = cops->get(q, clid); in tc_ctl_tclass()
1609 if (cl == 0) { in tc_ctl_tclass()
1624 err = cops->delete(q, cl); in tc_ctl_tclass()
1626 tclass_notify(net, skb, n, q, cl, RTM_DELTCLASS); in tc_ctl_tclass()
1629 err = tclass_notify(net, skb, n, q, cl, RTM_NEWTCLASS); in tc_ctl_tclass()
1637 new_cl = cl; in tc_ctl_tclass()
1645 if (cl) in tc_ctl_tclass()
1646 cops->put(q, cl); in tc_ctl_tclass()
1653 unsigned long cl, in tc_fill_tclass() argument
1676 if (cl_ops->dump && cl_ops->dump(q, cl, skb, tcm) < 0) in tc_fill_tclass()
1683 if (cl_ops->dump_stats && cl_ops->dump_stats(q, cl, &d) < 0) in tc_fill_tclass()
1700 unsigned long cl, int event) in tclass_notify() argument
1709 if (tc_fill_tclass(skb, q, cl, portid, n->nlmsg_seq, 0, event) < 0) { in tclass_notify()
1724 static int qdisc_class_dump(struct Qdisc *q, unsigned long cl, struct qdisc_walker *arg) in qdisc_class_dump() argument
1728 return tc_fill_tclass(a->skb, q, cl, NETLINK_CB(a->cb->skb).portid, in qdisc_class_dump()