Home
last modified time | relevance | path

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

/net/core/
Dsock_reuseport.c112 right = reuse->num_socks; in reuseport_sock_index()
127 reuse->socks[reuse->num_socks] = sk; in __reuseport_add_sock()
130 reuse->num_socks++; in __reuseport_add_sock()
142 reuse->socks[i] = reuse->socks[reuse->num_socks - 1]; in __reuseport_detach_sock()
143 reuse->num_socks--; in __reuseport_detach_sock()
236 reuse->num_socks = 1; in reuseport_alloc()
275 more_reuse->num_socks = reuse->num_socks; in reuseport_grow()
284 reuse->num_socks * sizeof(struct sock *)); in reuseport_grow()
345 if (old_reuse && old_reuse->num_socks != 1) { in reuseport_add_sock()
350 if (reuse->num_socks + reuse->num_closed_socks == reuse->max_socks) { in reuseport_add_sock()
[all …]