Home
last modified time | relevance | path

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

/linux/include/net/
H A Dsock.h1349 struct percpu_counter *sockets_allocated; /* Current number of sockets. */ member
1441 percpu_counter_add_batch(sk->sk_prot->sockets_allocated, -1, in sk_sockets_allocated_dec()
1447 percpu_counter_add_batch(sk->sk_prot->sockets_allocated, 1, in sk_sockets_allocated_inc()
1454 return percpu_counter_read_positive(sk->sk_prot->sockets_allocated); in sk_sockets_allocated_read_positive()
1460 return percpu_counter_sum_positive(prot->sockets_allocated); in proto_sockets_allocated_sum_positive()
/linux/net/ipv6/
H A Dtcp_ipv6.c2323 .sockets_allocated = &tcp_sockets_allocated,
/linux/net/core/
H A Dsock.c2588 if (newsk->sk_prot->sockets_allocated)
/linux/net/mptcp/
H A Dprotocol.c4028 .sockets_allocated = &mptcp_sockets_allocated,