Home
last modified time | relevance | path

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

/Linux-v5.4/net/ipv4/
Dinet_hashtables.c196 if (!h->lhash2) in inet_hash2()
216 if (!h->lhash2 || in inet_unhash2()
757 h->lhash2 = NULL; in inet_hashinfo_init()
766 spin_lock_init(&h->lhash2[i].lock); in init_hashinfo_lhash2()
767 INIT_HLIST_HEAD(&h->lhash2[i].head); in init_hashinfo_lhash2()
768 h->lhash2[i].count = 0; in init_hashinfo_lhash2()
777 h->lhash2 = alloc_large_system_hash(name, in inet_hashinfo2_init()
778 sizeof(*h->lhash2), in inet_hashinfo2_init()
791 h->lhash2 = kmalloc_array(INET_LHTABLE_SIZE, sizeof(*h->lhash2), GFP_KERNEL); in inet_hashinfo2_init_mod()
792 if (!h->lhash2) in inet_hashinfo2_init_mod()
/Linux-v5.4/include/net/
Dinet_hashtables.h139 struct inet_listen_hashbucket *lhash2; member
163 return &h->lhash2[hash & h->lhash2_mask]; in inet_lhash2_bucket()