Home
last modified time | relevance | path

Searched refs:sk_refcnt (Results 1 – 4 of 4) sorted by relevance

/include/linux/can/
Dskb.h80 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) { in can_skb_set_owner()
/include/net/
Drequest_sock.h97 if (unlikely(!refcount_inc_not_zero(&sk_listener->sk_refcnt))) { in reqsk_alloc()
Dsock.h367 #define sk_refcnt __sk_common.skc_refcnt macro
789 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()
Dinet_hashtables.h447 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet_lookup()