Home
last modified time | relevance | path

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

/openbmc/linux/net/core/
H A Dsock_reuseport.c114 left = reuse->max_socks - reuse->num_closed_socks; in reuseport_sock_index()
115 right = reuse->max_socks; in reuseport_sock_index()
152 reuse->socks[reuse->max_socks - reuse->num_closed_socks - 1] = sk; in __reuseport_add_closed_sock()
174 static struct sock_reuseport *__reuseport_alloc(unsigned int max_socks) in __reuseport_alloc() argument
177 sizeof(struct sock *) * max_socks; in __reuseport_alloc()
183 reuse->max_socks = max_socks; in __reuseport_alloc()
252 more_socks_size = reuse->max_socks * 2U; in reuseport_grow()
261 sk = reuse->socks[reuse->max_socks - reuse->num_closed_socks]; in reuseport_grow()
286 (more_reuse->max_socks - more_reuse->num_closed_socks), in reuseport_grow()
287 reuse->socks + (reuse->max_socks - reuse->num_closed_socks), in reuseport_grow()
[all …]
/openbmc/linux/include/net/
H A Dsock_reuseport.h16 u16 max_socks; /* length of socks */ member