Lines Matching defs:hashinfo
23 * @hashinfo: hashinfo pointer
30 struct inet_hashinfo *hashinfo)
39 inet_bind_bucket_destroy(hashinfo->bind_bucket_cachep, tb);
46 struct inet_hashinfo *hashinfo = tw->tw_dr->hashinfo;
47 spinlock_t *lock = inet_ehash_lockp(hashinfo, tw->tw_hash);
55 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), tw->tw_num,
56 hashinfo->bhash_size)];
59 inet_twsk_bind_unhash(tw, hashinfo);
102 struct inet_hashinfo *hashinfo)
106 struct inet_ehash_bucket *ehead = inet_ehash_bucket(hashinfo, sk->sk_hash);
107 spinlock_t *lock = inet_ehash_lockp(hashinfo, sk->sk_hash);
113 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), inet->inet_num,
114 hashinfo->bhash_size)];
258 void inet_twsk_purge(struct inet_hashinfo *hashinfo, int family)
264 for (slot = 0; slot <= hashinfo->ehash_mask; slot++) {
265 struct inet_ehash_bucket *head = &hashinfo->ehash[slot];