socks 92 drivers/block/nbd.c struct nbd_sock **socks; socks 357 drivers/block/nbd.c struct nbd_sock *nsock = config->socks[i]; socks 407 drivers/block/nbd.c if (config->socks && config->num_connections > 1) { socks 410 drivers/block/nbd.c config->socks[cmd->index]; socks 463 drivers/block/nbd.c struct socket *sock = config->socks[index]->sock; socks 519 drivers/block/nbd.c struct nbd_sock *nsock = config->socks[index]; socks 780 drivers/block/nbd.c struct nbd_sock *nsock = config->socks[args->index]; socks 820 drivers/block/nbd.c struct nbd_sock *nsock = config->socks[index]; socks 833 drivers/block/nbd.c !config->socks[fallback]->dead) socks 838 drivers/block/nbd.c config->socks[nsock->fallback_index]->dead) { socks 843 drivers/block/nbd.c if (!config->socks[i]->dead) { socks 896 drivers/block/nbd.c nsock = config->socks[index]; socks 1008 drivers/block/nbd.c struct nbd_sock **socks; socks 1029 drivers/block/nbd.c socks = krealloc(config->socks, (config->num_connections + 1) * socks 1031 drivers/block/nbd.c if (!socks) { socks 1036 drivers/block/nbd.c config->socks = socks; socks 1051 drivers/block/nbd.c socks[config->num_connections++] = nsock; socks 1076 drivers/block/nbd.c struct nbd_sock *nsock = config->socks[i]; socks 1156 drivers/block/nbd.c struct nbd_sock *nsock = config->socks[i]; socks 1201 drivers/block/nbd.c sockfd_put(config->socks[i]->sock); socks 1202 drivers/block/nbd.c kfree(config->socks[i]); socks 1204 drivers/block/nbd.c kfree(config->socks); socks 1233 drivers/block/nbd.c if (!config->socks) socks 1280 drivers/block/nbd.c sk_set_memalloc(config->socks[i]->sock->sk); socks 1282 drivers/block/nbd.c config->socks[i]->sock->sk->sk_sndtimeo = socks 1945 drivers/block/nbd.c struct nlattr *socks[NBD_SOCK_MAX+1]; socks 1952 drivers/block/nbd.c ret = nla_parse_nested_deprecated(socks, NBD_SOCK_MAX, socks 1961 drivers/block/nbd.c if (!socks[NBD_SOCK_FD]) socks 1963 drivers/block/nbd.c fd = (int)nla_get_u32(socks[NBD_SOCK_FD]); socks 2128 drivers/block/nbd.c struct nlattr *socks[NBD_SOCK_MAX+1]; socks 2135 drivers/block/nbd.c ret = nla_parse_nested_deprecated(socks, NBD_SOCK_MAX, socks 2144 drivers/block/nbd.c if (!socks[NBD_SOCK_FD]) socks 2146 drivers/block/nbd.c fd = (int)nla_get_u32(socks[NBD_SOCK_FD]); socks 1184 include/net/sock.h atomic_t socks; socks 1196 include/net/sock.h atomic_inc(&sk->sk_prot->socks); socks 1201 include/net/sock.h atomic_dec(&sk->sk_prot->socks); socks 1203 include/net/sock.h sk->sk_prot->name, sk, atomic_read(&sk->sk_prot->socks)); socks 27 include/net/sock_reuseport.h struct sock *socks[0]; /* array of sock pointers */ socks 23 kernel/bpf/reuseport_array.c struct sock __rcu **socks; socks 26 kernel/bpf/reuseport_array.c socks = sk->sk_user_data; socks 27 kernel/bpf/reuseport_array.c if (socks) { socks 35 kernel/bpf/reuseport_array.c RCU_INIT_POINTER(*socks, NULL); socks 85 net/core/sock_reuseport.c reuse->socks[0] = sk; socks 116 net/core/sock_reuseport.c memcpy(more_reuse->socks, reuse->socks, socks 121 net/core/sock_reuseport.c rcu_assign_pointer(reuse->socks[i]->sk_reuseport_cb, socks 180 net/core/sock_reuseport.c reuse->socks[reuse->num_socks] = sk; socks 213 net/core/sock_reuseport.c if (reuse->socks[i] == sk) { socks 214 net/core/sock_reuseport.c reuse->socks[i] = reuse->socks[reuse->num_socks - 1]; socks 225 net/core/sock_reuseport.c static struct sock *run_bpf_filter(struct sock_reuseport *reuse, u16 socks, socks 249 net/core/sock_reuseport.c if (index >= socks) socks 252 net/core/sock_reuseport.c return reuse->socks[index]; socks 273 net/core/sock_reuseport.c u16 socks; socks 283 net/core/sock_reuseport.c socks = READ_ONCE(reuse->num_socks); socks 284 net/core/sock_reuseport.c if (likely(socks)) { socks 294 net/core/sock_reuseport.c sk2 = run_bpf_filter(reuse, socks, prog, skb, hdr_len); socks 301 net/core/sock_reuseport.c i = j = reciprocal_scale(hash, socks); socks 302 net/core/sock_reuseport.c while (reuse->socks[i]->sk_state == TCP_ESTABLISHED) { socks 309 net/core/sock_reuseport.c sk2 = reuse->socks[i];