Lines Matching refs:hash2
502 unsigned int hash2, slot2, slot = udp_hashfn(net, hnum, udptable->mask); in __udp4_lib_lookup() local
509 hash2 = udp4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup()
510 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup()
511 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
519 hash2 = udp4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __udp4_lib_lookup()
520 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup()
521 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
1678 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp4_lib_mcast_deliver() local
1684 hash2 = udp4_portaddr_hash(net, daddr, hnum) & udp_table.mask; in __udp4_lib_mcast_deliver()
1686 hslot = &udp_table.hash2[hash2]; in __udp4_lib_mcast_deliver()
1709 if (use_hash2 && hash2 != hash2_any) { in __udp4_lib_mcast_deliver()
1710 hash2 = hash2_any; in __udp4_lib_mcast_deliver()
1939 unsigned int hash2 = udp4_portaddr_hash(net, loc_addr, hnum); in __udp4_lib_demux_lookup() local
1940 unsigned int slot2 = hash2 & udp_table.mask; in __udp4_lib_demux_lookup()
1941 struct udp_hslot *hslot2 = &udp_table.hash2[slot2]; in __udp4_lib_demux_lookup()
2543 table->hash2 = table->hash + (table->mask + 1); in udp_table_init()
2550 INIT_HLIST_NULLS_HEAD(&table->hash2[i].head, i); in udp_table_init()
2551 table->hash2[i].count = 0; in udp_table_init()
2552 spin_lock_init(&table->hash2[i].lock); in udp_table_init()