Home
last modified time | relevance | path

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

/linux-4.4.14/net/ipv4/
Dinet_hashtables.c106 const int bhash = inet_bhashfn(sock_net(sk), inet_sk(sk)->inet_num, in __inet_put_port() local
108 struct inet_bind_hashbucket *head = &hashinfo->bhash[bhash]; in __inet_put_port()
133 const int bhash = inet_bhashfn(sock_net(sk), port, in __inet_inherit_port() local
135 struct inet_bind_hashbucket *head = &table->bhash[bhash]; in __inet_inherit_port()
535 head = &hinfo->bhash[inet_bhashfn(net, port, in __inet_hash_connect()
594 head = &hinfo->bhash[inet_bhashfn(net, snum, hinfo->bhash_size)]; in __inet_hash_connect()
Dinet_timewait_sock.c55 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()
Dinet_connection_sock.c125 head = &hashinfo->bhash[inet_bhashfn(net, rover, in inet_csk_get_port()
179 head = &hashinfo->bhash[inet_bhashfn(net, snum, in inet_csk_get_port()
Dtcp.c3150 tcp_hashinfo.bhash = in tcp_init()
3162 spin_lock_init(&tcp_hashinfo.bhash[i].lock); in tcp_init()
3163 INIT_HLIST_HEAD(&tcp_hashinfo.bhash[i].chain); in tcp_init()
/linux-4.4.14/net/dccp/
Dproto.c1173 dccp_hashinfo.bhash = (struct inet_bind_hashbucket *) in dccp_init()
1175 } while (!dccp_hashinfo.bhash && --bhash_order >= 0); in dccp_init()
1177 if (!dccp_hashinfo.bhash) { in dccp_init()
1183 spin_lock_init(&dccp_hashinfo.bhash[i].lock); in dccp_init()
1184 INIT_HLIST_HEAD(&dccp_hashinfo.bhash[i].chain); in dccp_init()
1214 free_pages((unsigned long)dccp_hashinfo.bhash, bhash_order); in dccp_init()
1224 dccp_hashinfo.bhash = NULL; in dccp_init()
1234 free_pages((unsigned long)dccp_hashinfo.bhash, in dccp_fini()
Dipv4.c1006 if (dccp_hashinfo.bhash == NULL) in dccp_v4_init_net()
Dipv6.c1056 if (dccp_hashinfo.bhash == NULL) in dccp_v6_init_net()
/linux-4.4.14/include/net/
Dinet_hashtables.h131 struct inet_bind_hashbucket *bhash; member
/linux-4.4.14/fs/ext4/
Dnamei.c892 __u32 bhash; in ext4_htree_next_block() local
918 bhash = dx_get_hash(p->at); in ext4_htree_next_block()
920 *start_hash = bhash; in ext4_htree_next_block()
922 if ((bhash & ~1) != hash) in ext4_htree_next_block()