Home
last modified time | relevance | path

Searched refs:hash_rnd (Results 1 – 25 of 38) sorted by relevance

12

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/os_dep/linux/
H A Drhashtable.h71 u32 hash_rnd; member
219 hash = ht->p.hashfn(key, ht->key_len, tbl->hash_rnd); in rht_key_hashfn()
224 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
226 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
229 tbl->hash_rnd); in rht_key_hashfn()
234 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
236 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
251 tbl->hash_rnd)) : in rht_head_hashfn()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/os_dep/linux/
H A Drhashtable.h71 u32 hash_rnd; member
219 hash = ht->p.hashfn(key, ht->key_len, tbl->hash_rnd); in rht_key_hashfn()
224 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
226 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
229 tbl->hash_rnd); in rht_key_hashfn()
234 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
236 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
251 tbl->hash_rnd)) : in rht_head_hashfn()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/os_dep/linux/
H A Drhashtable.h71 u32 hash_rnd; member
219 hash = ht->p.hashfn(key, ht->key_len, tbl->hash_rnd); in rht_key_hashfn()
224 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
226 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
229 tbl->hash_rnd); in rht_key_hashfn()
234 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
236 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
251 tbl->hash_rnd)) : in rht_head_hashfn()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/os_dep/linux/
H A Drhashtable.h72 u32 hash_rnd; member
220 hash = ht->p.hashfn(key, ht->key_len, tbl->hash_rnd); in rht_key_hashfn()
225 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
227 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
230 tbl->hash_rnd); in rht_key_hashfn()
235 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
237 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
252 tbl->hash_rnd)) : in rht_head_hashfn()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/
H A Drhashtable.h71 u32 hash_rnd; member
219 hash = ht->p.hashfn(key, ht->key_len, tbl->hash_rnd); in rht_key_hashfn()
224 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
226 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
229 tbl->hash_rnd); in rht_key_hashfn()
234 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
236 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
251 tbl->hash_rnd)) : in rht_head_hashfn()
H A Drhashtable.c134 get_random_bytes(&tbl->hash_rnd, sizeof(tbl->hash_rnd)); in bucket_table_alloc()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/
H A Drhashtable.h71 u32 hash_rnd; member
219 hash = ht->p.hashfn(key, ht->key_len, tbl->hash_rnd); in rht_key_hashfn()
224 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
226 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
229 tbl->hash_rnd); in rht_key_hashfn()
234 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
236 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
251 tbl->hash_rnd)) : in rht_head_hashfn()
H A Drhashtable.c134 get_random_bytes(&tbl->hash_rnd, sizeof(tbl->hash_rnd)); in bucket_table_alloc()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/os_dep/linux/
H A Drhashtable.h71 u32 hash_rnd; member
219 hash = ht->p.hashfn(key, ht->key_len, tbl->hash_rnd); in rht_key_hashfn()
224 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
226 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
229 tbl->hash_rnd); in rht_key_hashfn()
234 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
236 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
251 tbl->hash_rnd)) : in rht_head_hashfn()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/os_dep/linux/
H A Drhashtable.h72 u32 hash_rnd; member
220 hash = ht->p.hashfn(key, ht->key_len, tbl->hash_rnd); in rht_key_hashfn()
225 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
227 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
230 tbl->hash_rnd); in rht_key_hashfn()
235 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
237 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
252 tbl->hash_rnd)) : in rht_head_hashfn()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/os_dep/linux/
H A Drhashtable.h72 u32 hash_rnd; member
220 hash = ht->p.hashfn(key, ht->key_len, tbl->hash_rnd); in rht_key_hashfn()
225 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
227 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
230 tbl->hash_rnd); in rht_key_hashfn()
235 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
237 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
252 tbl->hash_rnd)) : in rht_head_hashfn()
H A Drhashtable.c135 get_random_bytes(&tbl->hash_rnd, sizeof(tbl->hash_rnd)); in bucket_table_alloc()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/os_dep/linux/
H A Drhashtable.h72 u32 hash_rnd; member
220 hash = ht->p.hashfn(key, ht->key_len, tbl->hash_rnd); in rht_key_hashfn()
225 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
227 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
230 tbl->hash_rnd); in rht_key_hashfn()
235 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
237 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
252 tbl->hash_rnd)) : in rht_head_hashfn()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/os_dep/linux/
H A Drhashtable.h71 u32 hash_rnd; member
219 hash = ht->p.hashfn(key, ht->key_len, tbl->hash_rnd); in rht_key_hashfn()
224 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
226 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
229 tbl->hash_rnd); in rht_key_hashfn()
234 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
236 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
251 tbl->hash_rnd)) : in rht_head_hashfn()
H A Drhashtable.c134 get_random_bytes(&tbl->hash_rnd, sizeof(tbl->hash_rnd)); in bucket_table_alloc()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/os_dep/linux/
H A Drhashtable.h72 u32 hash_rnd; member
220 hash = ht->p.hashfn(key, ht->key_len, tbl->hash_rnd); in rht_key_hashfn()
225 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
227 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
230 tbl->hash_rnd); in rht_key_hashfn()
235 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
237 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
252 tbl->hash_rnd)) : in rht_head_hashfn()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/os_dep/linux/
H A Drhashtable.h71 u32 hash_rnd; member
219 hash = ht->p.hashfn(key, ht->key_len, tbl->hash_rnd); in rht_key_hashfn()
224 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
226 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
229 tbl->hash_rnd); in rht_key_hashfn()
234 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
236 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
251 tbl->hash_rnd)) : in rht_head_hashfn()
H A Drhashtable.c134 get_random_bytes(&tbl->hash_rnd, sizeof(tbl->hash_rnd)); in bucket_table_alloc()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/
H A Drhashtable.h71 u32 hash_rnd; member
219 hash = ht->p.hashfn(key, ht->key_len, tbl->hash_rnd); in rht_key_hashfn()
224 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
226 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
229 tbl->hash_rnd); in rht_key_hashfn()
234 hash = params.hashfn(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
236 hash = jhash(key, key_len, tbl->hash_rnd); in rht_key_hashfn()
251 tbl->hash_rnd)) : in rht_head_hashfn()
/OK3568_Linux_fs/kernel/include/linux/
H A Drhashtable.h79 u32 hash_rnd; member
127 unsigned int hash_rnd) in rht_key_get_hash() argument
133 hash = ht->p.hashfn(key, ht->key_len, hash_rnd); in rht_key_get_hash()
138 hash = params.hashfn(key, key_len, hash_rnd); in rht_key_get_hash()
140 hash = jhash(key, key_len, hash_rnd); in rht_key_get_hash()
142 hash = jhash2(key, key_len / sizeof(u32), hash_rnd); in rht_key_get_hash()
147 hash = params.hashfn(key, key_len, hash_rnd); in rht_key_get_hash()
149 hash = jhash(key, key_len, hash_rnd); in rht_key_get_hash()
159 unsigned int hash = rht_key_get_hash(ht, key, params, tbl->hash_rnd); in rht_key_hashfn()
173 tbl->hash_rnd)) : in rht_head_hashfn()
/OK3568_Linux_fs/kernel/include/net/
H A Dndisc.h371 static inline u32 ndisc_hashfn(const void *pkey, const struct net_device *dev, __u32 *hash_rnd) in ndisc_hashfn() argument
375 return (((p32[0] ^ hash32_ptr(dev)) * hash_rnd[0]) + in ndisc_hashfn()
376 (p32[1] * hash_rnd[1]) + in ndisc_hashfn()
377 (p32[2] * hash_rnd[2]) + in ndisc_hashfn()
378 (p32[3] * hash_rnd[3])); in ndisc_hashfn()
H A Darp.h13 static inline u32 arp_hashfn(const void *pkey, const struct net_device *dev, u32 *hash_rnd) in arp_hashfn() argument
18 return val * hash_rnd[0]; in arp_hashfn()
H A Dneighbour.h195 __u32 hash_rnd[NEIGH_NUM_HASH_RND]; member
207 __u32 *hash_rnd);
295 __u32 *hash_rnd), in ___neigh_lookup_noref() argument
303 hash_val = hash(pkey, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in ___neigh_lookup_noref()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dxt_recent.c109 static u_int32_t hash_rnd __read_mostly;
113 return jhash_1word((__force u32)addr->ip, hash_rnd) & in recent_entry_hash4()
119 return jhash2((u32 *)addr->ip6, ARRAY_SIZE(addr->ip6), hash_rnd) & in recent_entry_hash6()
346 net_get_random_once(&hash_rnd, sizeof(hash_rnd)); in recent_mt_check()
/OK3568_Linux_fs/kernel/net/decnet/
H A Ddn_neigh.c68 __u32 *hash_rnd) in dn_neigh_hash() argument
70 return jhash_2words(*(__u16 *)pkey, 0, hash_rnd[0]); in dn_neigh_hash()

12