Home
last modified time | relevance | path

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

/linux/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/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/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/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()
985 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp6_lib_mcast_deliver() local
994 hash2 = ipv6_portaddr_hash(net, daddr, hnum) & udptable->mask; in __udp6_lib_mcast_deliver()
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()
[all …]
/linux/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/lib/
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/net/ipv4/
H A Dudp.c685 unsigned int hash2; in __udp4_lib_lookup() local
687 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup()
688 hslot2 = udp_hashslot2(udptable, hash2); in __udp4_lib_lookup()
721 hash2 = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __udp4_lib_lookup()
722 hslot2 = udp_hashslot2(udptable, hash2); in __udp4_lib_lookup()
2504 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp4_lib_mcast_deliver() local
2514 hash2 = ipv4_portaddr_hash(net, daddr, hnum) & udptable->mask; in __udp4_lib_mcast_deliver()
2516 hslot = &udptable->hash2[hash2].hslot; in __udp4_lib_mcast_deliver()
2544 if (use_hash2 && hash2 != hash2_any) { in __udp4_lib_mcast_deliver()
2545 hash2 = hash2_any; in __udp4_lib_mcast_deliver()
[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/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/scripts/
H A Dget_dvb_firmware560 my $hash2 = "26b687136e127b8ac24b81e0eeafc20b";
571 verify($file2, $hash2);
704 my $hash2 = "d5e1437dc24358578e07999475d4cac9";
714 verify("$fwfile2", $hash2);
/linux/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/net/unix/
H A Daf_unix.c235 unsigned int hash1, unsigned int hash2) in unix_table_double_lock() argument
237 if (hash1 == hash2) { in unix_table_double_lock()
242 if (hash1 > hash2) in unix_table_double_lock()
243 swap(hash1, hash2); in unix_table_double_lock()
246 spin_lock(&net->unx.table.locks[hash2]); in unix_table_double_lock()
250 unsigned int hash1, unsigned int hash2) in unix_table_double_unlock() argument
252 if (hash1 == hash2) { in unix_table_double_unlock()
258 spin_unlock(&net->unx.table.locks[hash2]); in unix_table_double_unlock()
/linux/fs/ext4/
H A Dnamei.c1940 u32 hash2; in do_split() local
2012 hash2 = map[split].hash; in do_split()
2013 continued = hash2 == map[split - 1].hash; in do_split()
2016 hash2, split, count-split)); in do_split()
2039 if (hinfo->hash >= hash2) { in do_split()
2043 dx_insert_block(frame, hash2 + continued, newblock); in do_split()
2584 unsigned hash2 = dx_get_hash(entries + icount1); in ext4_dx_add_entry() local
2607 dx_insert_block((frame - 1), hash2, newblock); in ext4_dx_add_entry()
/linux/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/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/Documentation/filesystems/
H A Dubifs-authentication.rst341 ,. CS , hash1.----. hash2.----.