• Home
  • Raw
  • Download

Lines Matching refs:from

356 	struct fib6_info *from;  in ip6_dst_destroy()  local
368 from = xchg((__force struct fib6_info **)&rt->from, NULL); in ip6_dst_destroy()
369 fib6_info_release(from); in ip6_dst_destroy()
399 struct fib6_info *from; in rt6_check_expired() local
401 from = rcu_dereference(rt->from); in rt6_check_expired()
406 } else if (from) { in rt6_check_expired()
408 fib6_check_expired(from); in rt6_check_expired()
1109 static void rt6_set_from(struct rt6_info *rt, struct fib6_info *from) in rt6_set_from() argument
1112 rcu_assign_pointer(rt->from, from); in rt6_set_from()
1113 ip_dst_init_metrics(&rt->dst, from->fib6_metrics); in rt6_set_from()
1426 struct fib6_info *from; in rt6_make_pcpu_route() local
1428 from = xchg((__force struct fib6_info **)&pcpu_rt->from, NULL); in rt6_make_pcpu_route()
1429 fib6_info_release(from); in rt6_make_pcpu_route()
1445 struct fib6_info *from; in rt6_remove_exception() local
1457 from = xchg((__force struct fib6_info **)&rt6_ex->rt6i->from, NULL); in rt6_remove_exception()
1458 fib6_info_release(from); in rt6_remove_exception()
1734 static void fib6_nh_flush_exceptions(struct fib6_nh *nh, struct fib6_info *from) in fib6_nh_flush_exceptions() argument
1748 if (!from) in fib6_nh_flush_exceptions()
1753 if (!from || in fib6_nh_flush_exceptions()
1754 rcu_access_pointer(rt6_ex->rt6i->from) == from) in fib6_nh_flush_exceptions()
1757 WARN_ON_ONCE(!from && bucket->depth); in fib6_nh_flush_exceptions()
1885 struct fib6_info *from; in rt6_remove_exception_rt() local
1887 from = rcu_dereference(rt->from); in rt6_remove_exception_rt()
1888 if (!from || !(rt->rt6i_flags & RTF_CACHE)) in rt6_remove_exception_rt()
1891 if (from->nh) { in rt6_remove_exception_rt()
1894 .plen = from->fib6_src.plen in rt6_remove_exception_rt()
1899 rc = nexthop_for_each_fib6_nh(from->nh, in rt6_remove_exception_rt()
1905 return fib6_nh_remove_exception(from->fib6_nh, in rt6_remove_exception_rt()
1906 from->fib6_src.plen, rt); in rt6_remove_exception_rt()
1960 struct fib6_info *from; in rt6_update_exception_stamp_rt() local
1965 from = rcu_dereference(rt->from); in rt6_update_exception_stamp_rt()
1966 if (!from || !(rt->rt6i_flags & RTF_CACHE)) in rt6_update_exception_stamp_rt()
1969 if (from->nh) { in rt6_update_exception_stamp_rt()
1975 nexthop_for_each_fib6_nh(from->nh, fib6_nh_find_match, &arg); in rt6_update_exception_stamp_rt()
1981 fib6_nh = from->fib6_nh; in rt6_update_exception_stamp_rt()
1983 fib6_nh_update_exception(fib6_nh, from->fib6_src.plen, rt); in rt6_update_exception_stamp_rt()
2706 struct fib6_info *from, in rt6_check() argument
2711 if (!from || !fib6_get_cookie_safe(from, &rt_cookie) || in rt6_check()
2722 struct fib6_info *from, in rt6_dst_from_check() argument
2727 fib6_check(from, cookie)) in rt6_dst_from_check()
2737 struct fib6_info *from; in ip6_dst_check() local
2752 from = rcu_dereference(rt->from); in ip6_dst_check()
2754 if (from && (rt->rt6i_flags & RTF_PCPU || in ip6_dst_check()
2756 dst_ret = rt6_dst_from_check(rt, from, cookie); in ip6_dst_check()
2758 dst_ret = rt6_check(rt, from, cookie); in ip6_dst_check()
2798 struct fib6_info *from; in ip6_link_failure() local
2801 from = rcu_dereference(rt->from); in ip6_link_failure()
2802 if (from) { in ip6_link_failure()
2803 fn = rcu_dereference(from->fib6_node); in ip6_link_failure()
2815 struct fib6_info *from; in rt6_update_expires() local
2818 from = rcu_dereference(rt0->from); in rt6_update_expires()
2819 if (from) in rt6_update_expires()
2820 rt0->dst.expires = from->expires; in rt6_update_expires()
2840 (rt->rt6i_flags & RTF_PCPU || rcu_access_pointer(rt->from)); in rt6_cache_allowed_for_pmtu()
2884 res.f6i = rcu_dereference(rt6->from); in __ip6_rt_update_pmtu()
4221 res.f6i = rcu_dereference(rt->from); in rt6_do_redirect()
6016 struct fib6_info *from; in inet6_rtm_getroute() local
6127 from = rcu_dereference(rt->from); in inet6_rtm_getroute()
6128 if (from) { in inet6_rtm_getroute()
6130 err = rt6_fill_node(net, skb, from, NULL, NULL, NULL, in inet6_rtm_getroute()
6135 err = rt6_fill_node(net, skb, from, dst, &fl6.daddr, in inet6_rtm_getroute()