Searched refs:sk_refcnt (Results 1 – 4 of 4) sorted by relevance
80 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) { in can_skb_set_owner()
97 if (unlikely(!refcount_inc_not_zero(&sk_listener->sk_refcnt))) { in reqsk_alloc()
367 #define sk_refcnt __sk_common.skc_refcnt macro789 refcount_inc(&sk->sk_refcnt); in sock_hold()797 refcount_dec(&sk->sk_refcnt); in __sock_put()806 WARN_ON(refcount_read(&sk->sk_refcnt) == 1); in sk_del_node_init()828 WARN_ON(refcount_read(&sk->sk_refcnt) == 1); in sk_nulls_del_node_init_rcu()2010 if (refcount_dec_and_test(&sk->sk_refcnt)) in sock_put()2464 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) { in skb_set_owner_sk_safe()
447 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet_lookup()