Lines Matching refs:inet_hashinfo
149 struct inet_hashinfo { struct
182 static inline struct inet_hashinfo *tcp_or_dccp_get_hashinfo(const struct sock *sk) in tcp_or_dccp_get_hashinfo() argument
193 inet_lhash2_bucket(struct inet_hashinfo *h, u32 hash) in inet_lhash2_bucket()
199 struct inet_hashinfo *hashinfo, in inet_ehash_bucket()
206 struct inet_hashinfo *hashinfo, in inet_ehash_lockp()
212 int inet_ehash_locks_alloc(struct inet_hashinfo *hashinfo);
214 static inline void inet_hashinfo2_free_mod(struct inet_hashinfo *h) in inet_hashinfo2_free_mod()
220 static inline void inet_ehash_locks_free(struct inet_hashinfo *hashinfo) in inet_ehash_locks_free()
226 struct inet_hashinfo *inet_pernet_hashinfo_alloc(struct inet_hashinfo *hashinfo,
228 void inet_pernet_hashinfo_free(struct inet_hashinfo *hashinfo);
267 inet_bhashfn_portaddr(const struct inet_hashinfo *hinfo, const struct sock *sk, in inet_bhashfn_portaddr()
299 void inet_hashinfo2_init(struct inet_hashinfo *h, const char *name,
303 int inet_hashinfo2_init_mod(struct inet_hashinfo *h);
313 struct inet_hashinfo *hashinfo,
321 struct inet_hashinfo *hashinfo, in inet_lookup_listener()
377 struct inet_hashinfo *hashinfo,
404 inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, in inet_lookup_established()
414 struct inet_hashinfo *hashinfo, in __inet_lookup()
435 struct inet_hashinfo *hashinfo, in inet_lookup()
492 static inline struct sock *__inet_lookup_skb(struct inet_hashinfo *hashinfo, in __inet_lookup_skb()