Lines Matching defs:hashinfo
24 * @hashinfo: hashinfo pointer
31 struct inet_hashinfo *hashinfo)
42 inet_bind2_bucket_destroy(hashinfo->bind2_bucket_cachep, tb2);
51 struct inet_hashinfo *hashinfo = tw->tw_dr->hashinfo;
52 spinlock_t *lock = inet_ehash_lockp(hashinfo, tw->tw_hash);
60 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), tw->tw_num,
61 hashinfo->bhash_size)];
62 bhead2 = inet_bhashfn_portaddr(hashinfo, (struct sock *)tw,
67 inet_twsk_bind_unhash(tw, hashinfo);
111 struct inet_hashinfo *hashinfo,
116 struct inet_ehash_bucket *ehead = inet_ehash_bucket(hashinfo, sk->sk_hash);
117 spinlock_t *lock = inet_ehash_lockp(hashinfo, sk->sk_hash);
124 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), inet->inet_num,
125 hashinfo->bhash_size)];
126 bhead2 = inet_bhashfn_portaddr(hashinfo, sk, twsk_net(tw), inet->inet_num);
243 struct inet_hashinfo *hashinfo = tw->tw_dr->hashinfo;
244 spinlock_t *lock = inet_ehash_lockp(hashinfo, tw->tw_hash);
316 void inet_twsk_purge(struct inet_hashinfo *hashinfo)
318 struct inet_ehash_bucket *head = &hashinfo->ehash[0];
319 unsigned int ehash_mask = hashinfo->ehash_mask;