Searched refs:socks (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/net/core/ |
D | sock_reuseport.c | 75 reuse->socks[0] = sk; in reuseport_alloc() 106 memcpy(more_reuse->socks, reuse->socks, in reuseport_grow() 111 rcu_assign_pointer(reuse->socks[i]->sk_reuseport_cb, in reuseport_grow() 169 reuse->socks[reuse->num_socks] = sk; in reuseport_add_sock() 205 if (reuse->socks[i] == sk) { in reuseport_detach_sock() 206 reuse->socks[i] = reuse->socks[reuse->num_socks - 1]; in reuseport_detach_sock() 217 static struct sock *run_bpf_filter(struct sock_reuseport *reuse, u16 socks, in run_bpf_filter() argument 241 if (index >= socks) in run_bpf_filter() 244 return reuse->socks[index]; in run_bpf_filter() 265 u16 socks; in reuseport_select_sock() local [all …]
|
/kernel/linux/linux-5.10/drivers/block/ |
D | nbd.c | 91 struct nbd_sock **socks; member 364 struct nbd_sock *nsock = config->socks[i]; in sock_shutdown() 422 if (config->socks) { in nbd_xmit_timeout() 425 config->socks[cmd->index]; in nbd_xmit_timeout() 449 struct nbd_sock *nsock = config->socks[cmd->index]; in nbd_xmit_timeout() 489 struct socket *sock = config->socks[index]->sock; in sock_xmit() 545 struct nbd_sock *nsock = config->socks[index]; in nbd_send_cmd() 852 nsock = config->socks[args->index]; in recv_work() 895 struct nbd_sock *nsock = config->socks[index]; in find_fallback() 908 !config->socks[fallback]->dead) in find_fallback() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | bpf_iter_sockmap.c | 33 __u32 socks = 0; variable 53 socks++; in copy()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | reuseport_array.c | 28 struct sock __rcu **socks; in bpf_sk_reuseport_detach() local 30 socks = (void *)(sk_user_data & SK_USER_DATA_PTRMASK); in bpf_sk_reuseport_detach() 38 RCU_INIT_POINTER(*socks, NULL); in bpf_sk_reuseport_detach()
|
/kernel/linux/linux-5.10/include/net/ |
D | sock_reuseport.h | 27 struct sock *socks[]; /* array of sock pointers */ member
|
D | sock.h | 1243 atomic_t socks; member 1255 atomic_inc(&sk->sk_prot->socks); in sk_refcnt_debug_inc() 1260 atomic_dec(&sk->sk_prot->socks); in sk_refcnt_debug_dec() 1262 sk->sk_prot->name, sk, atomic_read(&sk->sk_prot->socks)); in sk_refcnt_debug_dec()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | sockmap_basic.c | 264 if (CHECK(skel->bss->socks != num_sockets, "socks", "got %u expected %u\n", in test_sockmap_copy() 265 skel->bss->socks, num_sockets)) in test_sockmap_copy()
|