Home
last modified time | relevance | path

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

/linux/include/net/
A Dsock.h1221 struct percpu_counter *sockets_allocated; /* Current number of sockets. */ member
1384 percpu_counter_add_batch(sk->sk_prot->sockets_allocated, -1, in sk_sockets_allocated_dec()
1390 percpu_counter_add_batch(sk->sk_prot->sockets_allocated, 1, in sk_sockets_allocated_inc()
1397 return percpu_counter_read_positive(sk->sk_prot->sockets_allocated); in sk_sockets_allocated_read_positive()
1403 return percpu_counter_sum_positive(prot->sockets_allocated); in proto_sockets_allocated_sum_positive()
/linux/net/ipv6/
A Dtcp_ipv6.c2190 .sockets_allocated = &tcp_sockets_allocated,
/linux/net/ipv4/
A Dtcp_ipv4.c3085 .sockets_allocated = &tcp_sockets_allocated,
/linux/net/mptcp/
A Dprotocol.c3200 .sockets_allocated = &mptcp_sockets_allocated,
/linux/net/core/
A Dsock.c2224 if (newsk->sk_prot->sockets_allocated) in sk_clone_lock()
/linux/net/sctp/
A Dsocket.c9668 .sockets_allocated = &sctp_sockets_allocated,
9711 .sockets_allocated = &sctp_sockets_allocated,

Completed in 41 milliseconds