Searched refs:num_closed_socks (Results 1 – 3 of 3) sorted by relevance
114 left = reuse->max_socks - reuse->num_closed_socks; in reuseport_sock_index()152 reuse->socks[reuse->max_socks - reuse->num_closed_socks - 1] = sk; in __reuseport_add_closed_sock()154 WRITE_ONCE(reuse->num_closed_socks, reuse->num_closed_socks + 1); in __reuseport_add_closed_sock()166 reuse->socks[i] = reuse->socks[reuse->max_socks - reuse->num_closed_socks]; in __reuseport_detach_closed_sock()168 WRITE_ONCE(reuse->num_closed_socks, reuse->num_closed_socks - 1); in __reuseport_detach_closed_sock()205 if (reuse->num_closed_socks) { in reuseport_alloc()254 if (reuse->num_closed_socks) { in reuseport_grow()261 sk = reuse->socks[reuse->max_socks - reuse->num_closed_socks]; in reuseport_grow()276 more_reuse->num_closed_socks = reuse->num_closed_socks; in reuseport_grow()286 (more_reuse->max_socks - more_reuse->num_closed_socks), in reuseport_grow()[all …]
18 u16 num_closed_socks; /* closed elements in socks */ member
247 reuseport_cb_ok = !reuseport_cb || READ_ONCE(reuseport_cb->num_closed_socks); in inet_csk_bind_conflict()298 reuseport_cb_ok = !reuseport_cb || READ_ONCE(reuseport_cb->num_closed_socks); in inet_bhash2_addr_any_conflict()