Home
last modified time | relevance | path

Searched refs:fnhe (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/net/ipv4/
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->fnhe_stamp, oldest->fnhe_stamp)) { in fnhe_remove_oldest()
[all …]
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()
1942 struct fib_nh_exception *fnhe; in fib_nhc_update_mtu() local
1944 for (fnhe = rcu_dereference_protected(bucket[i].chain, 1); in fib_nhc_update_mtu()
[all …]