Home
last modified time | relevance | path

Searched refs:bhash_size (Results 1 – 7 of 7) sorted by relevance

/linux/include/net/
H A Dinet_hashtables.h168 unsigned int bhash_size; member
256 const u32 bhash_size) in inet_bhashfn() argument
258 return (lport + net_hash_mix(net)) & (bhash_size - 1); in inet_bhashfn()
273 return &hinfo->bhash2[hash & (hinfo->bhash_size - 1)]; in inet_bhashfn_portaddr()
/linux/net/ipv4/
H A Dinet_timewait_sock.c60 hashinfo->bhash_size)]; in inet_twsk_kill()
123 hashinfo->bhash_size)]; in inet_twsk_hashdance_schedule()
H A Dinet_hashtables.c185 bhash = inet_bhashfn(net, inet_sk(sk)->inet_num, hashinfo->bhash_size); in __inet_put_port()
228 bhash = inet_bhashfn(net, port, table->bhash_size); in __inet_inherit_port()
874 return &hinfo->bhash2[hash & (hinfo->bhash_size - 1)]; in inet_bhash2_addr_any_hashbucket()
929 bhash = inet_bhashfn(net, port, hinfo->bhash_size); in __inet_bhash2_update_saddr()
1050 hinfo->bhash_size)]; in __inet_hash_connect()
H A Dtcp.c5114 &tcp_hashinfo.bhash_size, in tcp_init()
5118 tcp_hashinfo.bhash_size = 1U << tcp_hashinfo.bhash_size; in tcp_init()
5119 tcp_hashinfo.bhash2 = tcp_hashinfo.bhash + tcp_hashinfo.bhash_size; in tcp_init()
5120 for (i = 0; i < tcp_hashinfo.bhash_size; i++) { in tcp_init()
5147 tcp_hashinfo.ehash_mask + 1, tcp_hashinfo.bhash_size); in tcp_init()
H A Dinet_connection_sock.c378 hinfo->bhash_size)]; in inet_csk_find_open_port()
542 hinfo->bhash_size)]; in inet_csk_get_port()
H A Dinet_diag.c1106 for (i = s_i; i < hashinfo->bhash_size; i++) { in inet_diag_dump_icsk()
/linux/net/dccp/
H A Dproto.c1189 dccp_hashinfo.bhash_size = (1UL << bhash_order) * PAGE_SIZE / in dccp_init()
1191 if ((dccp_hashinfo.bhash_size > (64 * 1024)) && in dccp_init()
1211 for (i = 0; i < dccp_hashinfo.bhash_size; i++) { in dccp_init()
1271 int bhash_order = get_order(dccp_hashinfo.bhash_size * in dccp_fini()