Searched refs:socks (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.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 …]
|
| /Linux-v5.10/drivers/block/ |
| D | nbd.c | 92 struct nbd_sock **socks; member 359 struct nbd_sock *nsock = config->socks[i]; in sock_shutdown() 412 if (config->socks) { in nbd_xmit_timeout() 415 config->socks[cmd->index]; in nbd_xmit_timeout() 439 struct nbd_sock *nsock = config->socks[cmd->index]; in nbd_xmit_timeout() 478 struct socket *sock = config->socks[index]->sock; in sock_xmit() 534 struct nbd_sock *nsock = config->socks[index]; in nbd_send_cmd() 794 struct nbd_sock *nsock = config->socks[args->index]; in recv_work() 836 struct nbd_sock *nsock = config->socks[index]; in find_fallback() 849 !config->socks[fallback]->dead) in find_fallback() [all …]
|
| /Linux-v5.10/tools/testing/selftests/bpf/progs/ |
| D | bpf_iter_sockmap.c | 33 __u32 socks = 0; variable 53 socks++; in copy()
|
| /Linux-v5.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()
|
| /Linux-v5.10/include/net/ |
| D | sock_reuseport.h | 27 struct sock *socks[]; /* array of sock pointers */ member
|
| D | sock.h | 1233 atomic_t socks; member 1245 atomic_inc(&sk->sk_prot->socks); in sk_refcnt_debug_inc() 1250 atomic_dec(&sk->sk_prot->socks); in sk_refcnt_debug_dec() 1252 sk->sk_prot->name, sk, atomic_read(&sk->sk_prot->socks)); in sk_refcnt_debug_dec()
|
| /Linux-v5.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()
|