Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/ipv4/
H A Droute.c604 static void fnhe_flush_routes(struct fib_nh_exception *fnhe) in fnhe_flush_routes() argument
608 rt = rcu_dereference(fnhe->fnhe_rth_input); in fnhe_flush_routes()
610 RCU_INIT_POINTER(fnhe->fnhe_rth_input, NULL); in fnhe_flush_routes()
614 rt = rcu_dereference(fnhe->fnhe_rth_output); in fnhe_flush_routes()
616 RCU_INIT_POINTER(fnhe->fnhe_rth_output, NULL); in fnhe_flush_routes()
625 struct fib_nh_exception *fnhe, *oldest = NULL; in fnhe_remove_oldest() local
627 for (fnhe_p = &hash->chain; ; fnhe_p = &fnhe->fnhe_next) { in fnhe_remove_oldest()
628 fnhe = rcu_dereference_protected(*fnhe_p, in fnhe_remove_oldest()
630 if (!fnhe) in fnhe_remove_oldest()
633 time_before(fnhe->fnhe_stamp, oldest->fnhe_stamp)) { in fnhe_remove_oldest()
[all …]
H A Dfib_semantics.c172 struct fib_nh_exception *fnhe; in free_nh_exceptions() local
174 fnhe = rcu_dereference_protected(hash[i].chain, 1); in free_nh_exceptions()
175 while (fnhe) { in free_nh_exceptions()
178 next = rcu_dereference_protected(fnhe->fnhe_next, 1); in free_nh_exceptions()
180 rt_fibinfo_free(&fnhe->fnhe_rth_input); in free_nh_exceptions()
181 rt_fibinfo_free(&fnhe->fnhe_rth_output); in free_nh_exceptions()
183 kfree(fnhe); in free_nh_exceptions()
185 fnhe = next; in free_nh_exceptions()
1956 struct fib_nh_exception *fnhe; in fib_nhc_update_mtu() local
1958 for (fnhe = rcu_dereference_protected(bucket[i].chain, 1); in fib_nhc_update_mtu()
[all …]