Searched refs:sk_refcnt (Results 1 – 3 of 3) sorted by relevance
80 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) { in can_skb_set_owner()
359 #define sk_refcnt __sk_common.skc_refcnt macro806 refcount_inc(&sk->sk_refcnt); in sock_hold()814 refcount_dec(&sk->sk_refcnt); in __sock_put()823 WARN_ON(refcount_read(&sk->sk_refcnt) == 1); in sk_del_node_init()845 WARN_ON(refcount_read(&sk->sk_refcnt) == 1); in sk_nulls_del_node_init_rcu()1817 if (refcount_inc_not_zero(&sk->sk_refcnt)) { in skb_set_owner_edemux()1959 if (refcount_dec_and_test(&sk->sk_refcnt)) in sock_put()2406 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) { in skb_set_owner_sk_safe()
431 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet_lookup()
Completed in 20 milliseconds