| /linux/net/ipv4/ |
| H A D | inet_hashtables.c | 219 struct inet_hashinfo *hashinfo = tcp_get_hashinfo(sk); in __inet_put_port() local 225 bhash = inet_bhashfn(net, inet_sk(sk)->inet_num, hashinfo->bhash_size); in __inet_put_port() 226 head = &hashinfo->bhash[bhash]; in __inet_put_port() 227 head2 = inet_bhashfn_portaddr(hashinfo, sk, net, inet_sk(sk)->inet_num); in __inet_put_port() 241 inet_bind2_bucket_destroy(hashinfo->bind2_bucket_cachep, tb2); in __inet_put_port() 472 struct inet_hashinfo *hashinfo; in __inet_lookup_listener() 485 hashinfo = net->ipv4.tcp_death_row.hashinfo; in __inet_lookup_listener() 487 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in __inet_lookup_listener() 497 ilb2 = inet_lhash2_bucket(hashinfo, hash in __inet_lookup_listener() 474 struct inet_hashinfo *hashinfo; __inet_lookup_listener() local 541 struct inet_hashinfo *hashinfo; __inet_lookup_established() local 712 struct inet_hashinfo *hashinfo = tcp_get_hashinfo(sk); inet_ehash_insert() local 787 struct inet_hashinfo *hashinfo = tcp_get_hashinfo(sk); inet_hash() local 831 struct inet_hashinfo *hashinfo = tcp_get_hashinfo(sk); inet_unhash() local 1311 inet_ehash_locks_alloc(struct inet_hashinfo * hashinfo) inet_ehash_locks_alloc() argument 1350 inet_pernet_hashinfo_alloc(struct inet_hashinfo * hashinfo,unsigned int ehash_entries) inet_pernet_hashinfo_alloc() argument 1385 inet_pernet_hashinfo_free(struct inet_hashinfo * hashinfo) inet_pernet_hashinfo_free() argument [all...] |
| H A D | tcp_diag.c | 321 struct inet_hashinfo *hashinfo; in tcp_diag_dump() local 325 hashinfo = net->ipv4.tcp_death_row.hashinfo; in tcp_diag_dump() 335 for (i = s_i; i <= hashinfo->lhash2_mask; i++) { in tcp_diag_dump() 340 ilb = &hashinfo->lhash2[i]; in tcp_diag_dump() 398 for (i = s_i; i < hashinfo->bhash_size; i++) { in tcp_diag_dump() 408 ibb = &hashinfo->bhash2[i]; in tcp_diag_dump() 480 for (i = s_i; i <= hashinfo->ehash_mask; i++) { in tcp_diag_dump() 481 struct inet_ehash_bucket *head = &hashinfo->ehash[i]; in tcp_diag_dump() 482 spinlock_t *lock = inet_ehash_lockp(hashinfo, i); in tcp_diag_dump()
|
| H A D | tcp_ipv4.c | 2476 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; 2522 hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; 2557 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; 2585 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; 2638 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; 2724 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; 2962 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; 2992 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; 3114 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; 3382 .h.hashinfo [all...] |
| H A D | tcp_minisocks.c | 383 inet_twsk_hashdance_schedule(tw, sk, net->ipv4.tcp_death_row.hashinfo, timeo); in tcp_time_wait() 418 if (net->ipv4.tcp_death_row.hashinfo->pernet) { in tcp_twsk_purge() 420 inet_twsk_purge(net->ipv4.tcp_death_row.hashinfo); in tcp_twsk_purge()
|
| H A D | inet_connection_sock.c | 981 struct inet_hashinfo *hashinfo = tcp_get_hashinfo(sk); in reqsk_queue_unlink() 984 lock = inet_ehash_lockp(hashinfo, req->rsk_hash); in reqsk_queue_unlink() local
|
| H A D | sysctl_net_ipv4.c | 399 struct inet_hashinfo *hinfo = net->ipv4.tcp_death_row.hashinfo; in proc_tcp_ehash_entries()
|
| /linux/include/net/ |
| H A D | inet_hashtables.h | 182 return sock_net(sk)->ipv4.tcp_death_row.hashinfo; in tcp_get_hashinfo() 192 struct inet_hashinfo *hashinfo, in inet_ehash_bucket() argument 195 return &hashinfo->ehash[hash & hashinfo->ehash_mask]; in inet_ehash_bucket() 199 struct inet_hashinfo *hashinfo, in inet_ehash_lockp() argument 202 return &hashinfo->ehash_locks[hash & hashinfo->ehash_locks_mask]; in inet_ehash_lockp() 205 int inet_ehash_locks_alloc(struct inet_hashinfo *hashinfo); 207 static inline void inet_ehash_locks_free(struct inet_hashinfo *hashinfo) in inet_ehash_locks_free() argument 209 kvfree(hashinfo->ehash_locks); in inet_ehash_locks_free() 210 hashinfo->ehash_locks = NULL; in inet_ehash_locks_free() 213 struct inet_hashinfo *inet_pernet_hashinfo_alloc(struct inet_hashinfo *hashinfo, [all …]
|
| H A D | sock.h | 1394 struct inet_hashinfo *hashinfo; member
|
| /linux/net/ipv6/ |
| H A D | inet6_hashtables.c | 94 struct inet_hashinfo *hashinfo; in __inet6_lookup_established() local 98 hashinfo = net->ipv4.tcp_death_row.hashinfo; in __inet6_lookup_established() 100 slot = hash & hashinfo->ehash_mask; in __inet6_lookup_established() 101 head = &hashinfo->ehash[slot]; in __inet6_lookup_established() 246 struct inet_hashinfo *hashinfo; in inet6_lookup_listener() local 259 hashinfo = net->ipv4.tcp_death_row.hashinfo; in inet6_lookup_listener() 261 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener() 271 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener() 306 struct inet_hashinfo *hinfo = death_row->hashinfo; in __inet6_check_established()
|
| H A D | tcp_ipv6.c | 2320 .h.hashinfo = NULL,
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | sock_iter_batch.c | 65 hinfo = net->ipv4.tcp_death_row.hashinfo; in iter_tcp_soreuse()
|
| /linux/net/dccp/ |
| H A D | minisocks.c | |
| H A D | ipv4.c | |
| H A D | ipv6.c | |
| /linux/include/net/netns/ |
| H A D | ipv4.h | 37 struct inet_hashinfo *hashinfo ____cacheline_aligned_in_smp;
|
| /linux/drivers/net/hyperv/ |
| H A D | hyperv_net.h | 90 u32 hashinfo; member
|
| H A D | rndis_filter.c | 939 rssp->hashinfo = NDIS_HASH_FUNC_TOEPLITZ | NDIS_HASH_IPV4 | in rndis_set_rss_param_msg()
|
| /linux/net/mptcp/ |
| H A D | protocol.c | 4640 mptcp_prot.h.hashinfo = tcp_prot.h.hashinfo; in mptcp_proto_init()
|