Home
last modified time | relevance | path

Searched refs:fnhe (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
H A Droute.c605 static void fnhe_flush_routes(struct fib_nh_exception *fnhe) in fnhe_flush_routes() argument
609 rt = rcu_dereference(fnhe->fnhe_rth_input); in fnhe_flush_routes()
611 RCU_INIT_POINTER(fnhe->fnhe_rth_input, NULL); in fnhe_flush_routes()
615 rt = rcu_dereference(fnhe->fnhe_rth_output); in fnhe_flush_routes()
617 RCU_INIT_POINTER(fnhe->fnhe_rth_output, NULL); in fnhe_flush_routes()
626 struct fib_nh_exception *fnhe, *oldest = NULL; in fnhe_remove_oldest() local
628 for (fnhe_p = &hash->chain; ; fnhe_p = &fnhe->fnhe_next) { in fnhe_remove_oldest()
629 fnhe = rcu_dereference_protected(*fnhe_p, in fnhe_remove_oldest()
631 if (!fnhe) in fnhe_remove_oldest()
634 time_before(fnhe in fnhe_remove_oldest()
654 fill_route_from_fnhe(struct rtable *rt, struct fib_nh_exception *fnhe) fill_route_from_fnhe() argument
673 struct fib_nh_exception *fnhe; update_or_create_fnhe() local
1371 struct fib_nh_exception *fnhe, __rcu **fnhe_p; ip_del_fnhe() local
1406 struct fib_nh_exception *fnhe; find_exception() local
1446 struct fib_nh_exception *fnhe; ip_mtu_from_fib_result() local
1459 rt_bind_exception(struct rtable *rt, struct fib_nh_exception *fnhe, __be32 daddr, const bool do_cache) rt_bind_exception() argument
1603 rt_set_nexthop(struct rtable *rt, __be32 daddr, const struct fib_result *res, struct fib_nh_exception *fnhe, struct fib_info *fi, u16 type, u32 itag, const bool do_cache) rt_set_nexthop() argument
1835 struct fib_nh_exception *fnhe; __mkroute_input() local
2430 struct fib_nh_exception *fnhe; __mkroute_output() local
3005 struct fib_nh_exception *fnhe; fnhe_dump_bucket() local
[all...]
H A Dfib_semantics.c173 struct fib_nh_exception *fnhe; in free_nh_exceptions() local
175 fnhe = rcu_dereference_protected(hash[i].chain, 1); in free_nh_exceptions()
176 while (fnhe) { in free_nh_exceptions()
179 next = rcu_dereference_protected(fnhe->fnhe_next, 1); in free_nh_exceptions()
181 rt_fibinfo_free(&fnhe->fnhe_rth_input); in free_nh_exceptions()
182 rt_fibinfo_free(&fnhe->fnhe_rth_output); in free_nh_exceptions()
184 kfree(fnhe); in free_nh_exceptions()
186 fnhe = next; in free_nh_exceptions()
1966 struct fib_nh_exception *fnhe; in fib_nhc_update_mtu() local
1968 for (fnhe in fib_nhc_update_mtu()
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Droute.c575 static void fnhe_flush_routes(struct fib_nh_exception *fnhe) in fnhe_flush_routes() argument
579 rt = rcu_dereference(fnhe->fnhe_rth_input); in fnhe_flush_routes()
581 RCU_INIT_POINTER(fnhe->fnhe_rth_input, NULL); in fnhe_flush_routes()
585 rt = rcu_dereference(fnhe->fnhe_rth_output); in fnhe_flush_routes()
587 RCU_INIT_POINTER(fnhe->fnhe_rth_output, NULL); in fnhe_flush_routes()
596 struct fib_nh_exception *fnhe, *oldest = NULL; in fnhe_remove_oldest() local
598 for (fnhe_p = &hash->chain; ; fnhe_p = &fnhe->fnhe_next) { in fnhe_remove_oldest()
599 fnhe = rcu_dereference_protected(*fnhe_p, in fnhe_remove_oldest()
601 if (!fnhe) in fnhe_remove_oldest()
604 time_before(fnhe in fnhe_remove_oldest()
624 fill_route_from_fnhe(struct rtable *rt, struct fib_nh_exception *fnhe) fill_route_from_fnhe() argument
643 struct fib_nh_exception *fnhe; update_or_create_fnhe() local
1333 struct fib_nh_exception *fnhe, __rcu **fnhe_p; ip_del_fnhe() local
1368 struct fib_nh_exception *fnhe; find_exception() local
1408 struct fib_nh_exception *fnhe; ip_mtu_from_fib_result() local
1421 rt_bind_exception(struct rtable *rt, struct fib_nh_exception *fnhe, __be32 daddr, const bool do_cache) rt_bind_exception() argument
1570 rt_set_nexthop(struct rtable *rt, __be32 daddr, const struct fib_result *res, struct fib_nh_exception *fnhe, struct fib_info *fi, u16 type, u32 itag, const bool do_cache) rt_set_nexthop() argument
1797 struct fib_nh_exception *fnhe; __mkroute_input() local
2509 struct fib_nh_exception *fnhe; __mkroute_output() local
3082 struct fib_nh_exception *fnhe; fnhe_dump_bucket() local
[all...]
H A Dfib_semantics.c175 struct fib_nh_exception *fnhe; in free_nh_exceptions() local
177 fnhe = rcu_dereference_protected(hash[i].chain, 1); in free_nh_exceptions()
178 while (fnhe) { in free_nh_exceptions()
181 next = rcu_dereference_protected(fnhe->fnhe_next, 1); in free_nh_exceptions()
183 rt_fibinfo_free(&fnhe->fnhe_rth_input); in free_nh_exceptions()
184 rt_fibinfo_free(&fnhe->fnhe_rth_output); in free_nh_exceptions()
186 kfree(fnhe); in free_nh_exceptions()
188 fnhe = next; in free_nh_exceptions()
1950 struct fib_nh_exception *fnhe; in fib_nhc_update_mtu() local
1952 for (fnhe in fib_nhc_update_mtu()
[all...]

Completed in 10 milliseconds