Lines Matching refs:arg
43 int (*func)(struct fib6_info *, void *arg);
45 void *arg; member
406 static void fib6_rt_dump(struct fib6_info *rt, struct fib6_dump_arg *arg) in fib6_rt_dump() argument
408 if (rt == arg->net->ipv6.fib6_null_entry) in fib6_rt_dump()
410 call_fib6_entry_notifier(arg->nb, arg->net, FIB_EVENT_ENTRY_ADD, rt); in fib6_rt_dump()
435 struct fib6_dump_arg arg; in fib6_tables_dump() local
444 arg.net = net; in fib6_tables_dump()
445 arg.nb = nb; in fib6_tables_dump()
446 w->args = &arg; in fib6_tables_dump()
565 struct rt6_rtnl_dump_arg arg = { .filter.dump_exceptions = true, in inet6_dump_fib() local
579 err = ip_valid_fib_dump_req(net, nlh, &arg.filter, cb); in inet6_dump_fib()
586 arg.filter.flags = RTM_F_PREFIX; in inet6_dump_fib()
608 arg.skb = skb; in inet6_dump_fib()
609 arg.cb = cb; in inet6_dump_fib()
610 arg.net = net; in inet6_dump_fib()
611 w->args = &arg; in inet6_dump_fib()
613 if (arg.filter.table_id) { in inet6_dump_fib()
614 tb = fib6_get_table(net, arg.filter.table_id); in inet6_dump_fib()
616 if (arg.filter.dump_all_families) in inet6_dump_fib()
940 struct fib6_nh_pcpu_arg *arg = _arg; in fib6_nh_drop_pcpu_from() local
942 __fib6_drop_pcpu_from(nh, arg->from, arg->table); in fib6_nh_drop_pcpu_from()
956 struct fib6_nh_pcpu_arg arg = { in fib6_drop_pcpu_from() local
962 &arg); in fib6_drop_pcpu_from()
2077 res = c->func(rt, c->arg); in fib6_clean_node()
2114 int (*func)(struct fib6_info *, void *arg), in fib6_clean_tree() argument
2115 int sernum, void *arg, bool skip_notify) in fib6_clean_tree()
2126 c.arg = arg; in fib6_clean_tree()
2135 int sernum, void *arg, bool skip_notify) in __fib6_clean_all() argument
2147 func, sernum, arg, skip_notify); in __fib6_clean_all()
2155 void *arg) in fib6_clean_all() argument
2157 __fib6_clean_all(net, func, FIB6_NO_SERNUM_CHANGE, arg, false); in fib6_clean_all()
2162 void *arg) in fib6_clean_all_skip_notify() argument
2164 __fib6_clean_all(net, func, FIB6_NO_SERNUM_CHANGE, arg, true); in fib6_clean_all_skip_notify()
2178 static int fib6_age(struct fib6_info *rt, void *arg) in fib6_age() argument
2180 struct fib6_gc_args *gc_args = arg; in fib6_age()
2235 struct net *arg = from_timer(arg, t, ipv6.ip6_fib_timer); in fib6_gc_timer_cb() local
2237 fib6_run_gc(0, arg, true); in fib6_gc_timer_cb()