Searched defs:hashinfo (Results 1 - 5 of 5) sorted by relevance

/net/ipv4/
H A Dinet_timewait_sock.c45 * @hashinfo: hashinfo pointer
52 struct inet_hashinfo *hashinfo)
61 inet_bind_bucket_destroy(hashinfo->bind_bucket_cachep, tb);
71 struct inet_hashinfo *hashinfo)
76 spinlock_t *lock = inet_ehash_lockp(hashinfo, tw->tw_hash);
83 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), tw->tw_num,
84 hashinfo->bhash_size)];
87 refcnt += inet_twsk_bind_unhash(tw, hashinfo);
131 struct inet_hashinfo *hashinfo)
51 inet_twsk_bind_unhash(struct inet_timewait_sock *tw, struct inet_hashinfo *hashinfo) argument
70 __inet_twsk_kill(struct inet_timewait_sock *tw, struct inet_hashinfo *hashinfo) argument
130 __inet_twsk_hashdance(struct inet_timewait_sock *tw, struct sock *sk, struct inet_hashinfo *hashinfo) argument
479 inet_twsk_purge(struct inet_hashinfo *hashinfo, struct inet_timewait_death_row *twdr, int family) argument
[all...]
H A Dinet_hashtables.c90 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; local
92 atomic_inc(&hashinfo->bsockets);
105 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; local
107 hashinfo->bhash_size);
108 struct inet_bind_hashbucket *head = &hashinfo->bhash[bhash];
111 atomic_dec(&hashinfo->bsockets);
119 inet_bind_bucket_destroy(hashinfo->bind_bucket_cachep, tb);
133 struct inet_hashinfo *table = sk->sk_prot->h.hashinfo;
202 __inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, const __be32 saddr, __be16 sport, const __be32 daddr, const unsigned short hnum, const int dif) argument
271 __inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const u16 hnum, const int dif) argument
401 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; local
428 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; local
457 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; local
[all...]
H A Dinet_connection_sock.c94 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; local
115 head = &hashinfo->bhash[inet_bhashfn(net, rover,
116 hashinfo->bhash_size)];
129 if (atomic_read(&hashinfo->bsockets) > (high - low) + 1 &&
169 head = &hashinfo->bhash[inet_bhashfn(net, snum,
170 hashinfo->bhash_size)];
206 if (!tb && (tb = inet_bind_bucket_create(hashinfo->bind_bucket_cachep,
H A Dinet_diag.c291 int inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo, struct sk_buff *in_skb, argument
301 sk = inet_lookup(net, hashinfo, req->id.idiag_dst[0],
307 sk = inet6_lookup(net, hashinfo,
837 void inet_diag_dump_icsk(struct inet_hashinfo *hashinfo, struct sk_buff *skb, argument
857 ilb = &hashinfo->listening_hash[i];
916 for (i = s_i; i <= hashinfo->ehash_mask; i++) {
917 struct inet_ehash_bucket *head = &hashinfo->ehash[i];
918 spinlock_t *lock = inet_ehash_lockp(hashinfo, i);
/net/ipv6/
H A Dinet6_hashtables.c61 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; local
69 ilb = &hashinfo->listening_hash[inet_sk_listen_hashfn(sk)];
79 list = &inet_ehash_bucket(hashinfo, hash)->chain;
80 lock = inet_ehash_lockp(hashinfo, hash);
102 struct inet_hashinfo *hashinfo,
116 unsigned int slot = hash & hashinfo->ehash_mask;
117 struct inet_ehash_bucket *head = &hashinfo->ehash[slot];
172 struct inet_hashinfo *hashinfo, const struct in6_addr *saddr,
182 struct inet_listen_hashbucket *ilb = &hashinfo
101 __inet6_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif) argument
171 inet6_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const unsigned short hnum, const int dif) argument
227 inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const __be16 dport, const int dif) argument
[all...]

Completed in 81 milliseconds