Lines Matching refs:hash2
499 unsigned int hash2, slot2, slot = udp_hashfn(net, hnum, udptable->mask); in __udp4_lib_lookup() local
506 hash2 = udp4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup()
507 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup()
508 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
516 hash2 = udp4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __udp4_lib_lookup()
517 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup()
518 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
1667 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp4_lib_mcast_deliver() local
1673 hash2 = udp4_portaddr_hash(net, daddr, hnum) & udp_table.mask; in __udp4_lib_mcast_deliver()
1675 hslot = &udp_table.hash2[hash2]; in __udp4_lib_mcast_deliver()
1698 if (use_hash2 && hash2 != hash2_any) { in __udp4_lib_mcast_deliver()
1699 hash2 = hash2_any; in __udp4_lib_mcast_deliver()
1928 unsigned int hash2 = udp4_portaddr_hash(net, loc_addr, hnum); in __udp4_lib_demux_lookup() local
1929 unsigned int slot2 = hash2 & udp_table.mask; in __udp4_lib_demux_lookup()
1930 struct udp_hslot *hslot2 = &udp_table.hash2[slot2]; in __udp4_lib_demux_lookup()
2528 table->hash2 = table->hash + (table->mask + 1); in udp_table_init()
2535 INIT_HLIST_NULLS_HEAD(&table->hash2[i].head, i); in udp_table_init()
2536 table->hash2[i].count = 0; in udp_table_init()
2537 spin_lock_init(&table->hash2[i].lock); in udp_table_init()