hashinfo 87 drivers/net/hyperv/hyperv_net.h u32 hashinfo; hashinfo 798 drivers/net/hyperv/rndis_filter.c rssp->hashinfo = NDIS_HASH_FUNC_TOEPLITZ | NDIS_HASH_IPV4 | hashinfo 48 include/linux/inet_diag.h int inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo, hashinfo 53 include/linux/inet_diag.h struct inet_hashinfo *hashinfo, hashinfo 44 include/net/inet6_hashtables.h struct inet_hashinfo *hashinfo, hashinfo 52 include/net/inet6_hashtables.h struct inet_hashinfo *hashinfo, hashinfo 61 include/net/inet6_hashtables.h struct inet_hashinfo *hashinfo, hashinfo 70 include/net/inet6_hashtables.h struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr, hashinfo 77 include/net/inet6_hashtables.h return inet6_lookup_listener(net, hashinfo, skb, doff, saddr, sport, hashinfo 81 include/net/inet6_hashtables.h static inline struct sock *__inet6_lookup_skb(struct inet_hashinfo *hashinfo, hashinfo 94 include/net/inet6_hashtables.h return __inet6_lookup(dev_net(skb_dst(skb)->dev), hashinfo, skb, hashinfo 100 include/net/inet6_hashtables.h struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, hashinfo 173 include/net/inet_hashtables.h struct inet_hashinfo *hashinfo, hashinfo 176 include/net/inet_hashtables.h return &hashinfo->ehash[hash & hashinfo->ehash_mask]; hashinfo 180 include/net/inet_hashtables.h struct inet_hashinfo *hashinfo, hashinfo 183 include/net/inet_hashtables.h return &hashinfo->ehash_locks[hash & hashinfo->ehash_locks_mask]; hashinfo 186 include/net/inet_hashtables.h int inet_ehash_locks_alloc(struct inet_hashinfo *hashinfo); hashinfo 194 include/net/inet_hashtables.h static inline void inet_ehash_locks_free(struct inet_hashinfo *hashinfo) hashinfo 196 include/net/inet_hashtables.h kvfree(hashinfo->ehash_locks); hashinfo 197 include/net/inet_hashtables.h hashinfo->ehash_locks = NULL; hashinfo 257 include/net/inet_hashtables.h struct inet_hashinfo *hashinfo, hashinfo 265 include/net/inet_hashtables.h struct inet_hashinfo *hashinfo, hashinfo 270 include/net/inet_hashtables.h return __inet_lookup_listener(net, hashinfo, skb, doff, saddr, sport, hashinfo 326 include/net/inet_hashtables.h struct inet_hashinfo *hashinfo, hashinfo 332 include/net/inet_hashtables.h inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, hashinfo 337 include/net/inet_hashtables.h return __inet_lookup_established(net, hashinfo, saddr, sport, daddr, hashinfo 342 include/net/inet_hashtables.h struct inet_hashinfo *hashinfo, hashinfo 352 include/net/inet_hashtables.h sk = __inet_lookup_established(net, hashinfo, saddr, sport, hashinfo 358 include/net/inet_hashtables.h return __inet_lookup_listener(net, hashinfo, skb, doff, saddr, hashinfo 363 include/net/inet_hashtables.h struct inet_hashinfo *hashinfo, hashinfo 372 include/net/inet_hashtables.h sk = __inet_lookup(net, hashinfo, skb, doff, saddr, sport, daddr, hashinfo 380 include/net/inet_hashtables.h static inline struct sock *__inet_lookup_skb(struct inet_hashinfo *hashinfo, hashinfo 395 include/net/inet_hashtables.h return __inet_lookup(dev_net(skb_dst(skb)->dev), hashinfo, skb, hashinfo 89 include/net/inet_timewait_sock.h struct inet_hashinfo *hashinfo); hashinfo 96 include/net/inet_timewait_sock.h struct inet_hashinfo *hashinfo); hashinfo 113 include/net/inet_timewait_sock.h void inet_twsk_purge(struct inet_hashinfo *hashinfo, int family); hashinfo 37 include/net/netns/ipv4.h struct inet_hashinfo *hashinfo ____cacheline_aligned_in_smp; hashinfo 1172 include/net/sock.h struct inet_hashinfo *hashinfo; hashinfo 963 net/dccp/ipv4.c .h.hashinfo = &dccp_hashinfo, hashinfo 1051 net/dccp/ipv6.c .h.hashinfo = &dccp_hashinfo, hashinfo 26 net/dccp/minisocks.c .hashinfo = &dccp_hashinfo, hashinfo 180 net/ipv4/inet_connection_sock.c struct inet_hashinfo *hinfo = sk->sk_prot->h.hashinfo; hashinfo 294 net/ipv4/inet_connection_sock.c struct inet_hashinfo *hinfo = sk->sk_prot->h.hashinfo; hashinfo 679 net/ipv4/inet_connection_sock.c struct inet_hashinfo *hashinfo = req_to_sk(req)->sk_prot->h.hashinfo; hashinfo 683 net/ipv4/inet_connection_sock.c spinlock_t *lock = inet_ehash_lockp(hashinfo, req->rsk_hash); hashinfo 417 net/ipv4/inet_diag.c struct inet_hashinfo *hashinfo, hashinfo 424 net/ipv4/inet_diag.c sk = inet_lookup(net, hashinfo, NULL, 0, req->id.idiag_dst[0], hashinfo 431 net/ipv4/inet_diag.c sk = inet_lookup(net, hashinfo, NULL, 0, req->id.idiag_dst[3], hashinfo 435 net/ipv4/inet_diag.c sk = inet6_lookup(net, hashinfo, NULL, 0, hashinfo 460 net/ipv4/inet_diag.c int inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo, hashinfo 471 net/ipv4/inet_diag.c sk = inet_diag_find_one_icsk(net, hashinfo, req); hashinfo 892 net/ipv4/inet_diag.c void inet_diag_dump_icsk(struct inet_hashinfo *hashinfo, struct sk_buff *skb, hashinfo 916 net/ipv4/inet_diag.c ilb = &hashinfo->listening_hash[i]; hashinfo 959 net/ipv4/inet_diag.c for (i = s_i; i <= hashinfo->ehash_mask; i++) { hashinfo 960 net/ipv4/inet_diag.c struct inet_ehash_bucket *head = &hashinfo->ehash[i]; hashinfo 961 net/ipv4/inet_diag.c spinlock_t *lock = inet_ehash_lockp(hashinfo, i); hashinfo 105 net/ipv4/inet_hashtables.c struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; hashinfo 107 net/ipv4/inet_hashtables.c hashinfo->bhash_size); hashinfo 108 net/ipv4/inet_hashtables.c struct inet_bind_hashbucket *head = &hashinfo->bhash[bhash]; hashinfo 116 net/ipv4/inet_hashtables.c inet_bind_bucket_destroy(hashinfo->bind_bucket_cachep, tb); hashinfo 130 net/ipv4/inet_hashtables.c struct inet_hashinfo *table = sk->sk_prot->h.hashinfo; hashinfo 292 net/ipv4/inet_hashtables.c struct inet_hashinfo *hashinfo, hashinfo 303 net/ipv4/inet_hashtables.c ilb2 = inet_lhash2_bucket(hashinfo, hash2); hashinfo 313 net/ipv4/inet_hashtables.c ilb2 = inet_lhash2_bucket(hashinfo, hash2); hashinfo 347 net/ipv4/inet_hashtables.c struct inet_hashinfo *hashinfo, hashinfo 360 net/ipv4/inet_hashtables.c unsigned int slot = hash & hashinfo->ehash_mask; hashinfo 361 net/ipv4/inet_hashtables.c struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; hashinfo 399 net/ipv4/inet_hashtables.c struct inet_hashinfo *hinfo = death_row->hashinfo; hashinfo 475 net/ipv4/inet_hashtables.c struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; hashinfo 484 net/ipv4/inet_hashtables.c head = inet_ehash_bucket(hashinfo, sk->sk_hash); hashinfo 486 net/ipv4/inet_hashtables.c lock = inet_ehash_lockp(hashinfo, sk->sk_hash); hashinfo 540 net/ipv4/inet_hashtables.c struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; hashinfo 549 net/ipv4/inet_hashtables.c ilb = &hashinfo->listening_hash[inet_sk_listen_hashfn(sk)]; hashinfo 562 net/ipv4/inet_hashtables.c inet_hash2(hashinfo, sk); hashinfo 589 net/ipv4/inet_hashtables.c struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; hashinfo 597 net/ipv4/inet_hashtables.c ilb = &hashinfo->listening_hash[inet_sk_listen_hashfn(sk)]; hashinfo 600 net/ipv4/inet_hashtables.c lock = inet_ehash_lockp(hashinfo, sk->sk_hash); hashinfo 609 net/ipv4/inet_hashtables.c inet_unhash2(hashinfo, sk); hashinfo 624 net/ipv4/inet_hashtables.c struct inet_hashinfo *hinfo = death_row->hashinfo; hashinfo 804 net/ipv4/inet_hashtables.c int inet_ehash_locks_alloc(struct inet_hashinfo *hashinfo) hashinfo 815 net/ipv4/inet_hashtables.c nblocks = min(nblocks, hashinfo->ehash_mask + 1); hashinfo 817 net/ipv4/inet_hashtables.c hashinfo->ehash_locks = kvmalloc_array(nblocks, locksz, GFP_KERNEL); hashinfo 818 net/ipv4/inet_hashtables.c if (!hashinfo->ehash_locks) hashinfo 822 net/ipv4/inet_hashtables.c spin_lock_init(&hashinfo->ehash_locks[i]); hashinfo 824 net/ipv4/inet_hashtables.c hashinfo->ehash_locks_mask = nblocks - 1; hashinfo 30 net/ipv4/inet_timewait_sock.c struct inet_hashinfo *hashinfo) hashinfo 39 net/ipv4/inet_timewait_sock.c inet_bind_bucket_destroy(hashinfo->bind_bucket_cachep, tb); hashinfo 46 net/ipv4/inet_timewait_sock.c struct inet_hashinfo *hashinfo = tw->tw_dr->hashinfo; hashinfo 47 net/ipv4/inet_timewait_sock.c spinlock_t *lock = inet_ehash_lockp(hashinfo, tw->tw_hash); hashinfo 55 net/ipv4/inet_timewait_sock.c bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), tw->tw_num, hashinfo 56 net/ipv4/inet_timewait_sock.c hashinfo->bhash_size)]; hashinfo 59 net/ipv4/inet_timewait_sock.c inet_twsk_bind_unhash(tw, hashinfo); hashinfo 102 net/ipv4/inet_timewait_sock.c struct inet_hashinfo *hashinfo) hashinfo 106 net/ipv4/inet_timewait_sock.c struct inet_ehash_bucket *ehead = inet_ehash_bucket(hashinfo, sk->sk_hash); hashinfo 107 net/ipv4/inet_timewait_sock.c spinlock_t *lock = inet_ehash_lockp(hashinfo, sk->sk_hash); hashinfo 113 net/ipv4/inet_timewait_sock.c bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), inet->inet_num, hashinfo 114 net/ipv4/inet_timewait_sock.c hashinfo->bhash_size)]; hashinfo 257 net/ipv4/inet_timewait_sock.c void inet_twsk_purge(struct inet_hashinfo *hashinfo, int family) hashinfo 264 net/ipv4/inet_timewait_sock.c for (slot = 0; slot <= hashinfo->ehash_mask; slot++) { hashinfo 265 net/ipv4/inet_timewait_sock.c struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; hashinfo 60 net/ipv4/raw_diag.c struct raw_hashinfo *hashinfo = raw_get_hashinfo(r); hashinfo 64 net/ipv4/raw_diag.c if (IS_ERR(hashinfo)) hashinfo 65 net/ipv4/raw_diag.c return ERR_CAST(hashinfo); hashinfo 67 net/ipv4/raw_diag.c read_lock(&hashinfo->lock); hashinfo 69 net/ipv4/raw_diag.c sk_for_each(s, &hashinfo->ht[slot]) { hashinfo 85 net/ipv4/raw_diag.c read_unlock(&hashinfo->lock); hashinfo 151 net/ipv4/raw_diag.c struct raw_hashinfo *hashinfo = raw_get_hashinfo(r); hashinfo 156 net/ipv4/raw_diag.c if (IS_ERR(hashinfo)) hashinfo 162 net/ipv4/raw_diag.c read_lock(&hashinfo->lock); hashinfo 166 net/ipv4/raw_diag.c sk_for_each(sk, &hashinfo->ht[slot]) { hashinfo 189 net/ipv4/raw_diag.c read_unlock(&hashinfo->lock); hashinfo 2610 net/ipv4/tcp_ipv4.c .h.hashinfo = &tcp_hashinfo, hashinfo 2683 net/ipv4/tcp_ipv4.c net->ipv4.tcp_death_row.hashinfo = &tcp_hashinfo; hashinfo 50 net/ipv6/inet6_hashtables.c struct inet_hashinfo *hashinfo, hashinfo 64 net/ipv6/inet6_hashtables.c unsigned int slot = hash & hashinfo->ehash_mask; hashinfo 65 net/ipv6/inet6_hashtables.c struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; hashinfo 150 net/ipv6/inet6_hashtables.c struct inet_hashinfo *hashinfo, hashinfo 161 net/ipv6/inet6_hashtables.c ilb2 = inet_lhash2_bucket(hashinfo, hash2); hashinfo 171 net/ipv6/inet6_hashtables.c ilb2 = inet_lhash2_bucket(hashinfo, hash2); hashinfo 183 net/ipv6/inet6_hashtables.c struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, hashinfo 192 net/ipv6/inet6_hashtables.c sk = __inet6_lookup(net, hashinfo, skb, doff, saddr, sport, daddr, hashinfo 204 net/ipv6/inet6_hashtables.c struct inet_hashinfo *hinfo = death_row->hashinfo; hashinfo 2044 net/ipv6/tcp_ipv6.c .h.hashinfo = &tcp_hashinfo,