Lines Matching refs:hash2
487 unsigned int hash2, slot2, slot = udp_hashfn(net, hnum, udptable->mask); in __udp4_lib_lookup() local
494 hash2 = udp4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup()
495 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup()
496 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
504 hash2 = udp4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __udp4_lib_lookup()
505 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup()
506 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
1660 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp4_lib_mcast_deliver() local
1665 hash2 = udp4_portaddr_hash(net, daddr, hnum) & udp_table.mask; in __udp4_lib_mcast_deliver()
1667 hslot = &udp_table.hash2[hash2]; in __udp4_lib_mcast_deliver()
1689 if (use_hash2 && hash2 != hash2_any) { in __udp4_lib_mcast_deliver()
1690 hash2 = hash2_any; in __udp4_lib_mcast_deliver()
1917 unsigned int hash2 = udp4_portaddr_hash(net, loc_addr, hnum); in __udp4_lib_demux_lookup() local
1918 unsigned int slot2 = hash2 & udp_table.mask; in __udp4_lib_demux_lookup()
1919 struct udp_hslot *hslot2 = &udp_table.hash2[slot2]; in __udp4_lib_demux_lookup()
2536 table->hash2 = table->hash + (table->mask + 1); in udp_table_init()
2543 INIT_HLIST_NULLS_HEAD(&table->hash2[i].head, i); in udp_table_init()
2544 table->hash2[i].count = 0; in udp_table_init()
2545 spin_lock_init(&table->hash2[i].lock); in udp_table_init()