Lines Matching refs:arg
80 struct nlattr **tca, unsigned long *arg)
83 struct nss_htb_class_data *cl = (struct nss_htb_class_data *)*arg;
169 *arg = (unsigned long)cl;
378 static int nss_htb_delete_class(struct Qdisc *sch, unsigned long arg)
381 struct nss_htb_class_data *cl = (struct nss_htb_class_data *)arg;
455 static int nss_htb_graft_class(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, struct Qdisc **old)
457 struct nss_htb_class_data *cl = (struct nss_htb_class_data *)arg;
518 static struct Qdisc *nss_htb_leaf_class(struct Qdisc *sch, unsigned long arg)
520 struct nss_htb_class_data *cl = (struct nss_htb_class_data *)arg;
533 static void nss_htb_qlen_notify(struct Qdisc *sch, unsigned long arg)
564 static void nss_htb_put_class(struct Qdisc *sch, unsigned long arg)
566 struct nss_htb_class_data *cl = (struct nss_htb_class_data *)arg;
583 static int nss_htb_dump_class(struct Qdisc *sch, unsigned long arg, struct sk_buff *skb, struct tcmsg *tcm)
585 struct nss_htb_class_data *cl = (struct nss_htb_class_data *)arg;
625 static int nss_htb_dump_class_stats(struct Qdisc *sch, unsigned long arg, struct gnet_dump *d)
627 struct nss_qdisc *nq = (struct nss_qdisc *)arg;
642 static void nss_htb_walk(struct Qdisc *sch, struct qdisc_walker *arg)
651 if (arg->stop)
657 if (arg->count < arg->skip) {
658 arg->count++;
661 if (arg->fn(sch, (unsigned long)cl, arg) < 0) {
662 arg->stop = 1;
665 arg->count++;