Home
last modified time | relevance | path

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

/Linux-v4.19/net/core/
Dsock_reuseport.c40 static struct sock_reuseport *__reuseport_alloc(unsigned int max_socks) in __reuseport_alloc() argument
43 sizeof(struct sock *) * max_socks; in __reuseport_alloc()
49 reuse->max_socks = max_socks; in __reuseport_alloc()
102 more_socks_size = reuse->max_socks * 2U; in reuseport_grow()
110 more_reuse->max_socks = more_socks_size; in reuseport_grow()
170 if (reuse->num_socks == reuse->max_socks) { in reuseport_add_sock()
/Linux-v4.19/include/net/
Dsock_reuseport.h16 u16 max_socks; /* length of socks */ member