Lines Matching refs:fib6_info

43 	int (*func)(struct fib6_info *, void *arg);
55 static struct fib6_info *fib6_find_prefix(struct net *net,
106 void fib6_update_sernum(struct net *net, struct fib6_info *f6i) in fib6_update_sernum()
146 struct fib6_info *fib6_info_alloc(gfp_t gfp_flags, bool with_fib6_nh) in fib6_info_alloc()
148 struct fib6_info *f6i; in fib6_info_alloc()
167 struct fib6_info *f6i = container_of(head, struct fib6_info, rcu); in fib6_info_destroy_rcu()
363 struct fib6_info *rt, in call_fib6_entry_notifier()
376 struct fib6_info *rt, in call_fib6_multipath_entry_notifier()
391 struct fib6_info *rt, in call_fib6_entry_notifiers()
405 struct fib6_info *rt, in call_fib6_multipath_entry_notifiers()
419 int call_fib6_entry_notifiers_replace(struct net *net, struct fib6_info *rt) in call_fib6_entry_notifiers_replace()
436 static int fib6_rt_dump(struct fib6_info *rt, struct fib6_dump_arg *arg) in fib6_rt_dump()
516 struct fib6_info *rt; in fib6_dump_node()
540 struct fib6_info, in fib6_dump_node()
712 void fib6_metric_set(struct fib6_info *f6i, int metric, u32 val) in fib6_metric_set()
759 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_add_1()
954 const struct fib6_info *match, in __fib6_drop_pcpu_from()
978 struct fib6_info *from; in __fib6_drop_pcpu_from()
980 from = xchg((__force struct fib6_info **)&pcpu_rt->from, NULL); in __fib6_drop_pcpu_from()
987 struct fib6_info *from;
999 static void fib6_drop_pcpu_from(struct fib6_info *f6i, in fib6_drop_pcpu_from()
1024 static void fib6_purge_rt(struct fib6_info *rt, struct fib6_node *fn, in fib6_purge_rt()
1044 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_purge_rt()
1046 struct fib6_info *new_leaf; in fib6_purge_rt()
1064 static int fib6_add_rt2node(struct fib6_node *fn, struct fib6_info *rt, in fib6_add_rt2node()
1068 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_add_rt2node()
1070 struct fib6_info *iter = NULL; in fib6_add_rt2node()
1071 struct fib6_info __rcu **ins; in fib6_add_rt2node()
1072 struct fib6_info __rcu **fallback_ins = NULL; in fib6_add_rt2node()
1168 struct fib6_info *sibling, *temp_sibling; in fib6_add_rt2node()
1225 struct fib6_info *sibling, *next_sibling; in fib6_add_rt2node()
1322 static void fib6_start_gc(struct net *net, struct fib6_info *rt) in fib6_start_gc()
1337 static void __fib6_update_sernum_upto_root(struct fib6_info *rt, in __fib6_update_sernum_upto_root()
1352 void fib6_update_sernum_upto_root(struct net *net, struct fib6_info *rt) in fib6_update_sernum_upto_root()
1358 void fib6_update_sernum_stub(struct net *net, struct fib6_info *f6i) in fib6_update_sernum_stub()
1372 int fib6_add(struct fib6_node *root, struct fib6_info *rt, in fib6_add()
1392 offsetof(struct fib6_info, fib6_dst), allow_create, in fib6_add()
1433 offsetof(struct fib6_info, fib6_src), in fib6_add()
1452 offsetof(struct fib6_info, fib6_src), in fib6_add()
1491 struct fib6_info *pn_leaf = in fib6_add()
1580 struct fib6_info *leaf = rcu_dereference(fn->leaf); in fib6_node_lookup_1()
1622 .offset = offsetof(struct fib6_info, fib6_dst), in fib6_node_lookup()
1627 .offset = offsetof(struct fib6_info, fib6_src), in fib6_node_lookup()
1663 struct fib6_info *leaf = rcu_dereference(fn->leaf); in fib6_locate_1()
1713 offsetof(struct fib6_info, fib6_dst), in fib6_locate()
1724 offsetof(struct fib6_info, fib6_src), in fib6_locate()
1743 static struct fib6_info *fib6_find_prefix(struct net *net, in fib6_find_prefix()
1802 struct fib6_info *fn_leaf = rcu_dereference_protected(fn->leaf, in fib6_repair_tree()
1804 struct fib6_info *pn_leaf = rcu_dereference_protected(pn->leaf, in fib6_repair_tree()
1806 struct fib6_info *new_fn_leaf; in fib6_repair_tree()
1901 struct fib6_info __rcu **rtp, struct nl_info *info) in fib6_del_route()
1903 struct fib6_info *leaf, *replace_rt = NULL; in fib6_del_route()
1905 struct fib6_info *rt = rcu_dereference_protected(*rtp, in fib6_del_route()
1938 struct fib6_info *sibling, *next_sibling; in fib6_del_route()
1997 int fib6_del(struct fib6_info *rt, struct nl_info *info) in fib6_del()
2000 struct fib6_info __rcu **rtp; in fib6_del()
2001 struct fib6_info __rcu **rtp_next; in fib6_del()
2021 struct fib6_info *cur = rcu_dereference_protected(*rtp, in fib6_del()
2167 struct fib6_info *rt; in fib6_clean_node()
2203 struct fib6_info, fib6_siblings); in fib6_clean_node()
2222 int (*func)(struct fib6_info *, void *arg), in fib6_clean_tree() argument
2242 int (*func)(struct fib6_info *, void *), in __fib6_clean_all() argument
2262 void fib6_clean_all(struct net *net, int (*func)(struct fib6_info *, void *), in fib6_clean_all() argument
2269 int (*func)(struct fib6_info *, void *), in fib6_clean_all_skip_notify() argument
2286 static int fib6_age(struct fib6_info *rt, void *arg) in fib6_age()
2481 struct fib6_info *rt = v; in ipv6_route_native_seq_show()
2582 struct fib6_info *n; in ipv6_route_seq_next()
2590 n = rcu_dereference_bh(((struct fib6_info *)v)->fib6_next); in ipv6_route_seq_next()