Home
last modified time | relevance | path

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

/linux/include/net/
H A Dsock.h1362 struct percpu_counter *sockets_allocated; /* Current number of sockets. */ member
1454 percpu_counter_add_batch(sk->sk_prot->sockets_allocated, -1, in sk_sockets_allocated_dec()
1460 percpu_counter_add_batch(sk->sk_prot->sockets_allocated, 1, in sk_sockets_allocated_inc()
1467 return percpu_counter_read_positive(sk->sk_prot->sockets_allocated); in sk_sockets_allocated_read_positive()
1473 return percpu_counter_sum_positive(prot->sockets_allocated); in proto_sockets_allocated_sum_positive()
/linux/net/ipv6/
H A Dtcp_ipv6.c2282 .sockets_allocated = &tcp_sockets_allocated,
/linux/net/ipv4/
H A Dtcp_ipv4.c3368 .sockets_allocated = &tcp_sockets_allocated,
/linux/net/sctp/
H A Dsocket.c4858 /* sk_clone() sets refcnt to 2 and increments sockets_allocated */ in sctp_clone_sock()
9662 .sockets_allocated = &sctp_sockets_allocated,
9718 .sockets_allocated = &sctp_sockets_allocated,
/linux/net/mptcp/
H A Dprotocol.c4061 .sockets_allocated = &mptcp_sockets_allocated,