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