Searched refs:fnhe (Results 1 – 2 of 2) sorted by relevance
580 static void fnhe_flush_routes(struct fib_nh_exception *fnhe) in fnhe_flush_routes() argument584 rt = rcu_dereference(fnhe->fnhe_rth_input); in fnhe_flush_routes()586 RCU_INIT_POINTER(fnhe->fnhe_rth_input, NULL); in fnhe_flush_routes()590 rt = rcu_dereference(fnhe->fnhe_rth_output); in fnhe_flush_routes()592 RCU_INIT_POINTER(fnhe->fnhe_rth_output, NULL); in fnhe_flush_routes()600 struct fib_nh_exception *fnhe, *oldest; in fnhe_oldest() local603 for (fnhe = rcu_dereference(oldest->fnhe_next); fnhe; in fnhe_oldest()604 fnhe = rcu_dereference(fnhe->fnhe_next)) { in fnhe_oldest()605 if (time_before(fnhe->fnhe_stamp, oldest->fnhe_stamp)) in fnhe_oldest()606 oldest = fnhe; in fnhe_oldest()[all …]
169 struct fib_nh_exception *fnhe; in free_nh_exceptions() local171 fnhe = rcu_dereference_protected(hash[i].chain, 1); in free_nh_exceptions()172 while (fnhe) { in free_nh_exceptions()175 next = rcu_dereference_protected(fnhe->fnhe_next, 1); in free_nh_exceptions()177 rt_fibinfo_free(&fnhe->fnhe_rth_input); in free_nh_exceptions()178 rt_fibinfo_free(&fnhe->fnhe_rth_output); in free_nh_exceptions()180 kfree(fnhe); in free_nh_exceptions()182 fnhe = next; in free_nh_exceptions()1493 struct fib_nh_exception *fnhe; in nh_update_mtu() local1495 for (fnhe = rcu_dereference_protected(bucket[i].chain, 1); in nh_update_mtu()[all …]