Searched refs:fnhe (Results 1 – 1 of 1) sorted by relevance
576 static void fnhe_flush_routes(struct fib_nh_exception *fnhe) in fnhe_flush_routes() argument580 rt = rcu_dereference(fnhe->fnhe_rth_input); in fnhe_flush_routes()582 RCU_INIT_POINTER(fnhe->fnhe_rth_input, NULL); in fnhe_flush_routes()586 rt = rcu_dereference(fnhe->fnhe_rth_output); in fnhe_flush_routes()588 RCU_INIT_POINTER(fnhe->fnhe_rth_output, NULL); in fnhe_flush_routes()597 struct fib_nh_exception *fnhe, *oldest = NULL; in fnhe_remove_oldest() local599 for (fnhe_p = &hash->chain; ; fnhe_p = &fnhe->fnhe_next) { in fnhe_remove_oldest()600 fnhe = rcu_dereference_protected(*fnhe_p, in fnhe_remove_oldest()602 if (!fnhe) in fnhe_remove_oldest()605 time_before(fnhe->fnhe_stamp, oldest->fnhe_stamp)) { in fnhe_remove_oldest()[all …]