Searched refs:socks (Results 1 – 7 of 7) sorted by relevance
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()235 reuse->socks[0] = sk; in reuseport_alloc()261 sk = reuse->socks[reuse->max_socks - reuse->num_closed_socks]; in reuseport_grow()283 memcpy(more_reuse->socks, reuse->socks, in reuseport_grow()285 memcpy(more_reuse->socks + in reuseport_grow()287 reuse->socks + (reuse->max_socks - reuse->num_closed_socks), in reuseport_grow()[all …]
95 struct nbd_sock **socks; member372 struct nbd_sock *nsock = config->socks[i]; in sock_shutdown()430 if (config->socks) { in nbd_xmit_timeout()433 config->socks[cmd->index]; in nbd_xmit_timeout()457 struct nbd_sock *nsock = config->socks[cmd->index]; in nbd_xmit_timeout()498 struct socket *sock = config->socks[index]->sock; in sock_xmit()554 struct nbd_sock *nsock = config->socks[index]; in nbd_send_cmd()871 nsock = config->socks[args->index]; in recv_work()914 struct nbd_sock *nsock = config->socks[index]; in find_fallback()927 !config->socks[fallback]->dead) in find_fallback()[all …]
33 __u32 socks = 0; variable53 socks++; in copy()
24 struct sock __rcu **socks; in bpf_sk_reuseport_detach() local27 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()
29 struct sock *socks[]; /* array of sock pointers */ member
1349 atomic_t socks; member1361 atomic_inc(&sk->sk_prot->socks); in sk_refcnt_debug_inc()1366 atomic_dec(&sk->sk_prot->socks); in sk_refcnt_debug_dec()1368 sk->sk_prot->name, sk, atomic_read(&sk->sk_prot->socks)); in sk_refcnt_debug_dec()
251 if (!ASSERT_EQ(skel->bss->socks, num_sockets, "socks")) in test_sockmap_copy()