Searched refs:hashinfo (Results 1 – 5 of 5) sorted by relevance
/include/net/ |
D | inet_hashtables.h | 158 struct inet_hashinfo *hashinfo, in inet_ehash_bucket() argument 161 return &hashinfo->ehash[hash & hashinfo->ehash_mask]; in inet_ehash_bucket() 165 struct inet_hashinfo *hashinfo, in inet_ehash_lockp() argument 168 return &hashinfo->ehash_locks[hash & hashinfo->ehash_locks_mask]; in inet_ehash_lockp() 171 static inline int inet_ehash_locks_alloc(struct inet_hashinfo *hashinfo) in inet_ehash_locks_alloc() argument 190 hashinfo->ehash_locks = vmalloc(size * sizeof(spinlock_t)); in inet_ehash_locks_alloc() 193 hashinfo->ehash_locks = kmalloc(size * sizeof(spinlock_t), in inet_ehash_locks_alloc() 195 if (!hashinfo->ehash_locks) in inet_ehash_locks_alloc() 198 spin_lock_init(&hashinfo->ehash_locks[i]); in inet_ehash_locks_alloc() 200 hashinfo->ehash_locks_mask = size - 1; in inet_ehash_locks_alloc() [all …]
|
D | inet6_hashtables.h | 65 struct inet_hashinfo *hashinfo, 73 struct inet_hashinfo *hashinfo, 79 struct inet_hashinfo *hashinfo, in __inet6_lookup() argument 86 struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr, in __inet6_lookup() 91 return inet6_lookup_listener(net, hashinfo, daddr, hnum, dif); in __inet6_lookup() 94 static inline struct sock *__inet6_lookup_skb(struct inet_hashinfo *hashinfo, in __inet6_lookup_skb() argument 103 else return __inet6_lookup(dev_net(skb_dst(skb)->dev), hashinfo, in __inet6_lookup_skb() 109 extern struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo,
|
D | inet_timewait_sock.h | 81 struct inet_hashinfo *hashinfo; member 200 struct inet_hashinfo *hashinfo); 207 struct inet_hashinfo *hashinfo); 215 extern void inet_twsk_purge(struct inet_hashinfo *hashinfo,
|
D | sock.h | 898 struct inet_hashinfo *hashinfo; member
|
/include/linux/ |
D | inet_diag.h | 172 int inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo, 177 struct inet_hashinfo *hashinfo,
|