Home
last modified time | relevance | path

Searched refs:hashinfo (Results 1 – 17 of 17) sorted by relevance

/linux/net/ipv4/
H A Dinet_hashtables.c214 struct inet_hashinfo *hashinfo = tcp_get_hashinfo(sk); in __inet_put_port() local
220 bhash = inet_bhashfn(net, inet_sk(sk)->inet_num, hashinfo->bhash_size); in __inet_put_port()
221 head = &hashinfo->bhash[bhash]; in __inet_put_port()
222 head2 = inet_bhashfn_portaddr(hashinfo, sk, net, inet_sk(sk)->inet_num); in __inet_put_port()
236 inet_bind2_bucket_destroy(hashinfo->bind2_bucket_cachep, tb2); in __inet_put_port()
469 struct inet_hashinfo *hashinfo; in __inet_lookup_listener() local
482 hashinfo = net->ipv4.tcp_death_row.hashinfo; in __inet_lookup_listener()
484 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in __inet_lookup_listener()
494 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in __inet_lookup_listener()
536 struct inet_hashinfo *hashinfo; in __inet_lookup_established() local
[all …]
H A Dtcp_diag.c321 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 Dtcp_ipv4.c2554 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
2600 hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
2635 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
2663 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
2716 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
2804 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
3043 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
3073 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
3195 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
3463 .h.hashinfo = NULL,
[all …]
H A Dtcp_minisocks.c384 inet_twsk_hashdance_schedule(tw, sk, net->ipv4.tcp_death_row.hashinfo, timeo); in tcp_time_wait()
420 if (net->ipv4.tcp_death_row.hashinfo->pernet) { in tcp_twsk_purge()
422 inet_twsk_purge(net->ipv4.tcp_death_row.hashinfo); in tcp_twsk_purge()
H A Dsysctl_net_ipv4.c399 struct inet_hashinfo *hinfo = net->ipv4.tcp_death_row.hashinfo; in proc_tcp_ehash_entries()
/linux/include/net/
H A Dinet_hashtables.h182 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 Dsock.h1389 struct inet_hashinfo *hashinfo; member
/linux/net/ipv6/
H A Dinet6_hashtables.c59 struct inet_hashinfo *hashinfo; in __inet6_lookup_established() local
63 hashinfo = net->ipv4.tcp_death_row.hashinfo; in __inet6_lookup_established()
65 slot = hash & hashinfo->ehash_mask; in __inet6_lookup_established()
66 head = &hashinfo->ehash[slot]; in __inet6_lookup_established()
211 struct inet_hashinfo *hashinfo; in inet6_lookup_listener() local
224 hashinfo = net->ipv4.tcp_death_row.hashinfo; in inet6_lookup_listener()
226 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener()
236 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener()
271 struct inet_hashinfo *hinfo = death_row->hashinfo; in __inet6_check_established()
H A Dtcp_ipv6.c2326 .h.hashinfo = NULL,
/linux/tools/testing/selftests/bpf/progs/
H A Dsock_iter_batch.c65 hinfo = net->ipv4.tcp_death_row.hashinfo; in iter_tcp_soreuse()
/linux/net/dccp/
H A Dminisocks.c
H A Dipv4.c
H A Dipv6.c
/linux/include/net/netns/
H A Dipv4.h37 struct inet_hashinfo *hashinfo ____cacheline_aligned_in_smp;
/linux/drivers/net/hyperv/
H A Dhyperv_net.h90 u32 hashinfo; member
H A Drndis_filter.c939 rssp->hashinfo = NDIS_HASH_FUNC_TOEPLITZ | NDIS_HASH_IPV4 | in rndis_set_rss_param_msg()
/linux/net/mptcp/
H A Dprotocol.c4587 mptcp_prot.h.hashinfo = tcp_prot.h.hashinfo; in mptcp_proto_init()