Home
last modified time | relevance | path

Searched refs:sockets_allocated (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/include/net/
Dsock.h1226 struct percpu_counter *sockets_allocated; /* Current number of sockets. */ member
1375 percpu_counter_dec(sk->sk_prot->sockets_allocated); in sk_sockets_allocated_dec()
1380 percpu_counter_inc(sk->sk_prot->sockets_allocated); in sk_sockets_allocated_inc()
1386 return percpu_counter_read_positive(sk->sk_prot->sockets_allocated); in sk_sockets_allocated_read_positive()
1392 return percpu_counter_sum_positive(prot->sockets_allocated); in proto_sockets_allocated_sum_positive()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dtcp_nip.c2272 .sockets_allocated = &tcp_sockets_allocated,
/kernel/linux/linux-5.10/net/ipv6/
Dtcp_ipv6.c2158 .sockets_allocated = &tcp_sockets_allocated,
/kernel/linux/linux-5.10/net/mptcp/
Dprotocol.c2525 .sockets_allocated = &mptcp_sockets_allocated,
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_ipv4.c2811 .sockets_allocated = &tcp_sockets_allocated,
/kernel/linux/linux-5.10/net/core/
Dsock.c1995 if (newsk->sk_prot->sockets_allocated) in sk_clone_lock()
/kernel/linux/linux-5.10/net/sctp/
Dsocket.c9421 .sockets_allocated = &sctp_sockets_allocated,
9464 .sockets_allocated = &sctp_sockets_allocated,