Lines Matching refs:hslot2

176 				struct udp_hslot *hslot2,  in udp_lib_lport_inuse2()  argument
183 spin_lock(&hslot2->lock); in udp_lib_lport_inuse2()
184 udp_portaddr_for_each_entry(sk2, &hslot2->head) { in udp_lib_lport_inuse2()
202 spin_unlock(&hslot2->lock); in udp_lib_lport_inuse2()
241 struct udp_hslot *hslot, *hslot2; in udp_lib_get_port() local
295 hslot2 = udp_hashslot2(udptable, slot2); in udp_lib_get_port()
296 if (hslot->count < hslot2->count) in udp_lib_get_port()
299 exist = udp_lib_lport_inuse2(net, snum, hslot2, sk); in udp_lib_get_port()
301 hslot2 = udp_hashslot2(udptable, hash2_nulladdr); in udp_lib_get_port()
302 exist = udp_lib_lport_inuse2(net, snum, hslot2, in udp_lib_get_port()
331 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_get_port()
332 spin_lock(&hslot2->lock); in udp_lib_get_port()
336 &hslot2->head); in udp_lib_get_port()
339 &hslot2->head); in udp_lib_get_port()
340 hslot2->count++; in udp_lib_get_port()
341 spin_unlock(&hslot2->lock); in udp_lib_get_port()
441 struct udp_hslot *hslot2, in udp4_lib_lookup2() argument
449 udp_portaddr_for_each_entry_rcu(sk, &hslot2->head) { in udp4_lib_lookup2()
498 struct udp_hslot *hslot2; in __udp4_lib_lookup() local
503 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
508 hslot2, skb); in __udp4_lib_lookup()
529 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
533 hslot2, skb); in __udp4_lib_lookup()
2009 struct udp_hslot *hslot, *hslot2; in udp_lib_unhash() local
2013 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_unhash()
2023 spin_lock(&hslot2->lock); in udp_lib_unhash()
2025 hslot2->count--; in udp_lib_unhash()
2026 spin_unlock(&hslot2->lock); in udp_lib_unhash()
2040 struct udp_hslot *hslot, *hslot2, *nhslot2; in udp_lib_rehash() local
2042 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_rehash()
2046 if (hslot2 != nhslot2 || in udp_lib_rehash()
2055 if (hslot2 != nhslot2) { in udp_lib_rehash()
2056 spin_lock(&hslot2->lock); in udp_lib_rehash()
2058 hslot2->count--; in udp_lib_rehash()
2059 spin_unlock(&hslot2->lock); in udp_lib_rehash()
2567 struct udp_hslot *hslot2; in __udp4_lib_demux_lookup() local
2573 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_demux_lookup()
2576 udp_portaddr_for_each_entry_rcu(sk, &hslot2->head) { in __udp4_lib_demux_lookup()