Lines Matching refs:hashinfo

30 			  struct inet_hashinfo *hashinfo)  in inet_twsk_bind_unhash()  argument
40 inet_bind_bucket_destroy(hashinfo->bind_bucket_cachep, tb); in inet_twsk_bind_unhash()
44 inet_bind2_bucket_destroy(hashinfo->bind2_bucket_cachep, tb2); in inet_twsk_bind_unhash()
52 struct inet_hashinfo *hashinfo = tw->tw_dr->hashinfo; in inet_twsk_kill() local
53 spinlock_t *lock = inet_ehash_lockp(hashinfo, tw->tw_hash); in inet_twsk_kill()
61 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), tw->tw_num, in inet_twsk_kill()
62 hashinfo->bhash_size)]; in inet_twsk_kill()
63 bhead2 = inet_bhashfn_portaddr(hashinfo, (struct sock *)tw, in inet_twsk_kill()
68 inet_twsk_bind_unhash(tw, hashinfo); in inet_twsk_kill()
115 struct inet_hashinfo *hashinfo) in inet_twsk_hashdance() argument
119 struct inet_ehash_bucket *ehead = inet_ehash_bucket(hashinfo, sk->sk_hash); in inet_twsk_hashdance()
120 spinlock_t *lock = inet_ehash_lockp(hashinfo, sk->sk_hash); in inet_twsk_hashdance()
127 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), inet->inet_num, in inet_twsk_hashdance()
128 hashinfo->bhash_size)]; in inet_twsk_hashdance()
129 bhead2 = inet_bhashfn_portaddr(hashinfo, sk, twsk_net(tw), inet->inet_num); in inet_twsk_hashdance()
281 void inet_twsk_purge(struct inet_hashinfo *hashinfo, int family) in inet_twsk_purge() argument
288 for (slot = 0; slot <= hashinfo->ehash_mask; slot++) { in inet_twsk_purge()
289 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in inet_twsk_purge()
301 hashinfo->pernet)) { in inet_twsk_purge()