Home
last modified time | relevance | path

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

/net/ipv4/
Droute.c570 static void fnhe_flush_routes(struct fib_nh_exception *fnhe) in fnhe_flush_routes() argument
574 rt = rcu_dereference(fnhe->fnhe_rth_input); in fnhe_flush_routes()
576 RCU_INIT_POINTER(fnhe->fnhe_rth_input, NULL); in fnhe_flush_routes()
579 rt = rcu_dereference(fnhe->fnhe_rth_output); in fnhe_flush_routes()
581 RCU_INIT_POINTER(fnhe->fnhe_rth_output, NULL); in fnhe_flush_routes()
588 struct fib_nh_exception *fnhe, *oldest; in fnhe_oldest() local
591 for (fnhe = rcu_dereference(oldest->fnhe_next); fnhe; in fnhe_oldest()
592 fnhe = rcu_dereference(fnhe->fnhe_next)) { in fnhe_oldest()
593 if (time_before(fnhe->fnhe_stamp, oldest->fnhe_stamp)) in fnhe_oldest()
594 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()