Home
last modified time | relevance | path

Searched refs:hash (Results 1476 - 1500 of 4274) sorted by relevance

1...<<51525354555657585960>>...171

/kernel/linux/linux-6.6/arch/mips/generic/
H A Dboard-serval.its.S10 hash {
H A Dboard-xilfpga.its.S9 hash {
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_tcpnotify.h15 __u8 hash; member
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_tcpnotify.h15 __u8 hash; member
/third_party/gn/src/base/
H A Dsha1.h16 static const size_t kSHA1Length = 20; // Length in bytes of a SHA-1 hash.
18 // Computes the SHA-1 hash of the input string |str| and returns the full
19 // hash.
22 // Computes the SHA-1 hash of the |len| bytes in |data| and puts the hash
23 // in |hash|. |hash| must be kSHA1Length bytes long.
24 void SHA1HashBytes(const unsigned char* data, size_t len, unsigned char* hash);
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/
H A Dnotify.c44 * hash-keys.
114 * Assumes that the stored obj includes its own hash-key in a field named 'key':
129 hash_for_each_possible((__ht), obj_, hash, k_) \
347 * @hash: The hlist_node used for collision handling
361 struct hlist_node hash; member
863 hash_add(ni->pending_events_handlers, &hndl->hash, hndl->key); in scmi_allocate_event_handler()
877 hash_del(&hndl->hash); in scmi_free_event_handler()
904 hash_del(&hndl->hash); in scmi_bind_event_handler()
908 &hndl->hash, hndl->key); in scmi_bind_event_handler()
1397 hash_for_each_safe(ni->pending_events_handlers, bkt, tmp, hndl, hash) { in scmi_protocols_late_init()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
H A Dxgmac.c286 /* Calculate the RX hash filter index of an Ethernet address */
289 int hash = 0, octet, bit, i = 0, c; in hash_hw_addr() local
293 hash ^= (c & 1) << i; in hash_hw_addr()
297 return hash; in hash_hw_addr()
323 int hash = hash_hw_addr(ha->addr); in t3_mac_set_rx_mode() local
325 if (hash < 32) in t3_mac_set_rx_mode()
326 hash_lo |= (1 << hash); in t3_mac_set_rx_mode()
328 hash_hi |= (1 << (hash - 32)); in t3_mac_set_rx_mode()
/kernel/linux/linux-5.10/fs/fat/
H A Dnamei_vfat.c117 * Compute the hash for the vfat name corresponding to the dentry.
118 * Note: if the name is invalid, we leave the hash code unchanged so
124 qstr->hash = full_name_hash(dentry, qstr->name, vfat_striptail_len(qstr)); in vfat_hash()
129 * Compute the hash for the vfat name corresponding to the dentry.
130 * Note: if the name is invalid, we leave the hash code unchanged so
139 unsigned long hash; in vfat_hashi() local
144 hash = init_name_hash(dentry); in vfat_hashi()
146 hash = partial_name_hash(nls_tolower(t, *name++), hash); in vfat_hashi()
147 qstr->hash in vfat_hashi()
[all...]
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Ddir.c152 /* Verify that we can look up this name by hash. */ in xchk_dir_actor()
158 /* ENOENT means the hash lookup failed and the dir is corrupt */ in xchk_dir_actor()
205 xfs_dahash_t hash; in xchk_dir_rec() local
216 /* Check the hash of the entry. */ in xchk_dir_rec()
221 /* Valid hash pointer? */ in xchk_dir_rec()
278 hash = be32_to_cpu(ent->hashval); in xchk_dir_rec()
287 if (calc_hash != hash) in xchk_dir_rec()
496 __u32 hash; in xchk_directory_leaf1_bestfree() local
543 /* Check hash value order, count stale entries. */ in xchk_directory_leaf1_bestfree()
545 hash in xchk_directory_leaf1_bestfree()
[all...]
/kernel/linux/linux-5.10/net/ceph/crush/
H A Dmapper.c19 # include <linux/crush/hash.h>
24 # include "hash.h"
88 s = crush_hash32_3(bucket->hash, x, bucket->id, 0) % in bucket_perm_choose()
113 i = crush_hash32_3(bucket->hash, x, bucket->id, p) % in bucket_perm_choose()
148 __u64 w = crush_hash32_4(bucket->h.hash, x, bucket->h.items[i], in bucket_list_choose()
210 t = (__u64)crush_hash32_4(bucket->h.hash, x, n, r, in bucket_tree_choose()
237 draw = crush_hash32_3(bucket->h.hash, x, bucket->h.items[i], r); in bucket_straw_choose()
340 u = crush_hash32_3(bucket->h.hash, x, ids[i], r); in bucket_straw2_choose()
886 * @x: hash input
/kernel/linux/linux-5.10/net/ipv4/netfilter/
H A Dipt_CLUSTERIP.c54 u_int32_t hash_initval; /* hash initialization */
387 clusterip_responsible(const struct clusterip_config *config, u_int32_t hash) in clusterip_responsible() argument
389 return test_bit(hash - 1, &config->local_nodes); in clusterip_responsible()
402 u_int32_t hash; in clusterip_tg() local
423 hash = clusterip_hashfn(skb, cipinfo->config); in clusterip_tg()
427 WRITE_ONCE(ct->mark, hash); in clusterip_tg()
444 pr_debug("hash=%u ct_hash=%u ", hash, READ_ONCE(ct->mark)); in clusterip_tg()
445 if (!clusterip_responsible(cipinfo->config, hash)) { in clusterip_tg()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
H A Dip_vs_proto_tcp.c12 * tcp_timeouts table has copy per netns in a hash table per
619 __u16 hash; in tcp_register_app() local
624 hash = tcp_app_hashkey(port); in tcp_register_app()
626 list_for_each_entry(i, &ipvs->tcp_apps[hash], p_list) { in tcp_register_app()
632 list_add_rcu(&inc->p_list, &ipvs->tcp_apps[hash]); in tcp_register_app()
654 int hash; in tcp_app_conn_bind() local
663 hash = tcp_app_hashkey(cp->vport); in tcp_app_conn_bind()
665 list_for_each_entry_rcu(inc, &ipvs->tcp_apps[hash], p_list) { in tcp_app_conn_bind()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_conntrack_standalone.c99 struct hlist_nulls_head *hash; member
114 hlist_nulls_first_rcu(&st->hash[st->bucket])); in ct_get_first()
133 hlist_nulls_first_rcu(&st->hash[st->bucket])); in ct_get_next()
156 nf_conntrack_get_ht(&st->hash, &st->htable_size); in __acquires()
296 struct nf_conntrack_tuple_hash *hash = v; in ct_seq_show() local
297 struct nf_conn *ct = nf_ct_tuplehash_to_ctrack(hash); in ct_seq_show()
312 if (NF_CT_DIRECTION(hash)) in ct_seq_show()
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Ddir.c107 /* Verify that we can look up this name by hash. */ in xchk_dir_actor()
109 /* ENOENT means the hash lookup failed and the dir is corrupt */ in xchk_dir_actor()
167 xfs_dahash_t hash; in xchk_dir_rec() local
178 /* Check the hash of the entry. */ in xchk_dir_rec()
183 /* Valid hash pointer? */ in xchk_dir_rec()
240 hash = be32_to_cpu(ent->hashval); in xchk_dir_rec()
249 /* Does the directory hash match? */ in xchk_dir_rec()
253 if (calc_hash != hash) in xchk_dir_rec()
463 __u32 hash; in xchk_directory_leaf1_bestfree() local
514 /* Check hash valu in xchk_directory_leaf1_bestfree()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/
H A Dxgmac.c286 /* Calculate the RX hash filter index of an Ethernet address */
289 int hash = 0, octet, bit, i = 0, c; in hash_hw_addr() local
293 hash ^= (c & 1) << i; in hash_hw_addr()
297 return hash; in hash_hw_addr()
323 int hash = hash_hw_addr(ha->addr); in t3_mac_set_rx_mode() local
325 if (hash < 32) in t3_mac_set_rx_mode()
326 hash_lo |= (1 << hash); in t3_mac_set_rx_mode()
328 hash_hi |= (1 << (hash - 32)); in t3_mac_set_rx_mode()
/kernel/linux/linux-6.6/net/ceph/crush/
H A Dmapper.c19 # include <linux/crush/hash.h>
24 # include "hash.h"
88 s = crush_hash32_3(bucket->hash, x, bucket->id, 0) % in bucket_perm_choose()
113 i = crush_hash32_3(bucket->hash, x, bucket->id, p) % in bucket_perm_choose()
148 __u64 w = crush_hash32_4(bucket->h.hash, x, bucket->h.items[i], in bucket_list_choose()
210 t = (__u64)crush_hash32_4(bucket->h.hash, x, n, r, in bucket_tree_choose()
237 draw = crush_hash32_3(bucket->h.hash, x, bucket->h.items[i], r); in bucket_straw_choose()
340 u = crush_hash32_3(bucket->h.hash, x, ids[i], r); in bucket_straw2_choose()
886 * @x: hash input
/kernel/linux/linux-6.6/net/netfilter/ipvs/
H A Dip_vs_proto_tcp.c12 * tcp_timeouts table has copy per netns in a hash table per
619 __u16 hash; in tcp_register_app() local
624 hash = tcp_app_hashkey(port); in tcp_register_app()
626 list_for_each_entry(i, &ipvs->tcp_apps[hash], p_list) { in tcp_register_app()
632 list_add_rcu(&inc->p_list, &ipvs->tcp_apps[hash]); in tcp_register_app()
654 int hash; in tcp_app_conn_bind() local
663 hash = tcp_app_hashkey(cp->vport); in tcp_app_conn_bind()
665 list_for_each_entry_rcu(inc, &ipvs->tcp_apps[hash], p_list) { in tcp_app_conn_bind()
/third_party/mesa3d/src/gallium/winsys/virgl/vtest/
H A Dvirgl_vtest_winsys.c420 unsigned hash = res->res_handle & (sizeof(cbuf->is_handle_added)-1); in virgl_vtest_lookup_res() local
423 if (cbuf->is_handle_added[hash]) { in virgl_vtest_lookup_res()
424 i = cbuf->reloc_indices_hashlist[hash]; in virgl_vtest_lookup_res()
430 cbuf->reloc_indices_hashlist[hash] = i; in virgl_vtest_lookup_res()
454 unsigned hash = res->res_handle & (sizeof(cbuf->is_handle_added)-1); in virgl_vtest_add_res() local
472 cbuf->is_handle_added[hash] = TRUE; in virgl_vtest_add_res()
474 cbuf->reloc_indices_hashlist[hash] = cbuf->cres; in virgl_vtest_add_res()
/third_party/libwebsockets/lib/tls/openssl/
H A Dopenssl-client.c733 uint8_t hash[32]; local
772 * For that reason, use a hash to fingerprint the context configuration
826 len = sizeof(hash);
827 EVP_DigestFinal_ex(mdctx, hash, &len);
836 if (!memcmp(hash, tcr->hash, len)) {
887 memcpy(tcr->hash, hash, len);
/third_party/python/Lib/
H A Ddataclasses.py279 'hash',
287 def __init__(self, default, default_factory, init, repr, hash, compare,
295 self.hash = hash
312 f'hash={self.hash!r},'
369 hash=None, compare=True, metadata=None, kw_only=MISSING):
376 object's repr(). If hash is true, the field will be included in the
377 object's hash(). If compare is true, the field will be used in
388 return Field(default, default_factory, init, repr, hash, compar
[all...]
/third_party/skia/third_party/externals/brotli/research/
H A Ddurchschlag.cc285 TextIdx hash = 0; in durchschlag_prepare() local
290 hash = (((hash << lShift) | (hash >> rShift)) & hashMask) ^ v; in durchschlag_prepare()
302 TextIdx bucket = (((hash << lShift) | (hash >> rShift)) & hashMask) ^ v; in durchschlag_prepare()
304 hash = bucket ^ (((v << lShiftX) | (v >> rShiftX)) & hashMask); in durchschlag_prepare()
/third_party/protobuf/src/google/protobuf/
H A Dmap_field.h802 struct hash<::PROTOBUF_NAMESPACE_ID::MapKey> { struct
812 return hash<std::string>()(map_key.GetStringValue()); in operator ()()
815 return hash<decltype(value)>()(value); in operator ()()
819 return hash<decltype(value)>()(map_key.GetInt32Value()); in operator ()()
823 return hash<decltype(value)>()(map_key.GetUInt64Value()); in operator ()()
827 return hash<decltype(value)>()(map_key.GetUInt32Value()); in operator ()()
830 return hash<bool>()(map_key.GetBoolValue()); in operator ()()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dbtree_benchmark.cc38 #include "absl/hash/hash.h"
442 #define STL_UNORDERED_TYPES_CUSTOM_HASH(value, hash) \
443 using stl_unordered_set_##value = std::unordered_set<value, hash>; \
444 using stl_unordered_map_##value = std::unordered_map<value, intptr_t, hash>; \
445 using flat_hash_set_##value = flat_hash_set<value, hash>; \
446 using flat_hash_map_##value = flat_hash_map<value, intptr_t, hash>; \
447 using stl_unordered_multiset_##value = std::unordered_multiset<value, hash>; \
449 std::unordered_multimap<value, intptr_t, hash>
/third_party/vk-gl-cts/modules/gles3/stress/
H A Des3sDrawTests.cpp598 deUint32 hash = spec.hash(); in init() local
600 hash = (hash << 2) ^ (deUint32)spec.attribs[attrNdx].hash(); in init()
602 if (insertedHashes.find(hash) == insertedHashes.end()) in init()
608 insertedHashes.insert(hash); in init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Ddpp_reconfig.c23 static void dpp_build_attr_csign_key_hash(struct wpabuf *msg, const u8 *hash) in dpp_build_attr_csign_key_hash() argument
25 if (hash) { in dpp_build_attr_csign_key_hash()
29 wpabuf_put_data(msg, hash, SHA256_MAC_LEN); in dpp_build_attr_csign_key_hash()
43 u8 hash[SHA256_MAC_LEN]; in dpp_build_reconfig_announcement() local
75 res = sha256_vector(1, addr, len, hash); in dpp_build_reconfig_announcement()
80 hash, SHA256_MAC_LEN); in dpp_build_reconfig_announcement()
101 dpp_build_attr_csign_key_hash(msg, hash); in dpp_build_reconfig_announcement()

Completed in 29 milliseconds

1...<<51525354555657585960>>...171