Searched refs:num_socks (Results 1 – 2 of 2) sorted by relevance
112 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() argument534 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 …]
17 u16 num_socks; /* elements in socks */ member
Completed in 5 milliseconds