Searched refs:socks (Results 1 – 1 of 1) sorted by relevance
119 if (reuse->socks[left] == sk) in reuseport_sock_index()127 reuse->socks[reuse->num_socks] = sk; in __reuseport_add_sock()142 reuse->socks[i] = reuse->socks[reuse->num_socks - 1]; in __reuseport_detach_sock()152 reuse->socks[reuse->max_socks - reuse->num_closed_socks - 1] = sk; in __reuseport_add_closed_sock()166 reuse->socks[i] = reuse->socks[reuse->max_socks - reuse->num_closed_socks]; in __reuseport_detach_closed_sock()235 reuse->socks[0] = sk; in reuseport_alloc()261 sk = reuse->socks[reuse->max_socks - reuse->num_closed_socks]; in reuseport_grow()283 memcpy(more_reuse->socks, reuse->socks, in reuseport_grow()285 memcpy(more_reuse->socks + in reuseport_grow()287 reuse->socks + (reuse->max_socks - reuse->num_closed_socks), in reuseport_grow()[all …]