Searched refs:fnhe (Results 1 – 2 of 2) sorted by relevance
569 static void fnhe_flush_routes(struct fib_nh_exception *fnhe) in fnhe_flush_routes() argument573 rt = rcu_dereference(fnhe->fnhe_rth_input); in fnhe_flush_routes()575 RCU_INIT_POINTER(fnhe->fnhe_rth_input, NULL); in fnhe_flush_routes()578 rt = rcu_dereference(fnhe->fnhe_rth_output); in fnhe_flush_routes()580 RCU_INIT_POINTER(fnhe->fnhe_rth_output, NULL); in fnhe_flush_routes()587 struct fib_nh_exception *fnhe, *oldest; in fnhe_oldest() local590 for (fnhe = rcu_dereference(oldest->fnhe_next); fnhe; in fnhe_oldest()591 fnhe = rcu_dereference(fnhe->fnhe_next)) { in fnhe_oldest()592 if (time_before(fnhe->fnhe_stamp, oldest->fnhe_stamp)) in fnhe_oldest()593 oldest = fnhe; in fnhe_oldest()[all …]
167 struct fib_nh_exception *fnhe; in free_nh_exceptions() local169 fnhe = rcu_dereference_protected(hash[i].chain, 1); in free_nh_exceptions()170 while (fnhe) { in free_nh_exceptions()173 next = rcu_dereference_protected(fnhe->fnhe_next, 1); in free_nh_exceptions()175 rt_fibinfo_free(&fnhe->fnhe_rth_input); in free_nh_exceptions()176 rt_fibinfo_free(&fnhe->fnhe_rth_output); in free_nh_exceptions()178 kfree(fnhe); in free_nh_exceptions()180 fnhe = next; in free_nh_exceptions()