Home
last modified time | relevance | path

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

/include/net/
Dsock.h1266 struct percpu_counter *sockets_allocated; /* Current number of sockets. */ member
1433 percpu_counter_add_batch(sk->sk_prot->sockets_allocated, -1, in sk_sockets_allocated_dec()
1439 percpu_counter_add_batch(sk->sk_prot->sockets_allocated, 1, in sk_sockets_allocated_inc()
1446 return percpu_counter_read_positive(sk->sk_prot->sockets_allocated); in sk_sockets_allocated_read_positive()
1452 return percpu_counter_sum_positive(prot->sockets_allocated); in proto_sockets_allocated_sum_positive()