Lines Matching refs:hash2

477 	unsigned int hash2, slot2;  in __udp4_lib_lookup()  local
481 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup()
482 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup()
483 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
509 hash2 = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __udp4_lib_lookup()
510 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup()
511 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
2230 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp4_lib_mcast_deliver() local
2240 hash2 = ipv4_portaddr_hash(net, daddr, hnum) & udptable->mask; in __udp4_lib_mcast_deliver()
2242 hslot = &udptable->hash2[hash2]; in __udp4_lib_mcast_deliver()
2270 if (use_hash2 && hash2 != hash2_any) { in __udp4_lib_mcast_deliver()
2271 hash2 = hash2_any; in __udp4_lib_mcast_deliver()
2513 unsigned int hash2, slot2; in __udp4_lib_demux_lookup() local
2518 hash2 = ipv4_portaddr_hash(net, loc_addr, hnum); in __udp4_lib_demux_lookup()
2519 slot2 = hash2 & udptable->mask; in __udp4_lib_demux_lookup()
2520 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_demux_lookup()
3146 struct udp_hslot *hslot2 = &udptable->hash2[state->bucket]; in bpf_iter_udp_batch()
3403 table->hash2 = table->hash + (table->mask + 1); in udp_table_init()
3410 INIT_HLIST_HEAD(&table->hash2[i].head); in udp_table_init()
3411 table->hash2[i].count = 0; in udp_table_init()
3412 spin_lock_init(&table->hash2[i].lock); in udp_table_init()
3450 udptable->hash2 = udptable->hash + hash_entries; in udp_pernet_table_alloc()
3459 INIT_HLIST_HEAD(&udptable->hash2[i].head); in udp_pernet_table_alloc()
3460 udptable->hash2[i].count = 0; in udp_pernet_table_alloc()
3461 spin_lock_init(&udptable->hash2[i].lock); in udp_pernet_table_alloc()