Lines Matching refs:hash2
470 unsigned int hash2, slot2, slot = udp_hashfn(net, hnum, udptable->mask); in __udp4_lib_lookup() local
477 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup()
478 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup()
479 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
488 hash2 = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __udp4_lib_lookup()
489 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup()
494 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
2040 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp4_lib_mcast_deliver() local
2050 hash2 = ipv4_portaddr_hash(net, daddr, hnum) & udptable->mask; in __udp4_lib_mcast_deliver()
2052 hslot = &udptable->hash2[hash2]; in __udp4_lib_mcast_deliver()
2080 if (use_hash2 && hash2 != hash2_any) { in __udp4_lib_mcast_deliver()
2081 hash2 = hash2_any; in __udp4_lib_mcast_deliver()
2290 unsigned int hash2 = ipv4_portaddr_hash(net, loc_addr, hnum); in __udp4_lib_demux_lookup() local
2291 unsigned int slot2 = hash2 & udp_table.mask; in __udp4_lib_demux_lookup()
2292 struct udp_hslot *hslot2 = &udp_table.hash2[slot2]; in __udp4_lib_demux_lookup()
2872 table->hash2 = table->hash + (table->mask + 1); in udp_table_init()
2879 INIT_HLIST_HEAD(&table->hash2[i].head); in udp_table_init()
2880 table->hash2[i].count = 0; in udp_table_init()
2881 spin_lock_init(&table->hash2[i].lock); in udp_table_init()