Home
last modified time | relevance | path

Searched refs:head2 (Results 1 – 2 of 2) sorted by relevance

/net/ipv4/
Dinet_hashtables.c184 struct inet_bind_hashbucket *head, *head2; in __inet_put_port() local
191 head2 = inet_bhashfn_portaddr(hashinfo, sk, net, inet_sk(sk)->inet_num); in __inet_put_port()
200 spin_lock(&head2->lock); in __inet_put_port()
208 spin_unlock(&head2->lock); in __inet_put_port()
225 struct inet_bind_hashbucket *head, *head2; in __inet_inherit_port() local
235 head2 = inet_bhashfn_portaddr(table, child, net, port); in __inet_inherit_port()
238 spin_lock(&head2->lock); in __inet_inherit_port()
242 spin_unlock(&head2->lock); in __inet_inherit_port()
262 spin_unlock(&head2->lock); in __inet_inherit_port()
275 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, child); in __inet_inherit_port()
[all …]
Dinet_connection_sock.c291 struct inet_bind_hashbucket *head2; in inet_bhash2_addr_any_conflict() local
302 head2 = inet_bhash2_addr_any_hashbucket(sk, net, port); in inet_bhash2_addr_any_conflict()
304 spin_lock(&head2->lock); in inet_bhash2_addr_any_conflict()
306 inet_bind_bucket_for_each(tb2, &head2->chain) { in inet_bhash2_addr_any_conflict()
317 spin_unlock(&head2->lock); in inet_bhash2_addr_any_conflict()
333 struct inet_bind_hashbucket *head, *head2; in inet_csk_find_open_port() local
381 head2 = inet_bhashfn_portaddr(hinfo, sk, net, port); in inet_csk_find_open_port()
382 spin_lock(&head2->lock); in inet_csk_find_open_port()
383 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, sk); in inet_csk_find_open_port()
389 spin_unlock(&head2->lock); in inet_csk_find_open_port()
[all …]