Home
last modified time | relevance | path

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

/net/ipv4/
Dinet_hashtables.c183 struct inet_bind_hashbucket *head, *head2; in __inet_put_port() local
190 head2 = inet_bhashfn_portaddr(hashinfo, sk, net, inet_sk(sk)->inet_num); in __inet_put_port()
199 spin_lock(&head2->lock); in __inet_put_port()
207 spin_unlock(&head2->lock); in __inet_put_port()
224 struct inet_bind_hashbucket *head, *head2; in __inet_inherit_port() local
234 head2 = inet_bhashfn_portaddr(table, child, net, port); in __inet_inherit_port()
237 spin_lock(&head2->lock); in __inet_inherit_port()
241 spin_unlock(&head2->lock); in __inet_inherit_port()
261 spin_unlock(&head2->lock); in __inet_inherit_port()
274 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, child); in __inet_inherit_port()
[all …]
Dinet_connection_sock.c290 struct inet_bind_hashbucket *head2; in inet_bhash2_addr_any_conflict() local
300 head2 = inet_bhash2_addr_any_hashbucket(sk, net, port); in inet_bhash2_addr_any_conflict()
302 spin_lock(&head2->lock); in inet_bhash2_addr_any_conflict()
304 inet_bind_bucket_for_each(tb2, &head2->chain) in inet_bhash2_addr_any_conflict()
310 spin_unlock(&head2->lock); in inet_bhash2_addr_any_conflict()
314 spin_unlock(&head2->lock); in inet_bhash2_addr_any_conflict()
329 struct inet_bind_hashbucket *head, *head2; in inet_csk_find_open_port() local
377 head2 = inet_bhashfn_portaddr(hinfo, sk, net, port); in inet_csk_find_open_port()
378 spin_lock(&head2->lock); in inet_csk_find_open_port()
379 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, sk); in inet_csk_find_open_port()
[all …]