Lines Matching full:hash2

676 	unsigned int hash2;  in __udp4_lib_lookup()  local
678 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup()
679 hslot2 = udp_hashslot2(udptable, hash2); in __udp4_lib_lookup()
711 hash2 = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __udp4_lib_lookup()
712 hslot2 = udp_hashslot2(udptable, hash2); in __udp4_lib_lookup()
2482 unsigned int hash2, hash2_any, offset; in __udp4_lib_mcast_deliver() local
2494 hash2 = 0; in __udp4_lib_mcast_deliver()
2502 hash2 = ipv4_portaddr_hash(net, daddr, hnum) & udptable->mask; in __udp4_lib_mcast_deliver()
2504 hslot = &udptable->hash2[hash2].hslot; in __udp4_lib_mcast_deliver()
2529 /* Also lookup *:port if we are using hash2 and haven't done so yet. */ in __udp4_lib_mcast_deliver()
2530 if (use_hash2 && hash2 != hash2_any) { in __udp4_lib_mcast_deliver()
2531 hash2 = hash2_any; in __udp4_lib_mcast_deliver()
2758 unsigned int hash2; in __udp4_lib_demux_lookup() local
2762 hash2 = ipv4_portaddr_hash(net, loc_addr, hnum); in __udp4_lib_demux_lookup()
2763 hslot2 = udp_hashslot2(udptable, hash2); in __udp4_lib_demux_lookup()
3400 struct udp_hslot *hslot2 = &udptable->hash2[state->bucket].hslot; in bpf_iter_udp_batch()
3686 table->hash2 = (void *)(table->hash + (table->mask + 1)); in udp_table_init()
3693 INIT_HLIST_HEAD(&table->hash2[i].hslot.head); in udp_table_init()
3694 table->hash2[i].hslot.count = 0; in udp_table_init()
3695 spin_lock_init(&table->hash2[i].hslot.lock); in udp_table_init()
3737 udptable->hash2 = (void *)(udptable->hash + hash_entries); in udp_pernet_table_alloc()
3746 INIT_HLIST_HEAD(&udptable->hash2[i].hslot.head); in udp_pernet_table_alloc()
3747 udptable->hash2[i].hslot.count = 0; in udp_pernet_table_alloc()
3748 spin_lock_init(&udptable->hash2[i].hslot.lock); in udp_pernet_table_alloc()