Home
last modified time | relevance | path

Searched refs:max_socks (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/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()
166 reuse->socks[i] = reuse->socks[reuse->max_socks - reuse->num_closed_socks]; in __reuseport_detach_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 in reuseport_grow()
[all...]
/kernel/linux/linux-5.10/net/core/
H A Dsock_reuseport.c37 static struct sock_reuseport *__reuseport_alloc(unsigned int max_socks) in __reuseport_alloc() argument
40 sizeof(struct sock *) * max_socks; in __reuseport_alloc()
46 reuse->max_socks = max_socks; in __reuseport_alloc()
108 more_socks_size = reuse->max_socks * 2U; in reuseport_grow()
177 if (reuse->num_socks == reuse->max_socks) { in reuseport_add_sock()
/kernel/linux/linux-5.10/include/net/
H A Dsock_reuseport.h16 u16 max_socks; /* length of socks */ member
/kernel/linux/linux-6.6/include/net/
H A Dsock_reuseport.h16 u16 max_socks; /* length of socks */ member

Completed in 2 milliseconds