Searched refs:sockets_allocated (Results 1 – 7 of 7) sorted by relevance
1226 struct percpu_counter *sockets_allocated; /* Current number of sockets. */ member1375 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()
2272 .sockets_allocated = &tcp_sockets_allocated,
2158 .sockets_allocated = &tcp_sockets_allocated,
2525 .sockets_allocated = &mptcp_sockets_allocated,
2811 .sockets_allocated = &tcp_sockets_allocated,
1995 if (newsk->sk_prot->sockets_allocated) in sk_clone_lock()
9421 .sockets_allocated = &sctp_sockets_allocated,9464 .sockets_allocated = &sctp_sockets_allocated,