Lines Matching refs:arg
71 struct nlattr **tca, unsigned long *arg)
74 struct nss_bf_class_data *cl = (struct nss_bf_class_data *)*arg;
116 *arg = (unsigned long)cl;
288 static int nss_bf_delete_class(struct Qdisc *sch, unsigned long arg)
291 struct nss_bf_class_data *cl = (struct nss_bf_class_data *)arg;
330 static int nss_bf_graft_class(struct Qdisc *sch, unsigned long arg, struct Qdisc *new,
334 struct nss_bf_class_data *cl = (struct nss_bf_class_data *)arg;
398 static struct Qdisc *nss_bf_leaf_class(struct Qdisc *sch, unsigned long arg)
400 struct nss_bf_class_data *cl = (struct nss_bf_class_data *)arg;
414 static void nss_bf_qlen_notify(struct Qdisc *sch, unsigned long arg)
443 static void nss_bf_put_class(struct Qdisc *sch, unsigned long arg)
445 struct nss_bf_class_data *cl = (struct nss_bf_class_data *)arg;
461 static int nss_bf_dump_class(struct Qdisc *sch, unsigned long arg, struct sk_buff *skb,
464 struct nss_bf_class_data *cl = (struct nss_bf_class_data *)arg;
499 static int nss_bf_dump_class_stats(struct Qdisc *sch, unsigned long arg, struct gnet_dump *d)
501 struct nss_qdisc *nq = (struct nss_qdisc *)arg;
515 static void nss_bf_walk(struct Qdisc *sch, struct qdisc_walker *arg)
523 if (arg->stop)
529 if (arg->count < arg->skip) {
530 arg->count++;
533 if (arg->fn(sch, (unsigned long)cl, arg) < 0) {
534 arg->stop = 1;
537 arg->count++;