Home
last modified time | relevance | path

Searched refs:hash2 (Results 1 – 19 of 19) sorted by relevance

/linux-6.15/tools/testing/selftests/bpf/progs/
H A Drecursion.c22 } hash2 SEC(".maps");
36 if (map == (void *)&hash2) { in BPF_PROG()
38 bpf_map_delete_elem(&hash2, &key); in BPF_PROG()
/linux-6.15/fs/bcachefs/
H A Dstr_hash.c169 struct bch_hash_info hash2 = bch2_hash_info_init(c, &inode); in check_inode_hash_info_matches_root() local
170 if (hash_info->type != hash2.type || in check_inode_hash_info_matches_root()
171 memcmp(&hash_info->siphash_key, &hash2.siphash_key, sizeof(hash2.siphash_key))) { in check_inode_hash_info_matches_root()
180 hash2.type, in check_inode_hash_info_matches_root()
181 hash2.siphash_key.k0, in check_inode_hash_info_matches_root()
182 hash2.siphash_key.k1); in check_inode_hash_info_matches_root()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Drecursion.c29 bpf_map_delete_elem(bpf_map__fd(skel->maps.hash2), &key); in test_recursion()
31 bpf_map_delete_elem(bpf_map__fd(skel->maps.hash2), &key); in test_recursion()
/linux-6.15/net/netfilter/ipvs/
H A Dip_vs_mh.c65 hsiphash_key_t hash1, hash2; member
71 hsiphash_key_t *hash2) in generate_hash_secret() argument
76 hash2->key[0] = 2654446892UL; in generate_hash_secret()
77 hash2->key[1] = 2654446892UL; in generate_hash_secret()
147 dest->port, &s->hash2, 0) % in ip_vs_mh_permutate()
398 generate_hash_secret(&s->hash1, &s->hash2); in ip_vs_mh_init_svc()
/linux-6.15/net/ipv6/
H A Dinet6_hashtables.c211 unsigned int hash2; in inet6_lookup_listener() local
223 hash2 = ipv6_portaddr_hash(net, daddr, hnum); in inet6_lookup_listener()
224 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener()
233 hash2 = ipv6_portaddr_hash(net, &in6addr_any, hnum); in inet6_lookup_listener()
234 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener()
H A Dudp.c351 unsigned int hash2; in __udp6_lib_lookup() local
353 hash2 = ipv6_portaddr_hash(net, daddr, hnum); in __udp6_lib_lookup()
354 hslot2 = udp_hashslot2(udptable, hash2); in __udp6_lib_lookup()
387 hash2 = ipv6_portaddr_hash(net, &in6addr_any, hnum); in __udp6_lib_lookup()
388 hslot2 = udp_hashslot2(udptable, hash2); in __udp6_lib_lookup()
996 hslot = &udptable->hash2[hash2].hslot; in __udp6_lib_mcast_deliver()
1029 if (use_hash2 && hash2 != hash2_any) { in __udp6_lib_mcast_deliver()
1030 hash2 = hash2_any; in __udp6_lib_mcast_deliver()
1203 unsigned int hash2; in __udp6_lib_demux_lookup() local
1207 hash2 = ipv6_portaddr_hash(net, loc_addr, hnum); in __udp6_lib_demux_lookup()
[all …]
/linux-6.15/lib/tests/
H A Dhashtable_test.c23 DECLARE_HASHTABLE(hash2, 3); in hashtable_test_hash_init()
28 hash_init(hash2); in hashtable_test_hash_init()
31 KUNIT_EXPECT_TRUE(test, hash_empty(hash2)); in hashtable_test_hash_init()
/linux-6.15/net/ipv4/
H A Dudp.c684 unsigned int hash2; in __udp4_lib_lookup() local
686 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup()
687 hslot2 = udp_hashslot2(udptable, hash2); in __udp4_lib_lookup()
721 hslot2 = udp_hashslot2(udptable, hash2); in __udp4_lib_lookup()
2521 hslot = &udptable->hash2[hash2].hslot; in __udp4_lib_mcast_deliver()
2549 if (use_hash2 && hash2 != hash2_any) { in __udp4_lib_mcast_deliver()
2550 hash2 = hash2_any; in __udp4_lib_mcast_deliver()
2793 unsigned int hash2; in __udp4_lib_demux_lookup() local
2798 hslot2 = udp_hashslot2(udptable, hash2); in __udp4_lib_demux_lookup()
3702 table->hash2[i].hslot.count = 0; in udp_table_init()
[all …]
H A Dinet_hashtables.c435 unsigned int hash2; in __inet_lookup_listener() local
447 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __inet_lookup_listener()
448 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in __inet_lookup_listener()
457 hash2 = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __inet_lookup_listener()
458 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in __inet_lookup_listener()
/linux-6.15/include/net/
H A Dudp.h99 struct udp_hslot_main *hash2; member
122 return &table->hash2[hash & table->mask].hslot; in udp_hashslot2()
164 table->hash4 = (void *)(table->hash2 + (table->mask + 1)); in udp_table_hash4_init()
166 table->hash2[i].hash4_cnt = 0; in udp_table_hash4_init()
/linux-6.15/scripts/
H A Dget_dvb_firmware560 my $hash2 = "26b687136e127b8ac24b81e0eeafc20b";
571 verify($file2, $hash2);
704 my $hash2 = "d5e1437dc24358578e07999475d4cac9";
714 verify("$fwfile2", $hash2);
/linux-6.15/lib/zstd/compress/
H A Dzstd_preSplit.c34 FORCE_INLINE_TEMPLATE unsigned hash2(const void *p, unsigned hashLog) in hash2() function
65 fp->events[hash2(p+n, hashLog)]++; in addEvents_generic()
/linux-6.15/drivers/net/ethernet/intel/idpf/
H A Dvirtchnl2_lan_desc.h433 u8 hash2; member
H A Didpf_txrx.c2882 (rx_desc->ff2_mirrid_hash2.hash2 << 16) | in idpf_rx_hash()
/linux-6.15/net/unix/
H A Daf_unix.c226 unsigned int hash1, unsigned int hash2) in unix_table_double_lock() argument
228 if (hash1 == hash2) { in unix_table_double_lock()
233 if (hash1 > hash2) in unix_table_double_lock()
234 swap(hash1, hash2); in unix_table_double_lock()
237 spin_lock(&net->unx.table.locks[hash2]); in unix_table_double_lock()
241 unsigned int hash1, unsigned int hash2) in unix_table_double_unlock() argument
243 if (hash1 == hash2) { in unix_table_double_unlock()
249 spin_unlock(&net->unx.table.locks[hash2]); in unix_table_double_unlock()
/linux-6.15/fs/ext4/
H A Dnamei.c1916 u32 hash2; in do_split() local
1988 hash2 = map[split].hash; in do_split()
1989 continued = hash2 == map[split - 1].hash; in do_split()
1992 hash2, split, count-split)); in do_split()
2015 if (hinfo->hash >= hash2) { in do_split()
2019 dx_insert_block(frame, hash2 + continued, newblock); in do_split()
2561 unsigned hash2 = dx_get_hash(entries + icount1); in ext4_dx_add_entry() local
2586 dx_insert_block((frame - 1), hash2, newblock); in ext4_dx_add_entry()
/linux-6.15/drivers/net/ethernet/ti/
H A Dtlan.c1262 u32 hash2 = 0; in tlan_set_multicast_list() local
1294 hash2 |= (1 << (offset - 32)); in tlan_set_multicast_list()
1301 tlan_dio_write32(dev->base_addr, TLAN_HASH_2, hash2); in tlan_set_multicast_list()
/linux-6.15/drivers/net/ethernet/agere/
H A Det131x.c950 u32 hash2 = 0; in et1310_setup_device_for_multicast() local
974 hash2 |= (1 << result); in et1310_setup_device_for_multicast()
988 writel(hash2, &rxmac->multi_hash2); in et1310_setup_device_for_multicast()
/linux-6.15/Documentation/filesystems/
H A Dubifs-authentication.rst341 ,. CS , hash1.----. hash2.----.