Searched refs:socks (Results 1 – 7 of 7) sorted by relevance
/linux/net/core/ |
A D | sock_reuseport.c | 61 reuse->socks[i] = reuse->socks[reuse->num_socks - 1]; in __reuseport_detach_sock() 83 reuse->socks[i] = reuse->socks[reuse->max_socks - reuse->num_closed_socks]; in __reuseport_detach_closed_sock() 151 reuse->socks[0] = sk; in reuseport_alloc() 197 memcpy(more_reuse->socks, reuse->socks, in reuseport_grow() 199 memcpy(more_reuse->socks + in reuseport_grow() 436 if (index >= socks) in run_bpf_filter() 456 return reuse->socks[i]; in reuseport_select_sock_by_hash() 477 u16 socks; in reuseport_select_sock() local 488 if (likely(socks)) { in reuseport_select_sock() 529 u16 socks; in reuseport_migrate_sock() local [all …]
|
/linux/drivers/block/ |
A D | nbd.c | 93 struct nbd_sock **socks; member 431 if (config->socks) { in nbd_xmit_timeout() 1097 struct nbd_sock **socks; in nbd_add_socket() local 1130 socks = krealloc(config->socks, (config->num_connections + 1) * in nbd_add_socket() 1132 if (!socks) { in nbd_add_socket() 1138 config->socks = socks; in nbd_add_socket() 1312 kfree(config->socks[i]); in nbd_config_put() 1314 kfree(config->socks); in nbd_config_put() 1339 if (!config->socks) in nbd_start_device() 2041 if (!socks[NBD_SOCK_FD]) in nbd_genl_connect() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | bpf_iter_sockmap.c | 33 __u32 socks = 0; variable 53 socks++; in copy()
|
/linux/kernel/bpf/ |
A 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/include/net/ |
A D | sock_reuseport.h | 28 struct sock *socks[]; /* array of sock pointers */ member
|
A D | sock.h | 1264 atomic_t socks; member 1276 atomic_inc(&sk->sk_prot->socks); in sk_refcnt_debug_inc() 1281 atomic_dec(&sk->sk_prot->socks); in sk_refcnt_debug_dec() 1283 sk->sk_prot->name, sk, atomic_read(&sk->sk_prot->socks)); in sk_refcnt_debug_dec()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | sockmap_basic.c | 266 if (CHECK(skel->bss->socks != num_sockets, "socks", "got %u expected %u\n", in test_sockmap_copy() 267 skel->bss->socks, num_sockets)) in test_sockmap_copy()
|
Completed in 23 milliseconds