Lines Matching refs:hslot2

168 				struct udp_hslot *hslot2,  in udp_lib_lport_inuse2()  argument
175 spin_lock(&hslot2->lock); in udp_lib_lport_inuse2()
176 udp_portaddr_for_each_entry(sk2, &hslot2->head) { in udp_lib_lport_inuse2()
194 spin_unlock(&hslot2->lock); in udp_lib_lport_inuse2()
232 struct udp_hslot *hslot, *hslot2; in udp_lib_get_port() local
287 hslot2 = udp_hashslot2(udptable, slot2); in udp_lib_get_port()
288 if (hslot->count < hslot2->count) in udp_lib_get_port()
291 exist = udp_lib_lport_inuse2(net, snum, hslot2, sk); in udp_lib_get_port()
293 hslot2 = udp_hashslot2(udptable, hash2_nulladdr); in udp_lib_get_port()
294 exist = udp_lib_lport_inuse2(net, snum, hslot2, in udp_lib_get_port()
323 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_get_port()
324 spin_lock(&hslot2->lock); in udp_lib_get_port()
328 &hslot2->head); in udp_lib_get_port()
331 &hslot2->head); in udp_lib_get_port()
332 hslot2->count++; in udp_lib_get_port()
333 spin_unlock(&hslot2->lock); in udp_lib_get_port()
433 struct udp_hslot *hslot2, in udp4_lib_lookup2() argument
441 udp_portaddr_for_each_entry_rcu(sk, &hslot2->head) { in udp4_lib_lookup2()
490 struct udp_hslot *hslot2; in __udp4_lib_lookup() local
495 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
500 hslot2, skb); in __udp4_lib_lookup()
521 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
525 hslot2, skb); in __udp4_lib_lookup()
2007 struct udp_hslot *hslot, *hslot2; in udp_lib_unhash() local
2011 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_unhash()
2021 spin_lock(&hslot2->lock); in udp_lib_unhash()
2023 hslot2->count--; in udp_lib_unhash()
2024 spin_unlock(&hslot2->lock); in udp_lib_unhash()
2038 struct udp_hslot *hslot, *hslot2, *nhslot2; in udp_lib_rehash() local
2040 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_rehash()
2044 if (hslot2 != nhslot2 || in udp_lib_rehash()
2053 if (hslot2 != nhslot2) { in udp_lib_rehash()
2054 spin_lock(&hslot2->lock); in udp_lib_rehash()
2056 hslot2->count--; in udp_lib_rehash()
2057 spin_unlock(&hslot2->lock); in udp_lib_rehash()
2544 struct udp_hslot *hslot2 = &udp_table.hash2[slot2]; in __udp4_lib_demux_lookup() local
2549 udp_portaddr_for_each_entry_rcu(sk, &hslot2->head) { in __udp4_lib_demux_lookup()