Searched refs:sk_net_refcnt (Results 1 – 6 of 6) sorted by relevance
501 if (!sk->sk_net_refcnt) { in rds_tcp_tune()509 sk->sk_net_refcnt = 1; in rds_tcp_tune()
2161 sk->sk_net_refcnt = kern ? 0 : 1; in sk_alloc()2162 if (likely(sk->sk_net_refcnt)) { in sk_alloc()2221 if (likely(sk->sk_net_refcnt)) in __sk_destruct()2246 if (likely(sk->sk_net_refcnt)) in __sk_free()2249 if (unlikely(sk->sk_net_refcnt && sock_diag_has_destroy_listeners(sk))) in __sk_free()2311 if (likely(newsk->sk_net_refcnt)) { in sk_clone_lock()
1675 sf->sk->sk_net_refcnt = 1; in mptcp_subflow_create_socket()
385 #define sk_net_refcnt __sk_common.skc_net_refcnt macro
822 if (!sk->sk_net_refcnt && sock_net(sk) != &init_net) { in netlink_release()
3333 sk->sk_net_refcnt = 1; in __smc_create()