Searched refs:fnhe (Results 1 – 2 of 2) sorted by relevance
588 static void fnhe_flush_routes(struct fib_nh_exception *fnhe) in fnhe_flush_routes() argument592 rt = rcu_dereference(fnhe->fnhe_rth_input); in fnhe_flush_routes()594 RCU_INIT_POINTER(fnhe->fnhe_rth_input, NULL); in fnhe_flush_routes()598 rt = rcu_dereference(fnhe->fnhe_rth_output); in fnhe_flush_routes()600 RCU_INIT_POINTER(fnhe->fnhe_rth_output, NULL); in fnhe_flush_routes()608 struct fib_nh_exception *fnhe, *oldest; in fnhe_oldest() local611 for (fnhe = rcu_dereference(oldest->fnhe_next); fnhe; in fnhe_oldest()612 fnhe = rcu_dereference(fnhe->fnhe_next)) { in fnhe_oldest()613 if (time_before(fnhe->fnhe_stamp, oldest->fnhe_stamp)) in fnhe_oldest()614 oldest = fnhe; in fnhe_oldest()[all …]
171 struct fib_nh_exception *fnhe; in free_nh_exceptions() local173 fnhe = rcu_dereference_protected(hash[i].chain, 1); in free_nh_exceptions()174 while (fnhe) { in free_nh_exceptions()177 next = rcu_dereference_protected(fnhe->fnhe_next, 1); in free_nh_exceptions()179 rt_fibinfo_free(&fnhe->fnhe_rth_input); in free_nh_exceptions()180 rt_fibinfo_free(&fnhe->fnhe_rth_output); in free_nh_exceptions()182 kfree(fnhe); in free_nh_exceptions()184 fnhe = next; in free_nh_exceptions()1884 struct fib_nh_exception *fnhe; in fib_nhc_update_mtu() local1886 for (fnhe = rcu_dereference_protected(bucket[i].chain, 1); in fib_nhc_update_mtu()[all …]