Searched refs:socks (Results 1 – 7 of 7) sorted by relevance
| /linux/net/core/ |
| A D | sock_reuseport.c | 142 reuse->socks[i] = reuse->socks[reuse->num_socks - 1]; in __reuseport_detach_sock() 166 reuse->socks[i] = reuse->socks[reuse->max_socks - reuse->num_closed_socks]; in __reuseport_detach_closed_sock() 234 reuse->socks[0] = sk; in reuseport_alloc() 282 memcpy(more_reuse->socks, reuse->socks, in reuseport_grow() 284 memcpy(more_reuse->socks + in reuseport_grow() 521 if (index >= socks) in run_bpf_filter() 524 return reuse->socks[index]; in run_bpf_filter() 576 u16 socks; in reuseport_select_sock() local 587 if (likely(socks)) { in reuseport_select_sock() 628 u16 socks; in reuseport_migrate_sock() local [all …]
|
| /linux/drivers/block/ |
| A D | nbd.c | 96 struct nbd_sock **socks; member 494 if (config->socks) { in nbd_xmit_timeout() 1174 struct nbd_sock **socks; in nbd_add_socket() local 1210 socks = krealloc(config->socks, (config->num_connections + 1) * in nbd_add_socket() 1212 if (!socks) { in nbd_add_socket() 1218 config->socks = socks; in nbd_add_socket() 1382 kfree(config->socks[i]); in nbd_config_put() 1384 kfree(config->socks); in nbd_config_put() 1405 if (!config->socks) in nbd_start_device() 2131 if (!socks[NBD_SOCK_FD]) in nbd_genl_connect() [all …]
|
| /linux/net/xfrm/ |
| A D | xfrm_nat_keepalive.c | 205 static int nat_keepalive_sk_init(struct sock * __percpu *socks, in nat_keepalive_sk_init() argument 217 *per_cpu_ptr(socks, i) = sk; in nat_keepalive_sk_init() 223 inet_ctl_sock_destroy(*per_cpu_ptr(socks, i)); in nat_keepalive_sk_init() 227 static void nat_keepalive_sk_fini(struct sock * __percpu *socks) in nat_keepalive_sk_fini() argument 232 inet_ctl_sock_destroy(*per_cpu_ptr(socks, i)); in nat_keepalive_sk_fini()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| A D | bpf_iter_sockmap.c | 33 __u32 socks = 0; variable 53 socks++; in copy()
|
| /linux/kernel/bpf/ |
| A D | reuseport_array.c | 24 struct sock __rcu **socks; in bpf_sk_reuseport_detach() local 27 socks = __locked_read_sk_user_data_with_flags(sk, SK_USER_DATA_BPF); in bpf_sk_reuseport_detach() 28 if (socks) { in bpf_sk_reuseport_detach() 36 RCU_INIT_POINTER(*socks, NULL); in bpf_sk_reuseport_detach()
|
| /linux/include/net/ |
| A D | sock_reuseport.h | 29 struct sock *socks[] __counted_by(max_socks);
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | sockmap_basic.c | 315 if (!ASSERT_EQ(skel->bss->socks, num_sockets, "socks")) in test_sockmap_copy()
|
Completed in 20 milliseconds