Home
last modified time | relevance | path

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

/linux-4.1.27/net/ipv4/
Droute.c567 static void fnhe_flush_routes(struct fib_nh_exception *fnhe) in fnhe_flush_routes() argument
571 rt = rcu_dereference(fnhe->fnhe_rth_input); in fnhe_flush_routes()
573 RCU_INIT_POINTER(fnhe->fnhe_rth_input, NULL); in fnhe_flush_routes()
576 rt = rcu_dereference(fnhe->fnhe_rth_output); in fnhe_flush_routes()
578 RCU_INIT_POINTER(fnhe->fnhe_rth_output, NULL); in fnhe_flush_routes()
585 struct fib_nh_exception *fnhe, *oldest; in fnhe_oldest() local
588 for (fnhe = rcu_dereference(oldest->fnhe_next); fnhe; in fnhe_oldest()
589 fnhe = rcu_dereference(fnhe->fnhe_next)) { in fnhe_oldest()
590 if (time_before(fnhe->fnhe_stamp, oldest->fnhe_stamp)) in fnhe_oldest()
591 oldest = fnhe; in fnhe_oldest()
[all …]
Dfib_semantics.c167 struct fib_nh_exception *fnhe; in free_nh_exceptions() local
169 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()