Lines Matching refs:hslot
293 struct udp_hslot *hslot2, *hslot = &udptable->hash[slot]; in __udp6_lib_lookup() local
298 if (hslot->count > 10) { in __udp6_lib_lookup()
302 if (hslot->count < hslot2->count) in __udp6_lib_lookup()
312 if (hslot->count < hslot2->count) in __udp6_lib_lookup()
325 sk_nulls_for_each_rcu(sk, node, &hslot->head) { in __udp6_lib_lookup()
790 struct udp_hslot *hslot = udp_hashslot(udptable, net, hnum); in __udp6_lib_mcast_deliver() local
793 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp6_lib_mcast_deliver()
801 hslot = &udp_table.hash2[hash2]; in __udp6_lib_mcast_deliver()
805 spin_lock(&hslot->lock); in __udp6_lib_mcast_deliver()
806 sk_nulls_for_each_entry_offset(sk, node, &hslot->head, offset) { in __udp6_lib_mcast_deliver()
825 spin_unlock(&hslot->lock); in __udp6_lib_mcast_deliver()