Home
last modified time | relevance | path

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

/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.h1394 struct inet_hashinfo *hashinfo; member
/linux/net/ipv6/
H A Dinet6_hashtables.c94 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 Dtcp_ipv6.c2325 .h.hashinfo = NULL,
/linux/net/ipv4/
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.c2481 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
2527 hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
2562 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
2590 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
2643 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
2729 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
2967 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
2997 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
3119 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo;
3395 .h.hashinfo
[all...]
H A Dtcp_minisocks.c383 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 Dinet_connection_sock.c993 struct inet_hashinfo *hashinfo = tcp_get_hashinfo(sk); in reqsk_queue_unlink() local
996 lock = inet_ehash_lockp(hashinfo, req->rsk_hash); in reqsk_queue_unlink()
H A Dsysctl_net_ipv4.c401 struct inet_hashinfo *hinfo = net->ipv4.tcp_death_row.hashinfo; in proc_tcp_ehash_entries()
/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.c4800 mptcp_prot.h.hashinfo = tcp_prot.h.hashinfo; in mptcp_proto_init()