Searched refs:sockets_allocated (Results 1 – 6 of 6) sorted by relevance
1306 struct percpu_counter *sockets_allocated; /* Current number of sockets. */ member1495 percpu_counter_add_batch(sk->sk_prot->sockets_allocated, -1, in sk_sockets_allocated_dec()1501 percpu_counter_add_batch(sk->sk_prot->sockets_allocated, 1, in sk_sockets_allocated_inc()1508 return percpu_counter_read_positive(sk->sk_prot->sockets_allocated); in sk_sockets_allocated_read_positive()1514 return percpu_counter_sum_positive(prot->sockets_allocated); in proto_sockets_allocated_sum_positive()
2176 .sockets_allocated = &tcp_sockets_allocated,
3076 .sockets_allocated = &tcp_sockets_allocated,
2334 if (newsk->sk_prot->sockets_allocated) in sk_clone_lock()
3613 .sockets_allocated = &mptcp_sockets_allocated,
9660 .sockets_allocated = &sctp_sockets_allocated,9706 .sockets_allocated = &sctp_sockets_allocated,