Searched refs:socks (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/net/core/ |
D | sock_reuseport.c | 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() 178 reuse = kzalloc(struct_size(reuse, socks, max_socks), GFP_ATOMIC); in __reuseport_alloc() 234 reuse->socks[0] = sk; in reuseport_alloc() 260 sk = reuse->socks[reuse->max_socks - reuse->num_closed_socks]; in reuseport_grow() 282 memcpy(more_reuse->socks, reuse->socks, in reuseport_grow() 284 memcpy(more_reuse->socks + in reuseport_grow() [all …]
|
/linux-6.12.1/drivers/block/ |
D | nbd.c | 96 struct nbd_sock **socks; member 418 struct nbd_sock *nsock = config->socks[i]; in sock_shutdown() 494 if (config->socks) { in nbd_xmit_timeout() 497 config->socks[cmd->index]; in nbd_xmit_timeout() 521 struct nbd_sock *nsock = config->socks[cmd->index]; in nbd_xmit_timeout() 603 struct socket *sock = config->socks[index]->sock; in sock_xmit() 626 struct nbd_sock *nsock = config->socks[index]; in nbd_send_cmd() 998 struct nbd_sock *nsock = config->socks[index]; in find_fallback() 1011 !config->socks[fallback]->dead) in find_fallback() 1016 config->socks[nsock->fallback_index]->dead) { in find_fallback() [all …]
|
/linux-6.12.1/net/xfrm/ |
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-6.12.1/tools/testing/selftests/bpf/progs/ |
D | bpf_iter_sockmap.c | 33 __u32 socks = 0; variable 53 socks++; in copy()
|
/linux-6.12.1/kernel/bpf/ |
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-6.12.1/include/net/ |
D | sock_reuseport.h | 29 struct sock *socks[] __counted_by(max_socks);
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | sockmap_basic.c | 315 if (!ASSERT_EQ(skel->bss->socks, num_sockets, "socks")) in test_sockmap_copy()
|