Home
last modified time | relevance | path

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

/openbmc/linux/net/core/
H A 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()
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()
529 u32 hash, u16 num_socks) in reuseport_select_sock_by_hash() argument
534 i = j = reciprocal_scale(hash, num_socks); in reuseport_select_sock_by_hash()
552 if (i >= num_socks) in reuseport_select_sock_by_hash()
587 socks = READ_ONCE(reuse->num_socks); in reuseport_select_sock()
[all …]
/openbmc/linux/include/net/
H A Dsock_reuseport.h17 u16 num_socks; /* elements in socks */ member