Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dinet_hashtables.c218 int bhash; in __inet_put_port() local
220 bhash = inet_bhashfn(net, inet_sk(sk)->inet_num, hashinfo->bhash_size); in __inet_put_port()
221 head = &hashinfo->bhash[bhash]; in __inet_put_port()
262 int bhash, l3mdev; in __inet_inherit_port() local
264 bhash = inet_bhashfn(net, port, table->bhash_size); in __inet_inherit_port()
265 head = &table->bhash[bhash]; in __inet_inherit_port()
935 int bhash; in __inet_bhash2_update_saddr() local
966 bhash = inet_bhashfn(net, port, hinfo->bhash_size); in __inet_bhash2_update_saddr()
967 head = &hinfo->bhash[bhash]; in __inet_bhash2_update_saddr()
1093 head = &hinfo->bhash[inet_bhashfn(net, port, in __inet_hash_connect()
H A Dinet_timewait_sock.c60 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), tw->tw_num, in inet_twsk_kill()
117 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), inet->inet_num, in inet_twsk_hashdance_schedule()
H A Dinet_connection_sock.c362 head = &hinfo->bhash[inet_bhashfn(net, port, in inet_csk_find_open_port()
527 head = &hinfo->bhash[inet_bhashfn(net, port, in inet_csk_get_port()
H A Dtcp.c5317 tcp_hashinfo.bhash = in tcp_init()
5328 tcp_hashinfo.bhash2 = tcp_hashinfo.bhash + tcp_hashinfo.bhash_size; in tcp_init()
5330 spin_lock_init(&tcp_hashinfo.bhash[i].lock); in tcp_init()
5331 INIT_HLIST_HEAD(&tcp_hashinfo.bhash[i].chain); in tcp_init()
/linux/drivers/edac/
H A Dpnd2_edac.c881 int bhash = 0; in bank_hash() local
885 bhash ^= ((pmiaddr >> (12 + shft)) ^ (pmiaddr >> (9 + shft))) & 1; in bank_hash()
888 bhash ^= (((pmiaddr >> (10 + shft)) ^ (pmiaddr >> (8 + shft))) & 1) << 1; in bank_hash()
889 bhash ^= ((pmiaddr >> 22) & 1) << 1; in bank_hash()
892 bhash ^= (((pmiaddr >> (13 + shft)) ^ (pmiaddr >> (11 + shft))) & 1) << 2; in bank_hash()
896 return bhash; in bank_hash()
/linux/include/net/
H A Dinet_hashtables.h164 struct inet_bind_hashbucket *bhash; member
/linux/fs/ext4/
H A Dnamei.c983 __u32 bhash; in ext4_htree_next_block() local
1009 bhash = dx_get_hash(p->at); in ext4_htree_next_block()
1011 *start_hash = bhash; in ext4_htree_next_block()
1013 if ((bhash & ~1) != hash) in ext4_htree_next_block()