Lines Matching refs:fnhe
174 struct fib_nh_exception *fnhe; in free_nh_exceptions() local
176 fnhe = rcu_dereference_protected(hash[i].chain, 1); in free_nh_exceptions()
177 while (fnhe) { in free_nh_exceptions()
180 next = rcu_dereference_protected(fnhe->fnhe_next, 1); in free_nh_exceptions()
182 rt_fibinfo_free(&fnhe->fnhe_rth_input); in free_nh_exceptions()
183 rt_fibinfo_free(&fnhe->fnhe_rth_output); in free_nh_exceptions()
185 kfree(fnhe); in free_nh_exceptions()
187 fnhe = next; in free_nh_exceptions()
1940 struct fib_nh_exception *fnhe; in fib_nhc_update_mtu() local
1942 for (fnhe = rcu_dereference_protected(bucket[i].chain, 1); in fib_nhc_update_mtu()
1943 fnhe; in fib_nhc_update_mtu()
1944 fnhe = rcu_dereference_protected(fnhe->fnhe_next, 1)) { in fib_nhc_update_mtu()
1945 if (fnhe->fnhe_mtu_locked) { in fib_nhc_update_mtu()
1946 if (new <= fnhe->fnhe_pmtu) { in fib_nhc_update_mtu()
1947 fnhe->fnhe_pmtu = new; in fib_nhc_update_mtu()
1948 fnhe->fnhe_mtu_locked = false; in fib_nhc_update_mtu()
1950 } else if (new < fnhe->fnhe_pmtu || in fib_nhc_update_mtu()
1951 orig == fnhe->fnhe_pmtu) { in fib_nhc_update_mtu()
1952 fnhe->fnhe_pmtu = new; in fib_nhc_update_mtu()