Home
last modified time | relevance | path

Searched refs:sk_net_refcnt (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/net/rds/
Dtcp.c501 if (!sk->sk_net_refcnt) { in rds_tcp_tune()
509 sk->sk_net_refcnt = 1; in rds_tcp_tune()
/linux-6.6.21/net/core/
Dsock.c2161 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()
/linux-6.6.21/net/mptcp/
Dsubflow.c1675 sf->sk->sk_net_refcnt = 1; in mptcp_subflow_create_socket()
/linux-6.6.21/include/net/
Dsock.h385 #define sk_net_refcnt __sk_common.skc_net_refcnt macro
/linux-6.6.21/net/netlink/
Daf_netlink.c822 if (!sk->sk_net_refcnt && sock_net(sk) != &init_net) { in netlink_release()
/linux-6.6.21/net/smc/
Daf_smc.c3333 sk->sk_net_refcnt = 1; in __smc_create()