Home
last modified time | relevance | path

Searched refs:lhash2 (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
Dinet_hashtables.c209 if (!h->lhash2) in inet_hash2()
229 if (!h->lhash2 || in inet_unhash2()
891 h->lhash2 = NULL; in inet_hashinfo_init()
900 spin_lock_init(&h->lhash2[i].lock); in init_hashinfo_lhash2()
901 INIT_HLIST_HEAD(&h->lhash2[i].head); in init_hashinfo_lhash2()
902 h->lhash2[i].count = 0; in init_hashinfo_lhash2()
911 h->lhash2 = alloc_large_system_hash(name, in inet_hashinfo2_init()
912 sizeof(*h->lhash2), in inet_hashinfo2_init()
931 h->lhash2 = kmalloc_array(INET_LHTABLE_SIZE, sizeof(*h->lhash2), GFP_KERNEL); in inet_hashinfo2_init_mod()
932 if (!h->lhash2) in inet_hashinfo2_init_mod()
/kernel/linux/linux-5.10/include/net/
Dinet_hashtables.h145 struct inet_listen_hashbucket *lhash2; member
169 return &h->lhash2[hash & h->lhash2_mask]; in inet_lhash2_bucket()
190 kfree(h->lhash2); in inet_hashinfo2_free_mod()
191 h->lhash2 = NULL; in inet_hashinfo2_free_mod()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dninet_hashtables.c142 if (!h->lhash2) in ninet_hash2()
236 if (!h->lhash2 || in ninet_unhash2()