Lines Matching refs:dst
66 #include <net/dst.h>
996 /* dont let skb dst not refcounted, we are going to leave rcu lock */
2011 struct dst_entry *dst;
2014 dst = rcu_dereference(sk->sk_dst_cache);
2015 if (dst && !atomic_inc_not_zero(&dst->__refcnt))
2016 dst = NULL;
2018 return dst;
2023 struct dst_entry *dst = __sk_dst_get(sk);
2025 if (dst && dst->ops->negative_advice)
2026 dst->ops->negative_advice(sk, dst);
2036 __sk_dst_set(struct sock *sk, struct dst_entry *dst)
2044 rcu_assign_pointer(sk->sk_dst_cache, dst);
2049 sk_dst_set(struct sock *sk, struct dst_entry *dst)
2055 old_dst = xchg((__force struct dst_entry **)&sk->sk_dst_cache, dst);
2102 void sk_setup_caps(struct sock *sk, struct dst_entry *dst);