• Home
  • Raw
  • Download

Lines Matching refs:hslot2

170 				struct udp_hslot *hslot2,  in udp_lib_lport_inuse2()  argument
177 spin_lock(&hslot2->lock); in udp_lib_lport_inuse2()
178 udp_portaddr_for_each_entry(sk2, &hslot2->head) { in udp_lib_lport_inuse2()
196 spin_unlock(&hslot2->lock); in udp_lib_lport_inuse2()
234 struct udp_hslot *hslot, *hslot2; in udp_lib_get_port() local
289 hslot2 = udp_hashslot2(udptable, slot2); in udp_lib_get_port()
290 if (hslot->count < hslot2->count) in udp_lib_get_port()
293 exist = udp_lib_lport_inuse2(net, snum, hslot2, sk); in udp_lib_get_port()
295 hslot2 = udp_hashslot2(udptable, hash2_nulladdr); in udp_lib_get_port()
296 exist = udp_lib_lport_inuse2(net, snum, hslot2, in udp_lib_get_port()
325 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_get_port()
326 spin_lock(&hslot2->lock); in udp_lib_get_port()
330 &hslot2->head); in udp_lib_get_port()
333 &hslot2->head); in udp_lib_get_port()
334 hslot2->count++; in udp_lib_get_port()
335 spin_unlock(&hslot2->lock); in udp_lib_get_port()
435 struct udp_hslot *hslot2, in udp4_lib_lookup2() argument
443 udp_portaddr_for_each_entry_rcu(sk, &hslot2->head) { in udp4_lib_lookup2()
502 struct udp_hslot *hslot2; in __udp4_lib_lookup() local
507 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
512 hslot2, skb); in __udp4_lib_lookup()
533 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
537 hslot2, skb); in __udp4_lib_lookup()
1971 struct udp_hslot *hslot, *hslot2; in udp_lib_unhash() local
1975 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_unhash()
1985 spin_lock(&hslot2->lock); in udp_lib_unhash()
1987 hslot2->count--; in udp_lib_unhash()
1988 spin_unlock(&hslot2->lock); in udp_lib_unhash()
2002 struct udp_hslot *hslot, *hslot2, *nhslot2; in udp_lib_rehash() local
2004 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_rehash()
2008 if (hslot2 != nhslot2 || in udp_lib_rehash()
2017 if (hslot2 != nhslot2) { in udp_lib_rehash()
2018 spin_lock(&hslot2->lock); in udp_lib_rehash()
2020 hslot2->count--; in udp_lib_rehash()
2021 spin_unlock(&hslot2->lock); in udp_lib_rehash()
2503 struct udp_hslot *hslot2 = &udp_table.hash2[slot2]; in __udp4_lib_demux_lookup() local
2508 udp_portaddr_for_each_entry_rcu(sk, &hslot2->head) { in __udp4_lib_demux_lookup()