Searched refs:bhash (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/net/ipv4/ |
H A D | inet_hashtables.c | 187 int bhash; in __inet_put_port() local 189 bhash = inet_bhashfn(net, inet_sk(sk)->inet_num, hashinfo->bhash_size); in __inet_put_port() 190 head = &hashinfo->bhash[bhash]; in __inet_put_port() 231 int bhash, l3mdev; in __inet_inherit_port() local 233 bhash = inet_bhashfn(net, port, table->bhash_size); in __inet_inherit_port() 234 head = &table->bhash[bhash]; in __inet_inherit_port() 904 int bhash; in __inet_bhash2_update_saddr() local 935 bhash = inet_bhashfn(net, port, hinfo->bhash_size); in __inet_bhash2_update_saddr() 936 head = &hinfo->bhash[bhash]; in __inet_bhash2_update_saddr() 1051 head = &hinfo->bhash[inet_bhashfn(net, port, in __inet_hash_connect()
|
H A D | inet_timewait_sock.c | 61 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()
|
H A D | inet_connection_sock.c | 372 head = &hinfo->bhash[inet_bhashfn(net, port, in inet_csk_find_open_port() 536 head = &hinfo->bhash[inet_bhashfn(net, port, in inet_csk_get_port()
|
H A D | tcp.c | 4730 tcp_hashinfo.bhash = in tcp_init() 4741 tcp_hashinfo.bhash2 = tcp_hashinfo.bhash + tcp_hashinfo.bhash_size; in tcp_init() 4743 spin_lock_init(&tcp_hashinfo.bhash[i].lock); in tcp_init() 4744 INIT_HLIST_HEAD(&tcp_hashinfo.bhash[i].chain); in tcp_init()
|
/openbmc/linux/net/dccp/ |
H A D | proto.c | 1194 dccp_hashinfo.bhash = (struct inet_bind_hashbucket *) in dccp_init() 1196 } while (!dccp_hashinfo.bhash && --bhash_order >= 0); in dccp_init() 1198 if (!dccp_hashinfo.bhash) { in dccp_init() 1212 spin_lock_init(&dccp_hashinfo.bhash[i].lock); in dccp_init() 1213 INIT_HLIST_HEAD(&dccp_hashinfo.bhash[i].chain); in dccp_init() 1249 free_pages((unsigned long)dccp_hashinfo.bhash, bhash_order); in dccp_init() 1261 dccp_hashinfo.bhash = NULL; in dccp_init() 1276 free_pages((unsigned long)dccp_hashinfo.bhash, bhash_order); in dccp_fini()
|
H A D | ipv4.c | 1029 if (dccp_hashinfo.bhash == NULL) in dccp_v4_init_net()
|
H A D | ipv6.c | 1111 if (dccp_hashinfo.bhash == NULL) in dccp_v6_init_net()
|
/openbmc/linux/drivers/edac/ |
H A D | pnd2_edac.c | 880 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()
|
/openbmc/linux/include/net/ |
H A D | inet_hashtables.h | 166 struct inet_bind_hashbucket *bhash; member
|
/openbmc/linux/fs/ext4/ |
H A D | namei.c | 1015 __u32 bhash; in ext4_htree_next_block() local 1041 bhash = dx_get_hash(p->at); in ext4_htree_next_block() 1043 *start_hash = bhash; in ext4_htree_next_block() 1045 if ((bhash & ~1) != hash) in ext4_htree_next_block()
|