Lines Matching refs:hslot2

179 				struct udp_hslot *hslot2,  in udp_lib_lport_inuse2()  argument
186 spin_lock(&hslot2->lock); in udp_lib_lport_inuse2()
187 udp_portaddr_for_each_entry(sk2, &hslot2->head) { in udp_lib_lport_inuse2()
205 spin_unlock(&hslot2->lock); in udp_lib_lport_inuse2()
243 struct udp_hslot *hslot, *hslot2; in udp_lib_get_port() local
298 hslot2 = udp_hashslot2(udptable, slot2); in udp_lib_get_port()
299 if (hslot->count < hslot2->count) in udp_lib_get_port()
302 exist = udp_lib_lport_inuse2(net, snum, hslot2, sk); in udp_lib_get_port()
304 hslot2 = udp_hashslot2(udptable, hash2_nulladdr); in udp_lib_get_port()
305 exist = udp_lib_lport_inuse2(net, snum, hslot2, in udp_lib_get_port()
334 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_get_port()
335 spin_lock(&hslot2->lock); in udp_lib_get_port()
339 &hslot2->head); in udp_lib_get_port()
342 &hslot2->head); in udp_lib_get_port()
343 hslot2->count++; in udp_lib_get_port()
344 spin_unlock(&hslot2->lock); in udp_lib_get_port()
433 struct udp_hslot *hslot2, in udp4_lib_lookup2() argument
442 udp_portaddr_for_each_entry_rcu(sk, &hslot2->head) { in udp4_lib_lookup2()
471 struct udp_hslot *hslot2, *hslot = &udptable->hash[slot]; in __udp4_lib_lookup() local
479 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
480 if (hslot->count < hslot2->count) in __udp4_lib_lookup()
485 exact_dif, hslot2, skb); in __udp4_lib_lookup()
494 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
495 if (hslot->count < hslot2->count) in __udp4_lib_lookup()
500 exact_dif, hslot2, skb); in __udp4_lib_lookup()
1790 struct udp_hslot *hslot, *hslot2; in udp_lib_unhash() local
1794 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_unhash()
1804 spin_lock(&hslot2->lock); in udp_lib_unhash()
1806 hslot2->count--; in udp_lib_unhash()
1807 spin_unlock(&hslot2->lock); in udp_lib_unhash()
1821 struct udp_hslot *hslot, *hslot2, *nhslot2; in udp_lib_rehash() local
1823 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_rehash()
1827 if (hslot2 != nhslot2 || in udp_lib_rehash()
1836 if (hslot2 != nhslot2) { in udp_lib_rehash()
1837 spin_lock(&hslot2->lock); in udp_lib_rehash()
1839 hslot2->count--; in udp_lib_rehash()
1840 spin_unlock(&hslot2->lock); in udp_lib_rehash()
2292 struct udp_hslot *hslot2 = &udp_table.hash2[slot2]; in __udp4_lib_demux_lookup() local
2297 udp_portaddr_for_each_entry_rcu(sk, &hslot2->head) { in __udp4_lib_demux_lookup()