Home
last modified time | relevance | path

Searched refs:bhash (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/net/ipv4/
A Dinet_hashtables.c180 int bhash; in __inet_put_port() local
182 bhash = inet_bhashfn(net, inet_sk(sk)->inet_num, hashinfo->bhash_size); in __inet_put_port()
183 head = &hashinfo->bhash[bhash]; in __inet_put_port()
224 int bhash, l3mdev; in __inet_inherit_port() local
226 bhash = inet_bhashfn(net, port, table->bhash_size); in __inet_inherit_port()
227 head = &table->bhash[bhash]; in __inet_inherit_port()
896 int bhash; in __inet_bhash2_update_saddr() local
927 bhash = inet_bhashfn(net, port, hinfo->bhash_size); in __inet_bhash2_update_saddr()
928 head = &hinfo->bhash[bhash]; in __inet_bhash2_update_saddr()
1043 head = &hinfo->bhash[inet_bhashfn(net, port, in __inet_hash_connect()
A Dinet_timewait_sock.c61 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), tw->tw_num, in inet_twsk_kill()
127 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), inet->inet_num, in inet_twsk_hashdance()
A Dinet_connection_sock.c369 head = &hinfo->bhash[inet_bhashfn(net, port, in inet_csk_find_open_port()
533 head = &hinfo->bhash[inet_bhashfn(net, port, in inet_csk_get_port()
A Dtcp.c4791 tcp_hashinfo.bhash = in tcp_init()
4802 tcp_hashinfo.bhash2 = tcp_hashinfo.bhash + tcp_hashinfo.bhash_size; in tcp_init()
4804 spin_lock_init(&tcp_hashinfo.bhash[i].lock); in tcp_init()
4805 INIT_HLIST_HEAD(&tcp_hashinfo.bhash[i].chain); in tcp_init()
/linux-6.3-rc2/net/dccp/
A Dproto.c1181 dccp_hashinfo.bhash = (struct inet_bind_hashbucket *) in dccp_init()
1183 } while (!dccp_hashinfo.bhash && --bhash_order >= 0); in dccp_init()
1185 if (!dccp_hashinfo.bhash) { in dccp_init()
1199 spin_lock_init(&dccp_hashinfo.bhash[i].lock); in dccp_init()
1200 INIT_HLIST_HEAD(&dccp_hashinfo.bhash[i].chain); in dccp_init()
1236 free_pages((unsigned long)dccp_hashinfo.bhash, bhash_order); in dccp_init()
1248 dccp_hashinfo.bhash = NULL; in dccp_init()
1263 free_pages((unsigned long)dccp_hashinfo.bhash, bhash_order); in dccp_fini()
A Dipv4.c1026 if (dccp_hashinfo.bhash == NULL) in dccp_v4_init_net()
A Dipv6.c1106 if (dccp_hashinfo.bhash == NULL) in dccp_v6_init_net()
/linux-6.3-rc2/drivers/edac/
A Dpnd2_edac.c880 int bhash = 0; in bank_hash() local
884 bhash ^= ((pmiaddr >> (12 + shft)) ^ (pmiaddr >> (9 + shft))) & 1; in bank_hash()
887 bhash ^= (((pmiaddr >> (10 + shft)) ^ (pmiaddr >> (8 + shft))) & 1) << 1; in bank_hash()
888 bhash ^= ((pmiaddr >> 22) & 1) << 1; in bank_hash()
891 bhash ^= (((pmiaddr >> (13 + shft)) ^ (pmiaddr >> (11 + shft))) & 1) << 2; in bank_hash()
895 return bhash; in bank_hash()
/linux-6.3-rc2/include/net/
A Dinet_hashtables.h166 struct inet_bind_hashbucket *bhash; member
/linux-6.3-rc2/fs/ext4/
A Dnamei.c1004 __u32 bhash; in ext4_htree_next_block() local
1030 bhash = dx_get_hash(p->at); in ext4_htree_next_block()
1032 *start_hash = bhash; in ext4_htree_next_block()
1034 if ((bhash & ~1) != hash) in ext4_htree_next_block()

Completed in 32 milliseconds