Searched refs:bhash (Results 1 – 10 of 10) sorted by relevance
/linux/net/ipv4/ |
A D | inet_hashtables.c | 109 const int bhash = inet_bhashfn(sock_net(sk), inet_sk(sk)->inet_num, in __inet_put_port() local 111 struct inet_bind_hashbucket *head = &hashinfo->bhash[bhash]; in __inet_put_port() 135 const int bhash = inet_bhashfn(sock_net(sk), port, in __inet_inherit_port() local 137 struct inet_bind_hashbucket *head = &table->bhash[bhash]; in __inet_inherit_port() 742 head = &hinfo->bhash[inet_bhashfn(net, port, in __inet_hash_connect() 781 head = &hinfo->bhash[inet_bhashfn(net, port, in __inet_hash_connect()
|
A D | inet_timewait_sock.c | 55 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), tw->tw_num, in inet_twsk_kill() 113 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), inet->inet_num, in inet_twsk_hashdance()
|
A D | inet_connection_sock.c | 235 head = &hinfo->bhash[inet_bhashfn(net, port, in inet_csk_find_open_port() 382 head = &hinfo->bhash[inet_bhashfn(net, port, in inet_csk_get_port()
|
A D | tcp.c | 4540 tcp_hashinfo.bhash = in tcp_init() 4552 spin_lock_init(&tcp_hashinfo.bhash[i].lock); in tcp_init() 4553 INIT_HLIST_HEAD(&tcp_hashinfo.bhash[i].chain); in tcp_init()
|
/linux/net/dccp/ |
A D | proto.c | 1176 dccp_hashinfo.bhash = (struct inet_bind_hashbucket *) in dccp_init() 1178 } while (!dccp_hashinfo.bhash && --bhash_order >= 0); in dccp_init() 1180 if (!dccp_hashinfo.bhash) { in dccp_init() 1186 spin_lock_init(&dccp_hashinfo.bhash[i].lock); in dccp_init() 1187 INIT_HLIST_HEAD(&dccp_hashinfo.bhash[i].chain); in dccp_init() 1217 free_pages((unsigned long)dccp_hashinfo.bhash, bhash_order); in dccp_init() 1227 dccp_hashinfo.bhash = NULL; in dccp_init() 1237 free_pages((unsigned long)dccp_hashinfo.bhash, in dccp_fini()
|
A D | ipv4.c | 1019 if (dccp_hashinfo.bhash == NULL) in dccp_v4_init_net()
|
A D | ipv6.c | 1104 if (dccp_hashinfo.bhash == NULL) in dccp_v6_init_net()
|
/linux/drivers/edac/ |
A D | pnd2_edac.c | 902 int bhash = 0; in bank_hash() local 906 bhash ^= ((pmiaddr >> (12 + shft)) ^ (pmiaddr >> (9 + shft))) & 1; in bank_hash() 909 bhash ^= (((pmiaddr >> (10 + shft)) ^ (pmiaddr >> (8 + shft))) & 1) << 1; in bank_hash() 910 bhash ^= ((pmiaddr >> 22) & 1) << 1; in bank_hash() 913 bhash ^= (((pmiaddr >> (13 + shft)) ^ (pmiaddr >> (11 + shft))) & 1) << 2; in bank_hash() 917 return bhash; in bank_hash()
|
/linux/include/net/ |
A D | inet_hashtables.h | 140 struct inet_bind_hashbucket *bhash; member
|
/linux/fs/ext4/ |
A D | namei.c | 960 __u32 bhash; in ext4_htree_next_block() local 986 bhash = dx_get_hash(p->at); in ext4_htree_next_block() 988 *start_hash = bhash; in ext4_htree_next_block() 990 if ((bhash & ~1) != hash) in ext4_htree_next_block()
|
Completed in 35 milliseconds