Searched refs:bhash (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/net/ipv4/ |
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() 138 const int bhash = inet_bhashfn(sock_net(sk), port, in __inet_inherit_port() local 140 struct inet_bind_hashbucket *head = &table->bhash[bhash]; in __inet_inherit_port() 515 head = &hinfo->bhash[inet_bhashfn(net, port, in __inet_hash_connect() 579 head = &hinfo->bhash[inet_bhashfn(net, snum, hinfo->bhash_size)]; in __inet_hash_connect()
|
D | inet_timewait_sock.c | 83 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), tw->tw_num, in inet_twsk_kill() 143 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), inet->inet_num, in __inet_twsk_hashdance()
|
D | inet_connection_sock.c | 116 head = &hashinfo->bhash[inet_bhashfn(net, rover, in inet_csk_get_port() 170 head = &hashinfo->bhash[inet_bhashfn(net, snum, in inet_csk_get_port()
|
D | tcp.c | 3077 tcp_hashinfo.bhash = in tcp_init() 3089 spin_lock_init(&tcp_hashinfo.bhash[i].lock); in tcp_init() 3090 INIT_HLIST_HEAD(&tcp_hashinfo.bhash[i].chain); in tcp_init()
|
/linux-4.1.27/net/dccp/ |
D | proto.c | 1174 dccp_hashinfo.bhash = (struct inet_bind_hashbucket *) in dccp_init() 1176 } while (!dccp_hashinfo.bhash && --bhash_order >= 0); in dccp_init() 1178 if (!dccp_hashinfo.bhash) { in dccp_init() 1184 spin_lock_init(&dccp_hashinfo.bhash[i].lock); in dccp_init() 1185 INIT_HLIST_HEAD(&dccp_hashinfo.bhash[i].chain); in dccp_init() 1215 free_pages((unsigned long)dccp_hashinfo.bhash, bhash_order); in dccp_init() 1225 dccp_hashinfo.bhash = NULL; in dccp_init() 1235 free_pages((unsigned long)dccp_hashinfo.bhash, in dccp_fini()
|
D | ipv4.c | 1028 if (dccp_hashinfo.bhash == NULL) in dccp_v4_init_net()
|
D | ipv6.c | 1092 if (dccp_hashinfo.bhash == NULL) in dccp_v6_init_net()
|
/linux-4.1.27/include/net/ |
D | inet_hashtables.h | 132 struct inet_bind_hashbucket *bhash; member
|
/linux-4.1.27/fs/ext3/ |
D | namei.c | 502 __u32 bhash; in ext3_htree_next_block() local 528 bhash = dx_get_hash(p->at); in ext3_htree_next_block() 530 *start_hash = bhash; in ext3_htree_next_block() 532 if ((bhash & ~1) != hash) in ext3_htree_next_block()
|
/linux-4.1.27/fs/ext4/ |
D | namei.c | 902 __u32 bhash; in ext4_htree_next_block() local 928 bhash = dx_get_hash(p->at); in ext4_htree_next_block() 930 *start_hash = bhash; in ext4_htree_next_block() 932 if ((bhash & ~1) != hash) in ext4_htree_next_block()
|