Home
last modified time | relevance | path

Searched refs:INET_LHTABLE_SIZE (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/include/net/
H A Dinet_hashtables.h122 #define INET_LHTABLE_SIZE 32 /* Yes, really, this is all you need. */ macro
159 struct inet_listen_hashbucket listening_hash[INET_LHTABLE_SIZE]
219 return (num + net_hash_mix(net)) & (INET_LHTABLE_SIZE - 1); in inet_lhashfn()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dinet_hashtables.c876 for (i = 0; i < INET_LHTABLE_SIZE; i++) { in inet_hashinfo_init()
923 h->lhash2 = kmalloc_array(INET_LHTABLE_SIZE, sizeof(*h->lhash2), GFP_KERNEL); in inet_hashinfo2_init_mod()
927 h->lhash2_mask = INET_LHTABLE_SIZE - 1; in inet_hashinfo2_init_mod()
929 BUG_ON(INET_LHTABLE_SIZE & h->lhash2_mask); in inet_hashinfo2_init_mod()
H A Dinet_diag.c1026 for (i = s_i; i < INET_LHTABLE_SIZE; i++) { in inet_diag_dump_icsk()
H A Dtcp_ipv4.c2309 if (++st->bucket < INET_LHTABLE_SIZE) in listening_get_next()
2448 if (st->bucket >= INET_LHTABLE_SIZE) in tcp_seek_last_pos()