Home
last modified time | relevance | path

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

/openbmc/linux/include/net/
H A Dsock.h1327 struct percpu_counter *sockets_allocated; /* Current number of sockets. */ member
1499 percpu_counter_add_batch(sk->sk_prot->sockets_allocated, -1, in sk_sockets_allocated_dec()
1505 percpu_counter_add_batch(sk->sk_prot->sockets_allocated, 1, in sk_sockets_allocated_inc()
1512 return percpu_counter_read_positive(sk->sk_prot->sockets_allocated); in sk_sockets_allocated_read_positive()
1518 return percpu_counter_sum_positive(prot->sockets_allocated); in proto_sockets_allocated_sum_positive()
/openbmc/linux/net/ipv6/
H A Dtcp_ipv6.c2164 .sockets_allocated = &tcp_sockets_allocated,
/openbmc/linux/net/core/
H A Dsock.c2401 if (newsk->sk_prot->sockets_allocated) in sk_clone_lock()
/openbmc/linux/net/ipv4/
H A Dtcp_ipv4.c3152 .sockets_allocated = &tcp_sockets_allocated,
/openbmc/linux/net/sctp/
H A Dsocket.c9705 .sockets_allocated = &sctp_sockets_allocated,
9762 .sockets_allocated = &sctp_sockets_allocated,
/openbmc/linux/net/mptcp/
H A Dprotocol.c3810 .sockets_allocated = &mptcp_sockets_allocated,