Searched refs:socks (Results 1 – 5 of 5) sorted by relevance
85 reuse->socks[0] = sk; in reuseport_alloc()116 memcpy(more_reuse->socks, reuse->socks, in reuseport_grow()121 rcu_assign_pointer(reuse->socks[i]->sk_reuseport_cb, in reuseport_grow()180 reuse->socks[reuse->num_socks] = sk; in reuseport_add_sock()213 if (reuse->socks[i] == sk) { in reuseport_detach_sock()214 reuse->socks[i] = reuse->socks[reuse->num_socks - 1]; in reuseport_detach_sock()225 static struct sock *run_bpf_filter(struct sock_reuseport *reuse, u16 socks, in run_bpf_filter() argument249 if (index >= socks) in run_bpf_filter()252 return reuse->socks[index]; in run_bpf_filter()273 u16 socks; in reuseport_select_sock() local[all …]
92 struct nbd_sock **socks; member357 struct nbd_sock *nsock = config->socks[i]; in sock_shutdown()407 if (config->socks && config->num_connections > 1) { in nbd_xmit_timeout()410 config->socks[cmd->index]; in nbd_xmit_timeout()463 struct socket *sock = config->socks[index]->sock; in sock_xmit()519 struct nbd_sock *nsock = config->socks[index]; in nbd_send_cmd()780 struct nbd_sock *nsock = config->socks[args->index]; in recv_work()820 struct nbd_sock *nsock = config->socks[index]; in find_fallback()833 !config->socks[fallback]->dead) in find_fallback()838 config->socks[nsock->fallback_index]->dead) { in find_fallback()[all …]
23 struct sock __rcu **socks; in bpf_sk_reuseport_detach() local26 socks = sk->sk_user_data; in bpf_sk_reuseport_detach()27 if (socks) { in bpf_sk_reuseport_detach()35 RCU_INIT_POINTER(*socks, NULL); in bpf_sk_reuseport_detach()
27 struct sock *socks[0]; /* array of sock pointers */ member
1179 atomic_t socks; member1191 atomic_inc(&sk->sk_prot->socks); in sk_refcnt_debug_inc()1196 atomic_dec(&sk->sk_prot->socks); in sk_refcnt_debug_dec()1198 sk->sk_prot->name, sk, atomic_read(&sk->sk_prot->socks)); in sk_refcnt_debug_dec()