Home
last modified time | relevance | path

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

/net/ipv4/
Dudp.c168 struct udp_hslot *hslot2, in udp_lib_lport_inuse2() argument
178 spin_lock(&hslot2->lock); in udp_lib_lport_inuse2()
179 udp_portaddr_for_each_entry(sk2, node, &hslot2->head) in udp_lib_lport_inuse2()
192 spin_unlock(&hslot2->lock); in udp_lib_lport_inuse2()
210 struct udp_hslot *hslot, *hslot2; in udp_lib_get_port() local
264 hslot2 = udp_hashslot2(udptable, slot2); in udp_lib_get_port()
265 if (hslot->count < hslot2->count) in udp_lib_get_port()
268 exist = udp_lib_lport_inuse2(net, snum, hslot2, in udp_lib_get_port()
271 hslot2 = udp_hashslot2(udptable, hash2_nulladdr); in udp_lib_get_port()
272 exist = udp_lib_lport_inuse2(net, snum, hslot2, in udp_lib_get_port()
[all …]
/net/ipv6/
Dudp.c203 struct udp_hslot *hslot2, unsigned int slot2) in udp6_lib_lookup2() argument
213 udp_portaddr_for_each_entry_rcu(sk, node, &hslot2->head) { in udp6_lib_lookup2()
263 struct udp_hslot *hslot2, *hslot = &udptable->hash[slot]; in __udp6_lib_lookup() local
271 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup()
272 if (hslot->count < hslot2->count) in __udp6_lib_lookup()
277 hslot2, slot2); in __udp6_lib_lookup()
281 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup()
282 if (hslot->count < hslot2->count) in __udp6_lib_lookup()
287 hslot2, slot2); in __udp6_lib_lookup()