Searched refs:bhash_size (Results 1 – 7 of 7) sorted by relevance
168 unsigned int bhash_size; member256 const u32 bhash_size) in inet_bhashfn() argument258 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()
60 hashinfo->bhash_size)]; in inet_twsk_kill()123 hashinfo->bhash_size)]; in inet_twsk_hashdance_schedule()
185 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()
5114 &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()
378 hinfo->bhash_size)]; in inet_csk_find_open_port()542 hinfo->bhash_size)]; in inet_csk_get_port()
1106 for (i = s_i; i < hashinfo->bhash_size; i++) { in inet_diag_dump_icsk()
1189 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()